panels in multiscreen is broken, add a todo
panel views should be created/deleted according to screen attach/detach
This commit is contained in:
parent
da6df37de5
commit
9e25b45c04
@ -345,6 +345,9 @@ void ShellCorona::screenRemoved(QObject *screen)
|
||||
}
|
||||
|
||||
//move all panels on a deleted screen to the primary screen
|
||||
//FIXME: this will break when a second screen is added again
|
||||
//as in plasma1, panel should be hidden, panelView deleted.
|
||||
//possibly similar to exportLayout/importLayout of Activities
|
||||
foreach (PanelView *view, d->panelViews) {
|
||||
view->setScreen(QGuiApplication::primaryScreen());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user