Bug 399164 - Text color popup dialogue appears on the wrong monitor on certain multi-screen settings
Summary: Text color popup dialogue appears on the wrong monitor on certain multi-scree...
Status: RESOLVED DUPLICATE of bug 399347
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-28 00:49 UTC by Tyson Tan
Modified: 2018-10-09 12:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Krita text color popup on the wrong monitor (438.03 KB, image/png)
2018-09-28 00:49 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2018-09-28 00:49:43 UTC
Created attachment 115280 [details]
Krita text color popup on the wrong monitor

SUMMARY
The Text Color popup dialogue in Krita's Text Tool dialogue appears on the wrong monitor on certain multi-screen settings. Tested on krita-4.2.0-pre-alpha-d7d75a8-x86_64.appimage.

STEPS TO REPRODUCE
1. 2 screen setup, vertical alignment. Krita's window on the bottom screen.
2. Start text tool, click the right-most droplist triangle on the toolbar on the right of the text color square.
3.

OBSERVED RESULT
The popup Text Color dialogue appears above the text color square. As a result, it is being relocated on the top screen instead of Krita's current screen. This is very confusing as we expect it to appear inside Krita's workspace. It can be alleviated by manually moving the Text dialogue lower, but every time a new text dialogue appears this happens again.

EXPECTED RESULT
The popup Text Color dialogue should appear below the text color square; or the Text dialogue itself appears lower by default, instead of its current alignment of the top-left corner of Krita's window. In this way, we can ensure the Text Color popup always falls inside Krita's current window.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dmitry Kazakov 2018-10-03 12:22:02 UTC
Weird, we use standard Qt's QMenu for that... I wonder why it uses screen migration algorithm...
Comment 2 Tyson Tan 2018-10-04 02:49:52 UTC
(In reply to Dmitry Kazakov from comment #1)
> Weird, we use standard Qt's QMenu for that... I wonder why it uses screen
> migration algorithm...

From what I've just tested:

On Windows, the dialogue seems to popup in the center of Krita's Window, or somewhere close to the created text block. But on KDE Plasma 5, it always pops up at the top-left corner of Krita's Window.

...Is this another one of those KDE Plasma specific bugs like BUG 399165 ?
Comment 3 Halla Rempt 2018-10-09 12:43:13 UTC
*** This bug has been marked as a duplicate of bug 399347 ***