Commit graph

3 commits

Author SHA1 Message Date
Martin Gräßlin
34bb1a790f Fix layout issues of Desktop Change OSD
* no more binding loops - yeah for anchoring
* properly update sizes when switching screens
* properly handle case layout indicator enabled/disabled
* connect to desktop changed and reset desktop model
* set a maximum width/height of 0.8 of screen

Most interesting change is the moving of
visible = true;
to the beginning of the block which updates the layout. Without that
all the changes are ignored resulting in the incorrect size on screen
change.

The disadvantage of that is that the OSD is shown before the layout is
adjusted. But it's considerable minor given that it should be just one
frame.

BUG: 312728
BUG: 312727
BUG: 305737
FIXED-IN: 4.10.1
REVIEW: 108945
2013-02-20 13:01:43 +01:00
Martin Gräßlin
6232f0005e DesktopChangeOSD reads its configuration on startup and change 2012-03-02 09:10:11 +01:00
Martin Gräßlin
7bff89c5e0 Introduce a desktop change OSD as a declarative script
This QML based version of the desktop change OSD is intended to
replace the C++ version of it.

It currently supports all of the features except adjusting to config
options, which is not yet available at all to scripts.
2012-03-02 09:10:10 +01:00