Don't re-align outputs when QMLOutput in clone mode moves
ClosedPublic

Authored by dvratil on Oct 21 2017, 7:16 AM.

Details

Summary

Changing resolution of the 'Unified output' makes it move around which
then triggers QMLScreen::qmlOutputMoved() which tries to snap and re-align
all the outputs. This leads to the KScreen Outputs being positioned next
to each other in the final KScreen Config that is uploaded to KDED,
instead of on top of each other, virtually breaking the 'Unify outputs'
feature.

Test Plan

Click 'Unify outputs' and change resolution of the unified screen. Click apply.
Resolution changes on both screens and they are now are correctly repositioned
to be in clone mode.

Diff Detail

Repository
R104 KScreen
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Oct 21 2017, 7:16 AM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 21 2017, 7:16 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Oct 30 2017, 12:31 PM

Please also merge into master.

This revision is now accepted and ready to land.Oct 30 2017, 12:31 PM
This revision was automatically updated to reflect the committed changes.