| Summary: | Can't set desktop background image | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Michele Calgaro <michele.calgaro> |
| Component: | tdebase | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | bugwatch, darrella, kb9vqf, kilolima, michele.calgaro, slavek.banko |
| Priority: | P3 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | amd64 | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2014 | ||
|
Description
Michele Calgaro
2013-10-19 10:33:31 CDT
I tried it on my test machine on Debian Squeeze and have not noticed any problems. I've set a different picture on each of four desktops. I remember last year in December it used to work fine. But recently it doesn't, even if I can't tell exactly from when. One thing is that the two colors of desktop 1 and 2 are colors that I set some time ago. My guess is that for some reasons those colors take precedence, even if I try to change the picture again. I opened this bug as a reminder of something I need to fix I found were the problem lies. In my ~/.trinity/share/config/kdesktoprc file, the variable 'DrawBackgroundPerScreen_X' was true for X equals to 0 and 1 and false for X equals 2 and 3. This is something that comes from when I was using two monitors together. Now I am using a single monitor and if that variable is true, it prevents setting the background correctly. If the variable is false, the background information are read from the section '[DesktopX]', instead if the variable is true they are read from '[DesktopXScreenY]' where X is the desktop and Y is the monitor number. The problem is that the 'Configure Desktop' dialog does not change the value of 'DrawBackgroundPerScreen_X' to false if there is only a single display connected and I assume that during rendering there is no check either. One way to fix this is to add a checkbox in the 'Configure Desktop' dialog that allows the user to select how to draw the background: either by screen or by desktop. Another way would be for the 'Configure Desktop' dialog to update the entry '[DesktopXScreen0]' when using only a single monitor if the 'DrawBackgroundPerScreen_X' is true. The second solution is probably more elegant, but leaves the problem that once the 'DrawBackgroundPerScreen_X' is set to true, the user has no option to reset it if his monitor configuration changes (expect for manually editing the file). Which option do you think is better? I prefer option 1, because it gives the user the possibility to choose. I vote for option 1. :-) I have this same problem on Fedora 19. After adding a second monitor, and then at the next boot reverting to only the single laptop display, I was unable to change the desktop background in any way. I could make changes in the desktop settings dialog and hit apply but no changes were actually made. I edited the desktoprc file as noted here in the comments and set the values to false. This did allow the desktop background to be configured again normally. This has been fixed in GIT hash 408f224. I elected to fall back to the single screen configuration when only one screen is present. This is transparent to the user and preserves the multi-screen configuration on systems such as laptops that may switch continually between single- and multi-head setups. Thanks for reporting, and for tracking down the root cause! |