[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 233542] New: plasma panel not resizing properly when monitors
From:       "Jason 'vanRijn' Kasper" <vR () movingparts ! net>
Date:       2010-04-06 20:03:46
Message-ID: bug-233542-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: plasma panel not resizing properly when monitors are
                    added/removed
           Product: plasma
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: plasma-bugs@kde.org
        ReportedBy: vR@movingparts.net


Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    openSUSE RPMs

This was found during internal QA testing with OpenSUSE 11.2 guest at VMware.
Internal bug #538890.

Here's the condensed repro steps, but see below for some additional
diagnostics:

- start KDE and Plasma on the right hand monitor, at 1024x768 resolution (only
one head/screen active at this point)
- change the resolution of the right hand monitor from 1024x768 to 1600x1200
- add a monitor to the left of the primary monitor so that you now have 2
heads, each @ 1600x1200, with the primary monitor being the one on the right
still
- remove the secondary, left monitor so that there's only one head active (the
primary, right one)
- change the resolution of the primary monitor back to 1024x768
- observe that although plasma is still active and running and responds to
mouse clicks, etc., it has not resized its desktop size from 1600x1200 to
1024x768 and you therefore cannot see the bottom panel.

Additional/extended triage:

Host topology:
Left monitor: 1600x1200 @ -1600,0
Right monitor (primary): 1600x1200 @ 0,0

==== Test 1: The bug does not repro ====

~~~~~ Starting from the left monitor ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1024x768 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 1024x768 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x180009c "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1024
  Height: 768
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutputColormap: 0x20 (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+0 -0+0 -0-0 +0-0
  -geometry 1024x768+0+0

~~~~~ Change resolution on the left monitor ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1600x1200 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 1600x1200 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x180009c "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1600
  Height: 1200
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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+0 -0+0 -0-0 +0-0
  -geometry 1600x1200+0+0

~~~~~ On both monitors ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1600x1200 @ 0,0
  head #1: 1600x1200 @ 1600,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 3200x1200 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x180009c "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1600
  Height: 1200
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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+0 -1600+0 -1600-0 +0-0
  -geometry 1600x1200+0+0

~~~~~ Returned to one monitor on the left monitor and resize to 1024x768 ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1024x768 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 1024x768 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x180009c "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1024
  Height: 768
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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+0 -0+0 -0-0 +0-0
  -geometry 1024x768+0+0

===== Test 2: The bug does repro =====

~~~~~ Staring from the right monitor ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1024x768 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 1024x768 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x1e0009c "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1024
  Height: 768
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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+0 -0+0 -0-0 +0-0
  -geometry 1024x768+0+0

~~~~~ Change resolution on the right monitor ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1600x1200 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 1600x1200 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x1e0009c "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1600
  Height: 1200
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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+0 -0+0 -0-0 +0-0
  -geometry 1600x1200+0+0

~~~~~ Add second monitor to the left of primary ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1600x1200 @ 1600,0
  head #1: 1600x1200 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 3200x1200 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x1e0009c "plasma-desktop"

  Absolute upper-left X: 1600
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1600
  Height: 1200
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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: +1600+0 -0+0 -0-0 +1600-0
  -geometry 1600x1200-0+0

~~~~~ Remove secondary, left monitor and resize back to 1024x768 on the right
monitor ~~~~~

user@linux-mwym:~> xdpyinfo -ext XINERAMA|tail
XINERAMA version 1.0 opcode: 129
  head #0: 1024x768 @ 0,0

user@linux-mwym:~> xdpyinfo |grep dimension
  dimensions: 1024x768 pixels (212x159 millimeters)

user@linux-mwym:~> xwininfo

xwininfo: Window id: 0x1e00093 "plasma-desktop"

  Absolute upper-left X: 0
  Absolute upper-left Y: 0
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1600
  Height: 1200
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (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+0 --576+0 --576--432 +0--432
  -geometry 1600x1200+0+0

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic