This gets rid of the runtime warning QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings when clicking on a link in the Welcome page that opens a new browser window, and also fixes the Welcome page getting black in that case.
Build digikam with QtWebEngine.
Open the Welcome page, click on "documentation" or "digiKam homepage" in "About".
Before, the runtime warning was displayed in the shell and the Welcome page became completely black as soon as the new window opened.
Now neither of both happens.
Note : you patch the digiKam main(). Showfoto main() need also to be patched as it can show the Geolocation view in GoogleMaps mode.
Anyway, if GoogleMaps view work fine with this patch, I don't have any objection to apply it to git/master (with Showfoto patch included of course).
Yes, that still works fine, but it wasn't affected before either.
Showfoto doesn't show the Welcome page (or does it?), and so the problem this is supposed to fix doesn't occur there (AFAICT).
I just tried to open Help->Online Documentation (which opens a browser window too) while having the GeoLocation view open. No problem whatsoever (with or without the patch).
No, welcome page view is not present in Showfoto. Only the geolocation view. So the patch must be applied too to Showfoto::main().
Please update the patch and apply it to git/master.
Yes, but the geolocation view doesn't have that problem, only the welcome page view is affected for some reason.
But ok, I updated the patch to also modify showfoto.
@mqualmann: If you do find a different/better solution, that's fine with me of course.
I'll just leave this differential open for now.
Close with REVIEW: D17276 was not successful.
remote: ERROR - Communication problem with Reviewboard. Please contact the KDE sysadmins.
remote: INFO - Please report the following:
remote: INFO - Request URL: https://git.reviewboard.kde.org/api/review-requests/17276/
remote: INFO - Status code: 404