Bug 333193

Summary: panels appear on the primary screen if the secondary is disconnected
Product: [Plasma] plasmashell Reporter: Marco Martin <notmart>
Component: generalAssignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 328593    

Description Marco Martin 2014-04-08 10:07:56 UTC
if there was a panel configured to be on a secondary screen, if that screen is disconnected when plasma starts, the panel appears anyways on the primary one

Reproducible: Always



Expected Results:  
the panel should not appear, only be there when the screen gets connected
Comment 1 Marco Martin 2014-04-08 15:07:57 UTC
Git commit c705170099e4a50c43b49e43226dfcc1dc144c66 by Marco Martin.
Committed on 08/04/2014 at 15:06.
Pushed by mart into branch 'master'.

the panels for nonexistent screens don't appear

if the screen isn't there when plasma starts,
don't add the panels of that screen

if a screen is disconnected, remove the panels of said screen

M  +9    -14   shell/panelview.cpp
M  +23   -20   shell/shellcorona.cpp
M  +0    -1    shell/shellcorona.h

http://commits.kde.org/plasma-workspace/c705170099e4a50c43b49e43226dfcc1dc144c66