Bug 416556

Summary: Application window is displaying on not working currently display
Product: [Plasma] kwin Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate, piotr.mierzwinski, plasma-bugs
Priority: NOR    
Version: 5.18.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: kscreen configuration for 2 displays

Description Piotr Mierzwinski 2020-01-21 22:30:53 UTC
SUMMARY
I have multi display configuration. Both are connected via HDMI.
Main is monitor and second is projector (usually turned off, but Plasma remembers it). I'm working on X11 session.

I logged in into my session and after some time I switched to another user (this user has mostly default configuration, for example desktop is not restored and has one desktop - no any virtual ones - got only different theme. Therefore I got empty desktop with no one application running (placed on task bar). I run System Setting (pined on task bar) and saw only marker this application placed on task bar, when I clicked into it I saw like it is raising on second not currently visible display. I clicked second time and application has been minimized.
The same activity I did on application placed on System Tray. It was panac-manager (gtk+ app.) and like for previous application also here its window appeared on not currently working display so invisible display.

Please notice that there is not easy way to get this application on main display, only I can use option "Move" and blindly catch window of this application on second display. Would be useful to have option: "move to display X" after clicking into marker placed in task bar. I reported this several months ago.

STEPS TO REPRODUCE
1. Log in into your session
2. Switch into another user
3. Run System Settings (pined on task bar)

OBSERVED RESULT
System Settings appears on not currently working so invisible display

EXPECTED RESULT
System Settings should appear on main display, currently working and visible, this one what just working on

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66
Qt Version: 5.14

ADDITIONAL INFORMATION
Comment 1 Piotr Mierzwinski 2020-01-21 22:31:42 UTC
Created attachment 125291 [details]
kscreen configuration for 2 displays
Comment 2 Kai Uwe Broulik 2020-01-22 08:02:49 UTC
Not sure where to assign this but surely not Notifications.
Comment 3 Nate Graham 2020-01-22 16:33:28 UTC
KWin is responsible for window positioning on multi-display setups; moving there.
Comment 4 Piotr Mierzwinski 2020-05-06 17:40:15 UTC
To be honest main monitor is connected via adapter: DVI (in PC)-> HDMI (in monitor).
Comment 5 David Edmundson 2023-09-06 10:39:04 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.