| Summary: | About dialog of Elisa does not locate in the center of the parent window | ||
|---|---|---|---|
| Product: | [Applications] Elisa | Reporter: | Fushan Wen <qydwhotmail> |
| Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | empyreal, ilija.tovilo, jackhill3103, nate |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/elisa/-/commit/f75207a949a7fd8346d40bd1dc132e1a14910591 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Fushan Wen
2021-07-12 11:08:43 UTC
Problem is at https://invent.kde.org/multimedia/elisa/-/blob/master/src/elisaapplication.cpp#L284, if you want to submit a merge request to fix it. :) (In reply to Nate Graham from comment #1) > Problem is at > https://invent.kde.org/multimedia/elisa/-/blob/master/src/elisaapplication. > cpp#L284, if you want to submit a merge request to fix it. :) It seems it's impossible to set a QtQuick window as the parent of a QtWidget window. So Kirigami style about page should be used. Yes, that would be a good option. *** Bug 441250 has been marked as a duplicate of this bug. *** The same issue occurs for "Configure Elisa...", "Configure Keyboard Shortcuts...", and "Report Bug..." all in the hamburger menu. "Configure Elisa..." opens a window in the corners of the screen as if it were a separate app being launched, while the others open in the centre of the screen. Is `QApplication::activeWindow()` an option for the "About Elisa" and "Report Bug..."? That seems to work fine. "Configure Elisa..." uses a `QQmlComponent`, I couldn't find an option to set the parent window here. Similarly, "Elisa Handbook" calls `QDesktopServices::openUrl()` where setting a parent window doesn't seem possible. A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/536 A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/547 Git commit f75207a949a7fd8346d40bd1dc132e1a14910591 by Jack Hill, on behalf of Benedikt Thiemer. Committed on 04/02/2024 at 12:35. Pushed by jackh into branch 'master'. Refactor "About Elisa" dialog to use Kirigami Addons M +1 -14 src/elisaapplication.cpp M +2 -2 src/elisaapplication.h M +4 -0 src/main.cpp M +25 -6 src/qml/ElisaMainWindow.qml https://invent.kde.org/multimedia/elisa/-/commit/f75207a949a7fd8346d40bd1dc132e1a14910591 |