Bug 371655 - No configuration change reflected when disconnecting docking station with external displays
Summary: No configuration change reflected when disconnecting docking station with ext...
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: 5.8.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 10:33 UTC by Jaroslav Reznik
Modified: 2016-12-13 14:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Reznik 2016-10-25 10:33:55 UTC
Setup: 
internal laptop screen (eDP1)
two external displays (DP2-1 and DP2-2) connected via OneLink Pro docking station with Plasma shell panel on the DP2-1 (as a primary display)

KScreen works correctly when docking station is connected - both external displays are turned on, panel is properly moved to DP2-1 display (see http://rezza.hofyland.cz/kde/kscreen.log.1). When docking station is disconnected, nothing happens. Cursor stays on the external display, same as for panel and windows (see http://rezza.hofyland.cz/kde/kscreen.log.2). When I connect docking station again, nothing happens either. Without docking station, it's possible to run xrandr without any command line option and it properly moves panel to internal screen, same for windows (see http://rezza.hofyland.cz/kde/kscreen.log.3).

I can provide more details if needed. Just a note - it works in other X11 based DEs (aka GNOME Shell) on Fedora 25 and it worked before in 5.7 release. And KScreen is aware of the change as the new kscreen.log is created.

 

Reproducible: Always

Steps to Reproduce:
1. docking station with two external displays connected
2. disconnect docking station

Actual Results:  
Configuration change is not reflected, panel and windows stays on the second screen until xrandr command is executed.

Expected Results:  
Configuration change is properly reflected when docking station is disconnected without the need to type xrandr command.
Comment 1 Sebastian Kügler 2016-11-10 12:23:23 UTC
Hm, how can you get a cursor on a disconnected output? :D
Comment 2 Jaroslav Reznik 2016-12-12 16:00:01 UTC
It works now after 5.8.4 update, not sure what has changed. It still takes some time before Plasma panel moves to the internal display but it does and opened apps moves immediately. I think this bug could be closed.
Comment 3 Sebastian Kügler 2016-12-12 17:04:34 UTC
Cool.
Comment 4 Jaroslav Reznik 2016-12-13 14:02:48 UTC
Well, the other way stopped working (when docking station is connected). I'll try to collect logs and I'll open the new bug.