Bug 315231 - kde does not adjust gracefully when removing or adding a monitor
Summary: kde does not adjust gracefully when removing or adding a monitor
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krandr
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.10.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 18:20 UTC by Saurabh Asthana
Modified: 2015-01-23 00:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saurabh Asthana 2013-02-15 18:20:05 UTC
With KDE 4.10 we have a new system that tries to configure your monitor automatically when you unplug. This system has some deficiencies, however.

I have a dual-head setup with my laptop screen as LDVS1 and an external monitor as HDMI1 (with the screen absolutely positioned to the left of the laptop screen). When I unplug the monitor, KDE pops up a friendly dialog saying "A new monitor output has been connected". It does this on whichever screen the mouse happens to be on at the time, even if that screen is no longer attached. So, if my mouse is on the external monitor screen, when I unplug, KDE's monitor setup dialog appears on that screen and I cannot interact with it (except by working blindly). This is annoying.

If I unplug with my mouse on the laptop monitor, KDE shows me a dialog. If I "Try Automatically", everything adjusts. The dialog remains active but doesn't appear to understand the new screen size - it moves over to the lower right corner of the laptop screen and is no longer centered.

When I plug back in, a new dialog appears (unplugging and replugging can result in multiple copies of the same dialog). When I "Try Automatically", KDE puts my screens in clone mode. No matter how many times I restore my desired configuration or "Save as Default", I can't get KDE to restore this configuration when I plug my monitor back in. The system has no memory.

It's probably too much to ask for it to put the windows back on the screens they were on before I unplugged, but it should at least be able to recognize the geometry of the screens (possibly using the monitor ID?) and restore the previous configuration.

Reproducible: Always
Comment 1 Christoph Feck 2013-02-15 22:37:38 UTC
> With KDE 4.10 we have a new system that tries to configure your monitor automatically when you unplug.

Are you already using the new KScreen/libkscreen software?
Comment 2 Saurabh Asthana 2013-02-15 22:49:26 UTC
No... is that in KDE 4.10.0?

On Fri, Feb 15, 2013 at 2:37 PM, Christoph Feck <christoph@maxiom.de> wrote:
> https://bugs.kde.org/show_bug.cgi?id=315231
>
> Christoph Feck <christoph@maxiom.de> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |christoph@maxiom.de
>
> --- Comment #1 from Christoph Feck <christoph@maxiom.de> ---
>> With KDE 4.10 we have a new system that tries to configure your monitor automatically when you unplug.
>
> Are you already using the new KScreen/libkscreen software?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Christoph Feck 2013-02-15 23:45:55 UTC
Not by default, it's still in "playground" repositories, but I've seen good remarks already, so you could try it.

Actually I didn't know the old krandr has changed in 4.10, because it is long unmaintained.
Comment 4 Christoph Feck 2015-01-23 00:09:18 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)