Bug 287975 - Dialogue on disconnecting a monitor shows up on the monitor that has been disconnected
Summary: Dialogue on disconnecting a monitor shows up on the monitor that has been dis...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krandr
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.8.4
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Gustavo Pichorim Boiko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 09:56 UTC by rasmus
Modified: 2015-01-23 00:08 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the message window in question. (27.44 KB, image/png)
2011-12-01 09:56 UTC, rasmus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rasmus 2011-12-01 09:56:35 UTC
Created attachment 66254 [details]
screenshot of the message window in question.

Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

I'm using a ThinkPad T501 with a docking station that has an external monitor attached, configured as xinerama. 

When the laptop gets disconnected from the docking station, sometimes (not always) I get a message window asking me whether I would like to reconfigure the monitor setup since one monitor was disconnected. 

This message window gets displayed on the monitor that was disconnected, making it rather pointless. 

Reproducible: Sometimes

Steps to Reproduce:
Configure a laptop with a dockingstation and external monitor with xinerama, then disconnect the laptop from the docking station, possibly while the mouse pointer is visible on the external monitor. 


Actual Results:  
Message window telling me the monitor was disconnected and asking whether I'd like to run a configuration tool to adjust monitor setup is displayed on the disconnected monitor. The one that went black 3 seconds before.

Expected Results:  
Message window should show up on the not-disconnected monitor.
Comment 1 Benjamen Meyer 2012-06-29 14:23:59 UTC
I have a Thinkpad T61p with nearly the same issue without using xinerama (as far as I know - the external is an extension of the first, but it is a separate desktop not simply making the screen wider) and using KDE 4.8.3.

I configure the monitors the external monitor to be left of the laptop and use it as the primary when plugged in. However, if I just undock the laptop then I will either (i) get the message the OP noted, or (ii) get the Display configuration dialog; however, in both cases it goes to the primary monitor (DVI) instead of the only monitor available (LVDS) making it impossible to recover from.

This is always reproducible.

My present work around is to set the monitor to clone before I undock; however, that is a pain as it is quite cumbersome.

Expected result: same as OP _or_ it should remember a profile to switch to for a single monitor mode, and prompt for a potentially different profile when docking it/adding another monitor.

P.S. I've noticed a number of other multiple monitor bugs that are seemingly similar. So I've just added on here instead of creating yet another bug report.
Comment 2 pdf 2012-07-19 09:43:37 UTC
Confirmed on 4.8.4 - this dialogue MUST be displayed on a currently connected monitor.
Comment 3 Christoph Feck 2015-01-23 00:08:49 UTC
Thank you for your bug report or feature request.

Unfortunately, we did not have a maintainer for the "krandr" components, which are used to manage displays and monitors in the KDE Workspaces.

The "krandr" components has been superseded by "KScreen" in newer releases of the KDE Workspaces. It is compatible with all versions since 4.11, and is also used with Plasma 5. Please check with your distribution how to update to KScreen.

If this issue or feature request is still applicable to KScreen version 1.0.5 or newer, please add a comment. We will then reassign this ticket to KScreen developers.

If you are already using KScreen to manage displays or monitors, and found a different bug or need a specific feature, please create a new ticket for "KScreen" product in this bugzilla using this link: https://bugs.kde.org/enter_bug.cgi?product=KScreen

(This is an automatic message from the KDE Bug Triaging Team)