https://bugs.kde.org/show_bug.cgi?id=366346
Sebastian Kügler <se...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED Latest Commit|http://commits.kde.org/libk |http://commits.kde.org/kscr |screen/5ad4370cce960c5b5192 |een/68423ccdf3f89e4bbaa5311 |a47169b353ed94414815 |7aff067471455c0a3 --- Comment #23 from Sebastian Kügler <se...@kde.org> --- Git commit 68423ccdf3f89e4bbaa53117aff067471455c0a3 by Sebastian Kügler. Committed on 09/08/2016 at 12:20. Pushed by sebas into branch 'master'. [kded] fix monitoring for newly appearing outputs Summary: This patch makes the kded daemon monitor also newly connected outputs, and leads to correctly initialize outputs from a docking station plugged in after session start. For "internal" display connector ports (HDMI, DisplayPort, etc. integrated in the system, we know from the start that they exist. These are marked disconnected. When plugging in a docking station, new outputs (that aren't previously known as disconnected) appear. daemon.cpp only monitors outputs that change connection state, so it doesn't consider newly added outputs. By listening to KScreen::Config::outputAdded, we can detect new output (connectors) as well, so we can trigger the applyConfig code path, which leads to restoring the config. Test Plan: * Reproduced the issue in https://bugs.kde.org/show_bug.cgi?id=366346 and confirmed it fixes the problem on my system (Lenovo Onelink+ docking station which shows the same behaviour). * Added debug calls and confirmed the new outputs are correctly set up. auto-testing this seems to be close to impossible. :/ Reviewers: #plasma, davidedmundson, graesslin Reviewed By: #plasma, davidedmundson, graesslin Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D2374 M +10 -0 kded/daemon.cpp http://commits.kde.org/kscreen/68423ccdf3f89e4bbaa53117aff067471455c0a3 -- You are receiving this mail because: You are watching all bug changes.