Port plasmasehll away from kscreen
Review Request #121790 - Created Jan. 2, 2015 and discarded
|apol, davidedmundson, dvratil|
This patch gets us rid of kscreen dependency in plasma-workspace. No more problems with having a half usable area for the desktop or panels dancing around. Plasmashell starts fine and much faster w/o kscreen installed.
- QScreen currently doesn't notify of outputs added/removed when one unplugs the cable or undocks the laptop
To disable ext screen: xrandr --output HDMI3 --off
To enable it again and put it right of the primary one: xrandr --output HDMI3 --preferred --right-of LVDS1
|maybe put screen->name() here too so it matches with SCREEN ADDED. Will make debugging easier.||David Edmundson|
|We still need this. It's for the case where we have mirrored mode i.e two screens on top of each ...||David Edmundson|
|slightly offtopic, but maybe this is the cause of our original kscreen error. With the kscreen part now being out ...||David Edmundson|
Definitely where we want to go long term, and if it fixes our immediate main problem then maybe we should aim for 5.2
The KScreen changes were done because QScreen had problems not just for fun. I really want to put this under some stress testing to make sure we don't regress anything.
maybe put screen->name() here too so it matches with SCREEN ADDED. Will make debugging easier.
We still need this.
It's for the case where we have mirrored mode
i.e two screens on top of each other.
That will still happen with QScreen.
slightly offtopic, but maybe this is the cause of our original kscreen error.
With the kscreen part now being out of process, we might be processing KScreens before the XCB backend of plasmashell has had a chance to load everything.
Previously when it was in process we just had to wait one event loop to be sure that they were using the same data and in sync.