Don't reset the moved display position
ClosedPublic

Authored by amantia on Jan 8 2019, 3:57 PM.

Details

Summary

This fixes the problem that after moving a display, clicking on another one
and clicking on the original one, its position got reset to the default one.
This due to layouting in the widget when displays are clicked, the
ControlPanel hides/shows the corresponding OutputConfig, which results in a
temporary layout changed, that causes a geometry change for the QML view,
that causes am updateOutpusPlacement()...

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.
amantia requested review of this revision.Jan 8 2019, 3:57 PM
amantia created this revision.
amantia set the repository for this revision to R104 KScreen.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 8 2019, 3:57 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
dvratil accepted this revision.Jan 25 2019, 2:39 PM

Looks OK to me.

This revision is now accepted and ready to land.Jan 25 2019, 2:39 PM
amantia updated this revision to Diff 50659.Feb 1 2019, 5:06 PM

Rebased

This revision was automatically updated to reflect the committed changes.