Show unconnected displays at the right side of the main screen
ClosedPublic

Authored by amantia on Dec 19 2018, 9:49 AM.

Details

Summary

Until now they were shown half behind the center (main) screen.
This makes it nicer, although with many screens it might flow too much to the right.
For this reason, reduce the visual size of the screens.
More work in this sense will follow.

Diff Detail

Branch
rework_qml_part
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6176
Build 6194: arc lint + arc unit
amantia requested review of this revision.Dec 19 2018, 9:49 AM
amantia created this revision.
amantia set the repository for this revision to R104 KScreen.
Restricted Application added a project: Plasma. · View Herald TranscriptDec 19 2018, 9:51 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
amantia retitled this revision from Show unconnected displayed at the left to Show unconnected displays at the left.Dec 24 2018, 12:07 PM
amantia edited the summary of this revision. (Show Details)
amantia edited the summary of this revision. (Show Details)
amantia retitled this revision from Show unconnected displays at the left to Show unconnected displays at the right side of the main screen.Dec 24 2018, 12:10 PM
amantia edited the summary of this revision. (Show Details)
dvratil accepted this revision.Dec 24 2018, 4:13 PM

Sorry for the delay, I did not notice the review.

Looks good.

kcm/src/declarative/qmlscreen.cpp
178

Maybe the scale could be adaptive based on the number of connected outputs? Just an idea, if you are planning to play around with this code a bit more :-)

This revision is now accepted and ready to land.Dec 24 2018, 4:13 PM
amantia closed this revision.Jan 7 2019, 10:30 AM