- 10 Jul, 2018 1 commit
-
-
Frederik Gladhorn authored
-
- 09 Jul, 2018 1 commit
-
-
Frederik Gladhorn authored
-
- 02 Jul, 2018 1 commit
-
-
Friedrich W. H. Kossebau authored
-
- 06 Feb, 2018 1 commit
-
-
Friedrich W. H. Kossebau authored
Nested classes inherit the visibility, so need to explicitly opt out again
-
- 02 Nov, 2017 1 commit
-
-
Sebastian Kügler authored
-
- 20 Sep, 2017 1 commit
-
-
Sebastian Kügler authored
This method is used to sync two outputs, previously, scale wasn't synced, now it is.
-
- 04 May, 2017 1 commit
-
-
David Edmundson authored
Summary: When a monitor is scaled the "size" is not the same as the mode size, we want things in global co-ordinates. This is only relevant on Wayland, but on everything else scale is 1, so this makes no difference. Test Plan: Plugged in normal monitor to laptop, generator had the correct co-ordiantes of second monitor Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D5697
-
- 22 Nov, 2016 1 commit
-
-
Sebastian Kügler authored
This should fix running Plasma in a windowed virtual machine, when the window is resized, the mode list changes, and libksreen can't currently handle that. Summary: * make Output::modes() non CONSTANT, add modesChanged() signal * compare the mode lists and set the new one * queue an outputChanged signal when applied * autotest for modelist changes * update the mode list on RRNotify events BUG:356864 Test Plan: * for library part, autotests are added * for xrandr backends, we can't sensibly autotest this :( Reviewers: #plasma, mart Reviewed By: mart Subscribers: graesslin, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D3117
-
- 10 Nov, 2016 1 commit
-
-
Sebastian Kügler authored
Summary: This adds a scale property to KScreen::Output. By default, it's 1.0, which means no scaling. The value is a qreal, and the conversion to int for the backends that only understand int is made in the underlying backend code. RFC. :) Test Plan: autotests included Reviewers: graesslin, davidedmundson Reviewed By: davidedmundson Subscribers: plasma-devel, davidedmundson Tags: #plasma Differential Revision: https://phabricator.kde.org/D3312
-
- 20 Oct, 2016 1 commit
-
-
Sebastian Kügler authored
This should fix running Plasma in a windowed virtual machine, when the window is resized, the mode list changes, and libksreen can't currently handle that. Summary: * make Output::modes() non CONSTANT, add modesChanged() signal * compare the mode lists and set the new one * queue an outputChanged signal when applied * autotest for modelist changes * update the mode list on RRNotify events BUG:356864 Test Plan: * for library part, autotests are added * for xrandr backends, we can't sensibly autotest this :( Reviewers: #plasma, mart Reviewed By: mart Subscribers: graesslin, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D3117
-
- 03 Aug, 2016 1 commit
-
-
Sebastian Kügler authored
-
- 02 Aug, 2016 1 commit
-
-
Sebastian Kügler authored
-
- 24 Nov, 2015 8 commits
-
-
Sebastian Kügler authored
-
Sebastian Kügler authored
-
Sebastian Kügler authored
This change introduces caching of backends in the backendmanager also for in-process backends, along with proper memory management of the backends.
-
Sebastian Kügler authored
-
Sebastian Kügler authored
-
Sebastian Kügler authored
-
Sebastian Kügler authored
-
Sebastian Kügler authored
I haven't entirely sorted where the Edid is set, this makes testing a bit easier for now
-
- 18 Nov, 2015 1 commit
-
-
Sebastian Kügler authored
-
- 13 Nov, 2015 2 commits
-
-
Sebastian Kügler authored
-
Sebastian Kügler authored
This change introduces caching of backends in the backendmanager also for in-process backends, along with proper memory management of the backends.
-
- 12 Nov, 2015 2 commits
-
-
Sebastian Kügler authored
-
Sebastian Kügler authored
-
- 11 Nov, 2015 3 commits
-
-
Sebastian Kügler authored
-
Sebastian Kügler authored
-
Sebastian Kügler authored
I haven't entirely sorted where the Edid is set, this makes testing a bit easier for now
-
- 18 May, 2015 1 commit
-
-
Daniel Vrátil authored
Output::geometry() always reflects whatever is currently stored in the Output (which can be different from what is the currently active configuration). This was broken in the previous commit, because the size() property is only updated when we get update from KScreen backend. The API documentation for those properties has been updated to explictly and clearly describe the difference in behaviour of those properties. CCMAIL: afiestas@kde.org
-
- 08 May, 2015 1 commit
-
-
Àlex Fiestas authored
We were making some assumptions in Output::geometry like for example assuimg that the resolution of the currentMode was actually the output size which is not always the case, like for example in a case we were already covering of vertical transformed output. In order to fix this proplerly we are adding a size property to Output that backends and fill with whatever value they want and we use it to create the QRrect with return in Output::geometry. QScreen: Whatever QScreen::screenGeometry().size() returns Fake: Added a test for singleOutput, the rest is all the same XRandR11: Whatever size has currentMode XRandR: Whatever size CRTC reports. Note that crtc is the one in charge of applying transformations so it always reports correct geometry, even on scaled or vertical/landscape outputs.
-
- 29 Jan, 2015 1 commit
-
-
Daniel Vrátil authored
-
- 20 Nov, 2014 1 commit
-
-
Daniel Vrátil authored
-
- 19 Nov, 2014 2 commits
-
-
Daniel Vrátil authored
-
Daniel Vrátil authored
It's beyond my comprehension how I actually managed to mess up the logic like that.
-
- 29 Oct, 2014 1 commit
-
-
Daniel Vrátil authored
This seems to be the key point for many of the unexplainable crashes that we've been seeing all over the place, especially in the KDED module. When the ConfigMonitor is updating the properties one by one, the change signals are being emitted immediatelly. So if someone is listening to these signals, and will try to access some property that we have not udpated yet, they will get inconsistent data (like empty mode list for instance), leading to crashes. With this patch we block signals emission on the output, collect all changes that happened, and then emit the signals all at once after we updated all the properties. This way applications can safely access any properties.
-
- 22 Oct, 2014 5 commits
-
-
Daniel Vrátil authored
It's possible to disable fetching EDID by passing NoEDID option to GetConfigOperation constructor.
-
Daniel Vrátil authored
The EDID retrieval method is a super hack for now, as it synchronously asks BackendManager for backend, and then synchronously does a DBus call to the backend to retrieve EDID. I don't know yet how to solve this properly: we could either have flag in GetConfigOperation that would allow excluding EDID from regular retrieval, or we need GetEdidOperation. *shrug*
-
Daniel Vrátil authored
The old Config::current() and Config::setConfig() methods were removed, instead GetConfigOperation and SetConfigOperation classes are introduced here. The emit finished() once the operation has completed. The operations will auto-start and auto-delete. The reason for having the async API is that BackendManager might need to start the BackendLauncher first, and then still a DBus call is involved to get data from the backend (which might also block for a moment). This would never be acceptable to be called in blocking manner from main thread, hence nice simple async API has been introduced.
-
Daniel Vrátil authored
-
Daniel Vrátil authored
-