Bug 183873 - plasma panel disappears switching from multi head to single head
Summary: plasma panel disappears switching from multi head to single head
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: multiscreen (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 202040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-10 02:24 UTC by Michael Kreitzer
Modified: 2010-06-12 11:07 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-appletsrc where panel is not shown on single monitor (6.29 KB, text/plain)
2009-05-23 23:21 UTC, Eric Estievenart
Details
Multiscreen to single mode issue (429.48 KB, image/png)
2010-04-24 10:06 UTC, Jean-Christophe Baptiste
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kreitzer 2009-02-10 02:24:40 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

This is using the kde 4.2 packages from the kdemod repo for archlinux.

Let me describe the series of events that leads to what happens:

First I will boot my laptop while plugged into a port replicator with a second monitor attached. X simply mirros the same output to both monitors. I use xrandr to setup the second monitor so I have full dual monitor support.

I then move my panel from the bottom edge of my laptop screen (ont he left) to the bottom edge of the external monitor. This works fine, and I can continue working.

I will then shutdown the laptop, pack it up, and go home. I then boot the laptop without the dock and no external monitor attached. I then zoom out so I can see the containment that was created for the previous external monitor, but the panel is no longer there. It is nowhere that I can see it.

When I add a new panel and begin to populate it with widgets I notice that the widgets on the missing panel have instances running (menu, taskbar, system tray, etc). I can stop them, but somewhere there is a panel populated with widgets running that I cannot find.
Comment 1 Michael Kreitzer 2009-02-10 02:28:08 UTC
Some more thoughts. The external monitor has a higher vertical resolution than laptops display. I notice also that widgets that were running on the external monitor are moved to the laptop display when booting without the external monitor. Could it be possible that the panel is running at a y resolution too high for the laptop display (as in where it was running on the external monitor)?
Comment 2 ibiwalliser 2009-03-26 22:38:40 UTC
i can reproduce this error on my system (debian experimental 4.2.1-2 packages).
But my external monitor has a lower resulution than the notebook.

This bug was introduced in KDE 4.2. This worked fine for me in 4.1.x
Comment 3 Michael Kreitzer 2009-03-26 22:43:01 UTC
I should note that the behavior changed from 4.2.0 to 4.2.1 for me. In 4.2.1 booting into a different configuration than I shut down in (e.g. single head -> multi head or vice versa) causes a plasma seg fault every time. I'm building debug packages and will hopefully have a useful backtrace by saturday at the latest.
Comment 4 Aaron J. Seigo 2009-03-26 23:20:44 UTC
this is due to kephal keeping the screen #s properly associated, resulting in this apparent misbehaviour (that is technically correct, however).

we just discussed a possible solution for this on the mailing list and someone is working on it.
Comment 5 Michael Kreitzer 2009-04-07 16:38:47 UTC
OK, the seg fault is gone in 4.2.2. If you'd like I can downgrade to reproduce the crash, but for now I'm happy to have the original behavior with the knowledge that it's being worked on.

Thanks
Comment 6 ibiwalliser 2009-04-21 23:06:39 UTC
for me it's working since version 4.2.2 (debian sid)

Thx for the great work!
Comment 7 Eric Estievenart 2009-05-23 23:21:06 UTC
Created attachment 33957 [details]
plasma-appletsrc where panel is not shown on single monitor

Ok when starting plasma on a double 1920x1200 randr
display : panel on right screen.
If starting only with main monitor, panel does not show up.
Comment 8 Eric Estievenart 2009-05-23 23:22:28 UTC
More comments on that: same problem on debian sid (plasma 4.2.2).
My laptop lcd runs 1920x1200, the external monitor (on the right side) too.
The plasma taskbar is set on the external (right) monitor.

When the laptop is started without the external monitor, the plasma desktop
appears _but not the taskbar_. (Real regression compared to kde 3.X)

After looking a bit, dropping the plasma-appletsrc file and restaring plasma
make the taskbar appear again on the laptop.

Not so strangely, this file contains OOB coordinates for items when there is
only one screen (1920x1200) [attached before]
[Containments][37]
geometry=1926,0,1920,1200
>> This is clearly on the (missing) right screen, and may explain the panel
does not show.

I understand it is probably a bit complex to manage different configurations
depending on which screens are connected...

Cheers
Comment 9 Aaron J. Seigo 2009-08-03 08:48:08 UTC
*** Bug 202040 has been marked as a duplicate of this bug. ***
Comment 10 fsando 2010-01-08 20:02:23 UTC
I believe am seeing this too. 
I use kde 4.3.2 Kubuntu 9.10 32bit Desktop (Linux 2.6.31-16-generic).
Laptop with ati card.
:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3650
OpenGL version string: 2.1.9016

External monitor is 1920x1200, laptop monitor is 1680x1050.
With dual head I have the external monitor _above_ my laptop screen, I place the panel at the top edge of my laptop screen (i.e. it sits in the middle of the big-screen).

I booted the laptop without the external screen and the panel disappears. I created a new panel at the top edge of the laptop screen. When I later booted with the external monitor attached the new panel showed up at the top edge of the external monitor while the old one showed up as usual at the top edge of the laptop screen.
Comment 11 spikethehobbitmage 2010-02-03 14:45:17 UTC
Perhaps the panel should not remember actual coordinates, just which screen, edge, and size, and auto detect coords on start/screen resize.  Also, allow setting size as % to allow mode changes, or a 'full width/height' toggle.  As it stands, the panel also gets dumped off the bottom of the screen on mode change.  This would kill both birds with one stone.
Comment 12 Jean-Christophe Baptiste 2010-03-25 10:10:32 UTC
Same issue here. It only behaves normaly when I choose the position "right of" for the second screen. Any other position put the panel into trouble.
Comment 13 Jean-Christophe Baptiste 2010-04-24 10:06:08 UTC
Created attachment 42991 [details]
Multiscreen to single mode issue
Comment 14 Jean-Christophe Baptiste 2010-04-24 10:07:19 UTC
I also noticed that switching back to single monitor mode messes the desktop about full screen size.

When maximizing windows, it seems that the bottom part of the screen (about 1/5) is not recognized anymore.
Please look at the screenshot above as it is difficult to explain.

The only workaround I found is to restart the KDE session.
Comment 15 Jean-Christophe Baptiste 2010-04-24 10:10:32 UTC
I forgot to say that I am on openSUSE 11.2, with KDE 4.3.5.
Comment 16 Nicolas L. 2010-06-07 01:06:06 UTC
Can you reproduce using KDE 4.4 or 4.5beta?
Comment 17 Jean-Christophe Baptiste 2010-06-07 08:18:17 UTC
Sorry but I got discouraged and stopped using KDE.
Comment 18 Jan Hnatek 2010-06-07 09:39:07 UTC
I can. Using 4.4.3 on OpenSolaris, I got used to live with the fact, that in multihead I have my "primary" panel with tray and panel widgets on the wrong (external) display.
Comment 19 Jean-Christophe Baptiste 2010-06-07 10:23:24 UTC
Jan, the issue I reported was much worse than that. The whole screen was definitely messed up for the session, even after being back to single screen mode.
Comment 20 Michael Kreitzer 2010-06-07 17:05:58 UTC
Initial comment is still an issue on 4.4.4. I do not have a 4.5 test setup to confirm. As soon as I do I'll let you know.
Comment 21 Marco Martin 2010-06-12 11:07:36 UTC
in 4.5, panels migrate from the screen that was deactivated to the only screen remained