Don't consider outputs without a mode as enabled. Outputs will be
reconsidered when they get a mode anyway.
Assert on missing currentMode, this way we'll get less of a weird backtrace
if we hit a similar error.
This fixes ksmserver not being able to logout or shutdown correctly as
it was unable to kill Plasma.
Tests showed that pressing alt+f4 no longer kills the window anyway
(possibly a change in kwin?)
BUG: 338360
REVIEW: 121004
Add another check for not trying to figure out the plasma shell
in the plasmoid loading nested event loop.
I hate the incubator event loop with all my passion.
creating the corona on the stack makes the app crash on close, because
the corona tries to delete itself when the window closes.
this also meand this code will *not* leak
BUG:340191
The hack we used to have is not working anymore because they changed how
Qt works (And it was a hack after all).
On the other hand, on Qt 5.4 we can use the API I added for this purpose,
so listen to screen removed before the window is shuffled somewhere else
so we can cleanly remove the view.
Reviewed by DJ Edmundson
On initialization, the panels' window size is 12x12, we can't use the
window size then, we need to use the thickness.
Also assert if we are setting the Panel's window outside of the screen, so
the problem doesn't happen again.
REVIEW: 120584
this because due to Qt xcb implementation the actual flags gets
set only after a while after the window is actually visible.
kwin has actually time to move the window since is not a dock yet,
at the moment there is no solution besides moving it back
BUG:339614
This prevents file:///usr/share/plasma/look-and-
feel/org.kde.breeze.desktop/contents/osd/Osd.qml:93:20: Unable to assign
QString to double
BUG: 339581
needed for center and right alignments
now 90% of the times the behavior of the panel controller is correct.
but problems still happen
CCBUG:339202
CCBUG:339207
needed for center and right alignments
now 90% of the times the behavior of the panel controller is correct.
but problems still happen
CCBUG:339202
CCBUG:339207