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

            Bug ID: 406866
           Summary: Windows rearranged when coming back from power save
           Product: plasmashell
           Version: 5.12.7
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Multi-screen support
          Assignee: aleix...@kde.org
          Reporter: john+kde_...@daaave.org
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY
=======

When I wake my screens back up from power save, some of the windows are
rearranged/resized.  It's not quite 100% predictable, but there definitely
seems to be a pattern.

DISPLAY LAYOUT
--------------

I have four monitors arranged horizontally, number 1-4 from left to right:

#1 is a DisplayPort 4K display in portrait
#2 is a DisplayPort 4K display in landscape
#3 is a DisplayPort 4K display in landscape [primary, contains the panel]
#4 is a DVI-D 1920x1200 display in landscape

SYMPTOMS
--------

When the screens wake back up, the following things are always (or very nearly
always) true:

1. If Yakuake was open when the screens turned off, it has been relocated to #4
(I only ever open it on #2/#3)
2. The second Firefox window that I leave open on #4 has moved (but still on
#4)
3. All VirtualBox VM windows have been relocated to #1, near the bottom of the
screen, and have been resized (i.e. based on their current position they should
extend off the bottom of the screen but the window has been resized to fit on
the screen).  This does not (usually?) happen with VirtualBox' management
window, just the actual VM consoles.

These things are sometimes/usually true:

1. The two widgets I have on #4 have moved (but still on #4); this happens
whether I have "Lock Widgets" turned on or not
2. Random other windows I have open have relocated to #1
3. The main (I mean, it's just "main" 'cause that's how I think of it) Firefox
window on #3 is where I left it
4. The panel is still at the bottom of #3 where it should be


STEPS TO REPRODUCE
------------------

1. Pursue evil world domination (various methods)
2. Take a break from evil to make a sandwich, long enough for the
screensaver/power save to kick in
3. Come back and wake the screens up to resume pursuit of world domination to
find my various sinister windows rearranged


OBSERVED RESULT
---------------

The windows (and it particularly affects VirtualBox VM consoles, for some
reason) have had a party in my absence.


EXPECTED RESULT
---------------

I expect my windows to conduct themselves more sensibly; when I come back, they
should have the same location/dimensions as they did before the power save.


SOFTWARE/OS VERSIONS
--------------------

(To confirm, these are all "...as packaged by Kubuntu 18.04".)

- Linux/KDE Plasma: Kubuntu 18.04
- KDE Plasma Version: 5.12.7
- KDE Frameworks Version: 5.44.0
- Qt Version: 5.9.5


ADDITIONAL INFORMATION
----------------------

I looked at the following existing bugs; while I don't think these reports
describe precisely the same issue I'm having, I guess they might be related? 
Especially the one with the guy who's also on about VirtualBox, even though his
symptoms aren't exactly the same.  From a layman's perspective, this seems like
an issue with the way Plasma handles removing and re-adding displays, and
deciding what to do with windows when screens get added back.

I tried to provide these bug numbers as links, but the BTS rejected the
submission because of "spam".  :)

348095
This is about Plasma's behaviour when closing a laptop screen

374783
Only applies to digiKam for MSW

374908
Rearrangement/resize behaviour doesn't quite match what I'm seeing (although
it's interesting that this guy specifically calls out VirtualBox as well)

377297
This one seems more chaotic; it refers to all windows being jumbled around
(including panels and such), whereas my issue is narrower

379334
This is about zero-height windows, which I'm not seeing (although some of the
windows _are_ being resized)

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

Reply via email to