hoffmannrobert created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. hoffmannrobert requested review of this revision.
REVISION SUMMARY Screen configurations on notebooks couldn't distinguish properly between open lid and closed lid configurations. The open lid config was only created if the lid was closed and deleted if the lid was opened again. Known configurations were ignored. This is fixed by keeping open and closed lid configurations permanently in different config files. TEST PLAN Use a notebook in a docking station with two external screens connected. Configure the screens differently for open and closed lid. Particularly for closed lid configure the screen connected to the higher output number to the left (e.g. DP-1-2), the lower to the right (e.g. DP-1-1). Open and close the lid. With this patch applied screen configurations remain as previously configured. Without, the higher output number is shown on the right and the lower on the left. REPOSITORY R104 KScreen BRANCH fix_lid_open_closed_configs REVISION DETAIL https://phabricator.kde.org/D21082 AFFECTED FILES kded/daemon.cpp kded/serializer.cpp To: hoffmannrobert Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart