Plasma desktop on 24.04 resizes after monitor goes to sleep and wakes up

Bug #2067103 reported by Josh Abbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plasma-desktop (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 24.04 LTS
Release: 24.04

plasma-desktop:
  Installed: 4:5.27.11-0ubuntu2
  Candidate: 4:5.27.11-0ubuntu2
  Version table:
 *** 4:5.27.11-0ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

What happens:
When the monitor of the desktop is turned off and on again, the plasma desktop (background and panels and widgets) are resized and reduced to the top left corner of the screen. The other windows remain in the same place.

What should happen:
When the monitor is toggled off and then on, plasma desktop should not resize anything and everything should remain in place where it was when the monitor was turned off.

I have confirmed this with two separate nvidia drivers (470 and 550). I can also confirm this bug does not exist in 23.10. To reproduce on 24.04 I turn off my desktop monitor and then turn it back on. When it is turned back on the plasma desktop background and top panel are reduced to a corner of my screen but the other windows I have open remain in the same place. In other words, the desktop resolution is not changing, but plasma is resizing.

I can confirm that killing plasmashell and restarting causes the plasma desktop to be resized properly.
Running:
```
killall plasmashell
kstart plasmashell
```
will restore plasma desktop to the right size of the full monitor resolution.

I can also confirm that this happens when the monitor goes to sleep. It does not happen when the screen is locked. It only apears to happen when the monitor goes to sleep or is turned off.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: plasma-desktop 4:5.27.11-0ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri May 24 09:15:06 2024
InstallationDate: Installed on 2024-03-15 (71 days ago)
InstallationMedia: Kubuntu 23.10 "Mantic Minotaur" - Release amd64 (20231010)
SourcePackage: plasma-desktop
UpgradeStatus: Upgraded to noble on 2024-05-23 (2 days ago)

Revision history for this message
Josh Abbott (joshabb) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.