Bug 162623 - Multihead corrupts plasma panel and desktop, after crash of plasma, panel and desktop are ok, but System Tray is missing
Summary: Multihead corrupts plasma panel and desktop, after crash of plasma, panel and...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: multiscreen (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-25 22:48 UTC by Samme Vreysen
Modified: 2009-12-07 15:07 UTC (History)
5 users (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 Samme Vreysen 2008-05-25 22:48:37 UTC
Version:            (using KDE 4.0.4)
Installed from:    Fedora RPMs
OS:                Linux

It's a complicated bug.

I have a laptop (1024x768) and an external monitor (1280x1024). I try to set up a multihead like i did in kde 3.5 using xrandr. At first i have problems with the --auto setting as xrandr thinks i got more modes than my screens can handle. Anyway, i can go around this by using the next command:
"xrandr --output VGA --mode 1280x1024 --pos 0x0 --output LVDS --mode 1024x768 --pos 1280x0"

What happens next: i do get the expected multihead, but there are 2 mayor bugs: first the desktop backgrounds are placed on top of each other on the first screen, the second screen is filled with a gray or blue color and right click doesn't have effect. And second the panel is or missing or not updated to the actual multihead settings...

I accidentally figured out that killing (or crashing*) plasma can restore the desktop backgrounds and the panel. But here comes another bug around the corner: the System Tray is or missing or empty or missing items that were there before i went to multihead.

Additional to the fact i need to restart plasma, i sometimes have to restart kwin as well when the frames of the windows are missing...

At last, I want to add a feature: setting 2 different background pictures was easily done in kde 3.5 through the desktop configuration, so it would be nice this will become implemented in kde 4 as well :)

I hope you got enough information since i don't actually know what backtraces could give the information about this topic... but if specified, i'll provide them

Thanks

Samme Vreysen
Comment 1 Mika Tikka 2008-07-05 14:49:53 UTC
I think this is very similar to my misadventure with xrandr and tray icons going missing. Initially after installing Fedora 9 I had external monitor attached with auto-detected resolution of 1024x768. The built-in display of my laptop was also in that resolution, although it is not the native one (1280x800). They showed the same screen (clone). I tried to get my laptop display to the native resolution with xrandr and succeeded, also making external monitor go no-signal. This is fine since I only wanted the laptop display to show the correct resolution. 

However, this made my desktop go strange; wallpaper is centered to the left and cropped at 1024 pixels in width. There are two orange widget corners at 1024 px and 1280 px. Also task tray icons are missing (the tray is there with black space reserved for the icons).

The situation is okay if I create a new user account and log in with that. I tried to remedy things by removing my original user account directories .kde, .qt and .config, but it didn't do the trick.
Comment 2 Paul Kaplan 2008-08-11 16:52:17 UTC
I am having the same problem as both posters in kde 4.1.0 (ubuntu debs) using 1280x1024 external monitor 1024x768 internal monitor and virtual desktop of 2304x1024.

Here is xrandr outputScreen 0: minimum 320 x 200, current 2304 x 1024, maximum 2304 x 1024
VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   75.0     59.9
   1280x960       59.9
   1024x768       75.1     70.1     60.0
   800x600        72.2     75.0     60.3
   640x480        75.0     72.8     60.0
   720x400        70.1
LVDS connected 1024x768+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       57.6*+   85.0     75.0     70.1     60.0
   832x624        74.6
   800x600        85.1     72.2     75.0     60.3     56.2
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1

Config works fine for kde 3.5.9 or other WM.
Also agree w/ Mika Tikka that there is no problem with a new user and that moving said directories doesn't solve the problem for the primary user.

Is it the problem w/ plasma or kwin or both?
Comment 3 Paul Kaplan 2008-08-14 12:13:08 UTC
I discovered that this problem depends on how X is started.

If I use a window manager to login then I get the behavior noted above.  However, if I login from the command line (startx /usr/lib/kde4/bin/startkde) I get a well behaved 4.1 system...none of the problems noted above.

On the dual head configuration, kdm places the login dialog on the second head (the external monitor).  However, the command line always appears on the primary monitor and thus CL login always takes place from the primary head (internal monitor).
Comment 4 Valentin Longchamp 2008-09-04 09:26:48 UTC
I am experiencing this same problem since KDE 4.0, and it is still present with KDE 4.1 (however, since KDE 4.1 there is no more systray problem when plasma is restarted).

One interesting thing is that with kdm 3.5.x and the external screen plugged in, the correct xrandr settings are used when plasma is started and of course everything is fine then.

I think "something" should be reconfigured in plasma when the screen is resized, and this is not done now. Does krandr do something about this (unfortunately it does not work for me) ?

I'd happily give log files or debug traces if someone tells me what the relevant ones are for plasma.
Comment 5 Stephen Baker 2008-10-17 01:39:45 UTC
I neglected to mention in my previous comment, I'm using KDE 4.1.2
Comment 6 Riccardo Iaconelli 2008-11-24 15:47:22 UTC
Please report a wishlist item for the multiplpe backgrdound thing (if it isn't already). for the bug, can you please check again with a more recent trunk (or soon beta1)? the inclusion of kephal should have made things work more nicely toghether. =)
Comment 7 Thomas Kahle 2009-01-07 14:13:05 UTC
I can confirm this problem in 4.1.87.

Here are some more points:
-) I have two different wallpapers without ever requesting it. It seems to depend just on which screen one changes the background.
-) When the panel disappears the plasmoids are still running. In the "Add Widgets" dialog I can end them with the "red minus".
Comment 8 Dario Andres 2009-07-18 21:33:11 UTC
Can someone test this in KDE4.3 (4.3rc2) ? Thanks
Comment 9 Beat Wolf 2009-12-07 12:55:28 UTC
please retest with a recent kde release. thank you
Comment 10 Thomas Kahle 2009-12-07 14:25:36 UTC
Cannot reproduce it anymore with 4.3.3.