Bug 386109

Summary: truncated panel after disconnecting an external display
Product: [Plasma] plasmashell Reporter: Laurent Bonnaud <L.Bonnaud>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: katonag, notuxius, simonandric5
Priority: NOR    
Version: 5.12.3   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot
Screenshot of truncated panel

Description Laurent Bonnaud 2017-10-23 13:34:45 UTC
Created attachment 108523 [details]
Screenshot

Hi,

here is what I do that leads to this bug:

 1. connect an external VGA projector to my laptop
 2. unify outputs
 3. disconnect the projector

Actual result: a small stripe is missing at the bottom and on the right par of the panel (see screenshot)

Expected result: the panel is displayed without missing parts

System detail:
 - Kubuntu 17.10
 - Plasma 5.11.1

This bug also occurred with Kubuntu 17.04 and previous Plasma versions.
Comment 1 Gábor Katona 2017-12-26 15:18:03 UTC
Created attachment 109530 [details]
Screenshot of truncated panel

I confirm this bug on Opensuse Tumbleweed, KDE Plasma 5.11.4, Frameworks 5.40.0, Qt 5.9.3.

The only difference is that no unifying of outputs is needed. I use two external display with docking station and the notebook screen disabled. After disconnecting the external displays sometimes the bottom and right part of the panel is missing. This does not always happen. Issuing 
kquitapp5 plasmashell && kstart5 plasmashell 

restores panel. Maybe it is a multiscreen issue.
Comment 2 Alexander Mentyu 2018-03-01 14:12:26 UTC
Is the Compositor disabled during these operations?
Comment 3 Laurent Bonnaud 2018-03-01 14:31:33 UTC
Yes I run Plasma with compositing disabled.
Comment 4 Laurent Bonnaud 2018-03-06 09:37:12 UTC
The problem still exists with:

 - Plasma 5.12.2
 - KF5 5.43
Comment 5 Laurent Bonnaud 2018-03-22 16:47:14 UTC
The problem still exists with:

 - Plasma 5.12.3
 - KF5 5.44

And I confirm that enabling compositing solves the display glitch.
Unfortunately disabling compositing does not work (compositing remains enabled).
Comment 6 Laurent Bonnaud 2018-07-05 14:52:42 UTC
I just reported bug #396204 that has some similarity with this one.
Comment 7 Laurent Bonnaud 2019-05-17 17:22:49 UTC
I am closing this bug since it is now fixed.  Thanks!