Bug 334498

Summary: Panel struts are not being set in multiscreen
Product: [Plasma] plasmashell Reporter: Martin Klapetek <mklapetek>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 328593    

Description Martin Klapetek 2014-05-08 09:30:30 UTC
After the kscreen merge, panel struts are always 0 here, meaning that windows always go below panel. The struts are nulled only in multiscreen setups so it's definitely related (see panelview.cpp updateStruts()).

Might also be related to this line in plasma-shell output:

ShellCorona::screenInvariants: error: couldn't find primary output KScreen::Output(Id: 638 , Name: "DVI-I-0" )

Indeed it seems I don't have a primary screen set, but that should not break things.
Comment 1 Martin Klapetek 2014-05-08 09:32:56 UTC
This can also be checked by using xprop tool on the panel where it currently returns

_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Comment 2 Martin Klapetek 2014-05-08 13:12:28 UTC
Turns out my config somehow got the "Windows go below" setting turned on, which seems to be the cause of this.

Deleting config files and trying with empty one shows it's working correctly. My bad.