Summary: | Background settings ignore Xinerama hint changes | ||
---|---|---|---|
Product: | kdesktop | Reporter: | Isaac Wilcox <iwilcox> |
Component: | general | Assignee: | David Faure <faure> |
Status: | CLOSED UNMAINTAINED | ||
Severity: | normal | CC: | finex, sandro |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Working, external monitor present
Working, just laptop screen Broken, after re-attaching external monitor |
Description
Isaac Wilcox
2006-03-02 17:52:54 UTC
Created attachment 14926 [details]
Working, external monitor present
Created attachment 14927 [details]
Working, just laptop screen
Created attachment 14928 [details]
Broken, after re-attaching external monitor
After a little investigation it appears it's got nothing to do with ignoring Xinerama events. QT provides a signal and kdesktop duly binds it to KBackgroundManager::desktopResized(), and it definitely gets called. The problem is that KBackgroundManager::desktopResized() is just somehow failing to do all it should. Whatever it is that's being forgotten at resize time is covered when a full config reparse happens, so it's a matter of finding out what and making sure desktopResized() does it too. This annoys me enough that I'm working around it (not quite enough to make me fix it yet though :) ). I use an ACPI hotkey on my laptop to toggle the external monitor, so I've just added the following to the hotkey script after my xrandr call: KDESKTOPRC=$HOME/.kde/share/config/kdesktoprc perl -p -i -e 's/^(DrawBackgroundPerScreen_\d)=true/$1=false/' $KDESKTOPRC dcop kdesktop KBackgroundIface configure perl -p -i -e 's/^(DrawBackgroundPerScreen_\d)=false/$1=true/' $KDESKTOPRC dcop kdesktop KBackgroundIface configure 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. Bug closed. Kdesktop is no more mantained. |