Bug 334498 - Panel struts are not being set in multiscreen
Summary: Panel struts are not being set in multiscreen
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks: 328593
  Show dependency treegraph
 
Reported: 2014-05-08 09:30 UTC by Martin Klapetek
Modified: 2014-05-08 13:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.