https://bugs.kde.org/show_bug.cgi?id=362887

            Bug ID: 362887
           Summary: Panel doesn't update struts on resize
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: [email protected]
          Reporter: [email protected]

When the panel gets resized the _NET_WM_STRUT_PARTIAL does not get updated. It
is still on the old size resulting in KWin ignoring the strut completely.

xwininfo of panel window prior to resize:
xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1400067 "Plasma"

  Absolute upper-left X:  0
  Absolute upper-left Y:  1040
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1920
  Height: 40
  Depth: 32
  Visual: 0x70
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1400066 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+1040  -1280+1040  -1280-0  +0-0
  -geometry 1920x40+0-0

struts for that window:
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 40
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 1919

Observer: the strut size is the same as panel height.

After resize:
xwininfo: Window id: 0x1400067 "Plasma"

  Absolute upper-left X:  0
  Absolute upper-left Y:  1032
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1920
  Height: 48
  Depth: 32
  Visual: 0x70
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1400066 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+1032  -1280+1032  -1280-0  +0-0
  -geometry 1920x48+0-

But struts are still:
_NET_WM_STRUT(CARDINAL) = 0, 0, 0, 40
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 1919

Expected would be an adjusted height to 48

A horizontal resize also doesn't update the strut!

Reproducible: Always

Steps to Reproduce:
1. Resize panel

Actual Results:  
struts updated according to new panel size

Expected Results:  
Struts not updated

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to