Summary: | When brush editor is moved to secondary monitor, closedm and opened again, it returns to default position. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | rebuilderster |
Component: | Dockers | Assignee: | Alvin Wong <alvin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alvin |
Priority: | NOR | ||
Version: | 5.0.0-beta1 | ||
Target Milestone: | --- | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/8364b656d3b1c8be50afa2830d121f823473cea5 | Version Fixed In: | |
Sentry Crash Report: |
Description
rebuilderster
2021-09-03 06:43:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1032 Git commit f9476b105f37702b73e24ae7d2026b3c7ea8b127 by Dmitry Kazakov, on behalf of Alvin Wong. Committed on 05/09/2021 at 10:37. Pushed by dkazakov into branch 'master'. Use QScreen from QWindow to handle KisPopupButton positioning This fixes two issues: - Explicitly setting screen before showing to ensure the correct devicePixelRatio scaling. - For detached brush editor, use the screen it was previously moved to instead of forcing it to be shown on the same screen the main window is displayed. M +27 -4 libs/widgetutils/KisPopupButton.cpp https://invent.kde.org/graphics/krita/commit/f9476b105f37702b73e24ae7d2026b3c7ea8b127 Git commit 8364b656d3b1c8be50afa2830d121f823473cea5 by Alvin Wong. Committed on 05/09/2021 at 11:10. Pushed by alvinwong into branch 'krita/5.0'. Use QScreen from QWindow to handle KisPopupButton positioning This fixes two issues: - Explicitly setting screen before showing to ensure the correct devicePixelRatio scaling. - For detached brush editor, use the screen it was previously moved to instead of forcing it to be shown on the same screen the main window is displayed. (cherry picked from commit f9476b105f37702b73e24ae7d2026b3c7ea8b127) M +27 -4 libs/widgetutils/KisPopupButton.cpp https://invent.kde.org/graphics/krita/commit/8364b656d3b1c8be50afa2830d121f823473cea5 |