Bug 129884

Summary: Going from Xinerama-enabled to no-xinerama breaks preferences.
Product: [Unmaintained] kdesktop Reporter: Dylan Griffiths <dylang>
Component: wallpaperAssignee: Matt Rogers <mattr>
Status: CLOSED UNMAINTAINED    
Severity: normal CC: duckrain, finex, gschintgen, kde, PVince81, vbatts
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dylan Griffiths 2006-06-27 04:31:42 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages
OS:                Linux

Well, whoevere fixed bug 42778 did it wrong.  I had 2 monitors setup; then I said, "hey, I'll set a different background for each of my two monitors."  After a few days, though, I decided that the second head wasn't worth having around.

I edited my Xorg config, disconnected the monitor, and logged out/reset X.  Naturally, as the head removed was Xinerama 1, I got Xinerama 1's background on my main monitor (Xinerama 2) when KDE came up.  "No problem, I'll simply reset the background image."

Well, it turns out it is a problem.  The "fix" for bug 42778 is such that if you have some Xinerama overrides in your KDE config, but you don't have Xinerama, you're stuck with those choices -- the code will not check to see that Xinerama is disabled and revert, nor does it present you with the Xinerama-specific config dialog that can change the settings.

To put it another way, I can select, "Use no background picture" and apply it, and still have the same Xinerama-1 background picture staring me in the face on my desktop.
Comment 1 Dylan Griffiths 2006-06-27 04:36:32 UTC
Snippets from my kdesktoprc:

[Desktop0]
BackgroundMode=PipeCrossGradient
BlendBalance=-110
ChangeInterval=15
CurrentWallpaper[$d]
CurrentWallpaperName=
LastChange=1134777979
MultiWallpaperMode=NoMultiRandom
Pattern=rattan
Program=kwebdesktop
Wallpaper=$HOME/background/ApplePictures/Aqua Blue.jpg


[Desktop0Screen0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMultiRandom
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=$HOME/background/ApplePictures/Aqua Graphite.jpg
WallpaperList=
WallpaperMode=Scaled

[Desktop0Screen1]
BackgroundMode=HorizontalGradient
BlendBalance=200
BlendMode=NoBlending
ChangeInterval=60
Color1=255,255,255
Color2=0,0,0
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMultiRandom
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=$HOME/background/ApplePictures/Aqua Blue.jpg
WallpaperList=
WallpaperMode=Scaled

 -- seems like a simple fix; no Xinerama?  Ignore screen specific settings.
Comment 2 Lubos Lunak 2006-08-25 14:19:09 UTC
*** Bug 124797 has been marked as a duplicate of this bug. ***
Comment 3 Tomi Junnila 2007-04-22 14:24:42 UTC
The DrawBackgroundPerScreen_* settings should be ignored if there is only one screen. Or, alternatively, these settings should be available in the configuration dialog even if one screen is present, which would be somewhat confusing. Right now, the setting being true inhibits any configuration through the "Configure Desktop" window.
Comment 4 Vincent Batts 2007-07-10 04:20:46 UTC
i second on this,
i will regularly alternate between dualscreen, or just the laptop screen. 
and if i 'want' to change my background, i have to manually clean ~/.kde/share/config/kdesktoprc -> end session -> sign in -> reset my preferences
Comment 5 Daniel Bausch 2008-07-10 00:48:27 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 FiNeX 2008-12-10 02:11:05 UTC
*** Bug 128234 has been marked as a duplicate of this bug. ***
Comment 7 FiNeX 2008-12-10 02:42:52 UTC
Kdesktop is no more mantained. Fortunatly this bug seems not to be valid for
KDE 4. Please reopen if this bug is not a kdesktop one (and it is not solved)
or it can be reproduced on KDE 4.
Comment 8 FiNeX 2009-01-02 20:32:51 UTC
Bug closed. Kdesktop is no more mantained.