Bug 377187

Summary: multiscreen behavior settings dont work
Product: [Plasma] kwin Reporter: Bronson <bronsonmathews>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.9.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bronson 2017-03-04 05:38:14 UTC
Setting multiscreen behavior (window actions & behaviors > active screen follows mouse) doesnt work. My applications keep opening on the secondary screen, which is not where my mouse is.

Also, is there anyway to force all applications to load on the primary display?

I think a part of the issue may be the I have my secondary monitor on the left instead of the default right. This looks to play havoc with the kde window manager...
Comment 1 Martin Flöser 2017-03-05 06:48:08 UTC
That setting is unfortunately only for Windows not providing a 
positioning hint. Many applications do and the window manager is 
supposed to follow that hint - even if it is nonsense.

You have to report to the misbehaving applications.
Comment 2 Bronson 2017-03-05 07:25:13 UTC
misbehaving applications are everything, but so far the ones ive tested:

KDE Displays app
firefox
Dolphin
thunderbird
blender
krita
kdesvn
steam
inkscape
vlc
libreoffice
KDE system settings
...
Comment 3 Bronson 2017-03-05 08:23:48 UTC
ok ive found a work around for the issue!

What I do is:
1. enable the second screen from the display dialog (by default its on the right)
 At this point the behavior is correct, applications still open on the primary (left) screen.

2. move the secondary display to the left of the primary by drag and drop
 At this point the behavior breaks, the left screen becomes the primary, like the setting is no updating.

3. This is the hacky fix. Set the left screen now as the primary screen. The behavior is now "correct" but then we set the main screen (right) back to primary and now it has been fixed! All windows and applications are working and opening on the primary (right) screen!

So I guess that the primary screen flag needs to be reset if you move the screens from one side to the other...