Bug 485662

Summary: CI: Warning: "Release of profile requested but WebEnginePage still not deleted. Expect troubles !"
Product: [Frameworks and Libraries] alkimia Reporter: Ralf Habacker <ralf.habacker>
Component: CIAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: ASSIGNED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ralf Habacker 2024-04-17 07:18:07 UTC
SUMMARY
When running tests in relation with the QWebEngine, a warning is displayed that some resources will not be deleted.

STEPS TO REPRODUCE
1. Inspect https://invent.kde.org/office/alkimia/-/jobs/1740159#L1034

OBSERVED RESULT
********* Finished testing of AlkDownloadEngineTest *********
Release of profile requested but WebEnginePage still not deleted. Expect troubles !

EXPECTED RESULT
The warning should not appear.
Comment 1 Bug Janitor Service 2024-04-17 07:23:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/alkimia/-/merge_requests/36
Comment 2 Ralf Habacker 2024-04-21 13:18:52 UTC
Git commit b9b810fdd233a22b26a0549adeee8993347b1e4c by Ralf Habacker.
Committed on 21/04/2024 at 12:41.
Pushed by habacker into branch 'master'.

Life cycle of the instance of the AlkWebView/AlkWebPage class improved

The creation of instances of the AlkWebView and AlkWebPage classes has
been moved out of the AlkOnlineProfileManager in order to have more
control over the life cycle.

The AlkOnlineProfileManager class now only contains pointers to
corresponding instances that must be set externally.

M  +1    -1    src/alkonlinequote_p.cpp
M  +16   -6    src/alkonlinequotesprofilemanager.cpp
M  +34   -0    src/alkonlinequotesprofilemanager.h
M  +24   -8    src/alkonlinequoteswidget.cpp
M  +4    -0    src/alkwebpage.cpp
M  +4    -0    src/alkwebview.cpp

https://invent.kde.org/office/alkimia/-/commit/b9b810fdd233a22b26a0549adeee8993347b1e4c
Comment 3 Bug Janitor Service 2024-04-21 13:49:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/alkimia/-/merge_requests/37
Comment 4 Ralf Habacker 2024-04-21 14:41:21 UTC
Git commit 72ef78f3307aea87f08ad1f6440f33607f93dc6f by Ralf Habacker.
Committed on 21/04/2024 at 13:48.
Pushed by habacker into branch 'master'.

CI: install and use local webserver on unix os builds

This could help to avoid problems when downloading external URLs, as
firewalls or intrusion detecting systems could block requests.
Related: bug 459128, bug 485896

M  +11   -6    .gitlab-ci.yml
M  +63   -12   tools/ci-build.sh
M  +12   -0    tools/ci-install.sh

https://invent.kde.org/office/alkimia/-/commit/72ef78f3307aea87f08ad1f6440f33607f93dc6f