Bug 248828 - After disabling secondary monitor with twinview panel moves underneath the primary screen panel. Reenabling the secondary monitor will not move the panel back.
Summary: After disabling secondary monitor with twinview panel moves underneath the pr...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: panel (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 252783 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-23 18:01 UTC by Jesper
Modified: 2013-12-09 00:37 UTC (History)
6 users (show)

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


Attachments
Screwed up plasma-desktop-appletsrc file (4.71 KB, application/octet-stream)
2011-02-12 07:06 UTC, Joe Mulloy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper 2010-08-23 18:01:57 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

After using the Nvidia configration utility to enable a secondary monitor to my laptop, I configured the desktop (added a panel with a task manager for the particular screen).

After that, I disabled the monitor again. When I re-enabled to monitor again, the panel was gone. I found it behind the panel on the primary monitor. 

KDE remembers my preferences for the desktop activity.

This did not happen in KDE SC 4.4 (however, with 4.4 I needed to change the resolution of one of the monitors at least once to have KDE detect both screens)

Reproducible: Always

Steps to Reproduce:
Use the nvidia configuration utility to add a 1920x1200 monitor to the right of the 1680x1050 laptop screen, setting the big monitor as primary. Add a panel to the 1680x1050 screen.

Disable the 1920x1200 screen using the nvidia utility.

Enable the 1920x1200 screen again, placing it the right of the 1680x1050 screen and making it the primary screen.

Actual Results:  
The 1680x1050 screen does not have a panel anymore. The panel is placed behind the panel on the 1920x1200 screen.

After disabling the second screen, the panels are also on top of each other. If you where to place the panel at the top of the screen on one monitor, and at the bottom of the screen on the other this is more easily seen.



Expected Results:  
The panel I placed on the 1680x1050 screen should be there again.

The panel should not be placed on the screen in a one monitor configuration.

This is with the KDE 4.5 packages from the Opensuse build service.
Comment 1 Jonathan 2010-09-28 13:03:33 UTC
I have the same problem with KDE 4.5.1 and ATI graphics using the radeon driver.

With KDE 4.4 the behaviour was that when disabling monitor 2, monitor 1 was not changed and when enabling monitor 2 again it was shown with all panels again.

With KDE 4.5 all panels of monitor 2 are moved to monitor 1 and they stay on monitor 1 even if monitor 2 is enabled again.

This is especially annoying as because of Bug 230872 the monitor configuration after a restart is not remembered and therefore all panels are displayed on the same monitor after every restart.

Usually I use my laptop at home with a second monitor. Now whenever I want to use the laptop somewhere else I first have to remove all panels of the second monitor. When getting back to the 2 monitor setup I have to add and customise the panels again.

This bug only effects panels and not the wallpaper or widgets.
Comment 2 slavo 2010-10-22 22:15:14 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 Ralf Jung 2010-10-25 15:56:50 UTC
I can confirm this for KDE 4.5.1 as shipped with Kubuntu 10.10.
Comment 4 Synthetic451 2010-10-25 19:53:26 UTC
*** Bug 252783 has been marked as a duplicate of this bug. ***
Comment 5 Alex Dănilă 2010-11-20 23:12:32 UTC
Just adding a new scenario for this:
Config: dual screen with external monitor (2048x1152) at the left of laptop (1440x900). One tin panel on left screen, one wider panel on the right one.

After restart the output is unified (the laptop screen is duplicated on the external screen), and the right panel comes in the middle of the screen, as in ftp://ftp.cetaura.com/after-login.ogv. After running monitor setup, the right panel goes in the upper side of the left screen, together with the left panel, as can be seen in ftp://ftp.cetaura.com/after-screen-config.ogv
Comment 6 Jonathan 2011-01-30 23:34:29 UTC
This bug disappeared with one of the relesas 4.5.x, I can't remember with which version I experienced this bug the last time. With 4.6 this bug also is not reproducible anymore.

Can anyone confirm that this bug is fixed?
Comment 7 Synthetic451 2011-01-31 01:41:30 UTC
No I cannot confirm that this has been fixed. Disabling the secondary monitor makes the primary panel completely disappear. No windows are displayed either. It seems like the desktop is drawing over everything. The menu that pops up when clicking the cashew button also refuses to stay open for any period of time.

Note I disabled secondary monitor by rebooting with VGA cable unplugged.
Comment 8 Joe Mulloy 2011-02-11 05:09:45 UTC
(In reply to comment #7)
> No I cannot confirm that this has been fixed. Disabling the secondary monitor
> makes the primary panel completely disappear. No windows are displayed either.
> It seems like the desktop is drawing over everything. The menu that pops up
> when clicking the cashew button also refuses to stay open for any period of
> time.
> 
> Note I disabled secondary monitor by rebooting with VGA cable unplugged.

This is pretty much the problem I came to report. Starting with 4.5 and still remaining in 4.6 when I use my laptop in dual screen mode the main panel moves to the external screen and I drag it back to the laptop panel. When I deconfigure the dualscreen Plasma gets all fucked up and remains fucked up even after reboots. The only way to recover is to delete .kde4 and parts of .config. This bug is really pissing me off!

I'm running OpenSUSE 11.3. I've experienced this problem in both 4.5 and 4.6

I'm not even sure how to start debugging this.

Have any developers even looked at this?
Comment 9 Joe Mulloy 2011-02-12 07:06:44 UTC
Created attachment 57178 [details]
Screwed up plasma-desktop-appletsrc file
Comment 10 Joe Mulloy 2011-02-16 06:58:13 UTC
I just found the Primary Display setting and it completely mitigates this issue. While this is still a very serious bug I no longer have to go back to KDE 4.4 to get correct behavior. I also like that we now have the ability to save a default config. I don't need it anymore because I'm no longer using a second display with my laptop, but back when I did I had to use a script that would run xrandr when I logged in. Keep up the good work guys. :)
Comment 11 Myriam Schweingruber 2012-05-17 17:59:02 UTC
Closing based on comment #10. Please feel free to reopen this report if you can still reproduce this with KDE 4.8.3 or later.
Comment 12 Piotr Findeisen 2013-12-09 00:32:30 UTC
(In reply to comment #11)
> Closing based on comment #10. Please feel free to reopen this report if you
> can still reproduce this with KDE 4.8.3 or later.

I'm using Kubuntu 13.10 with KDE 4.11.2. And I'm here because of the panels being displayed one over another after I rebooted with external monitor disconnected.

I've read the comments, but I don't understand what was the solution. Do I need to configure anything special to get the expected behavior?
Comment 13 Piotr Findeisen 2013-12-09 00:37:21 UTC
I see now this is reported also as bug 259183 and bug 319410 (same as on the forum http://forum.kde.org/viewtopic.php?f=67&t=111058)