[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasma] [Bug 326957] New: Need two login attempts for KDE Wallpaper settings in plasma-desktop-appl
From:       <ashish.k.shah () gmail ! com>
Date:       2013-10-31 18:11:43
Message-ID: bug-326957-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=326957

            Bug ID: 326957
           Summary: Need two login attempts for KDE Wallpaper settings in
                    plasma-desktop-appletsrc file on dual head setup to
                    take effect
    Classification: Unclassified
           Product: plasma
           Version: unspecified
          Platform: RedHat RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: wallpaper-image
          Assignee: p.capriotti@gmail.com
          Reporter: ashish.k.shah@gmail.com
                CC: plasma-bugs@kde.org

Wallpaper settings done from plasma-desktop-appletsrc config file on dual head
setup needs two login attempts for settings to take effect on both the
monitors. 

KDE: 4.3.4 (KDE 4.3.4)
Plasma Workspace: 0.3


Reproducible: Always

Steps to Reproduce:
Used below config file to set background for two monitors configured to have
spanning desktop:

cat
/usr/share/kde-settings/kde-profile/default/share/config/plasma-desktop-appletsrc

[Containments][1][Wallpaper][image]
userswallpapers=/usr/share/wallpapers/Air/
wallpaper=/usr/share/wallpapers/Air/
##wallpaperposition=2
screen=0

[Containments][2][Wallpaper][image]
userswallpapers=/usr/share/wallpapers/Air/
wallpaper=/usr/share/wallpapers/Air/
##wallpaperposition=2
screen=1


Actual Results:  
Changes made in above file takes effect only for one monitor upon first login.
The background is set on second monitor as well upon second login and then it
continues to work there after.

Found that it is generating and referring wallpaper in/from cache directory...

/var/tmp/kdecache-USER/plasma-wallpapers/usr/share/wallpapers/

File for one monitor is generated upon first login and then for second monitor
upon next login.

/var/tmp/kdecache-user/plasma-wallpapers/usr/share/wallpapers/Evening/contents/images/1280x1024.jpg_#386f96_0_1280x1024.png
                
/var/tmp/kdecache-user/plasma-wallpapers/usr/share/wallpapers/Evening/contents/images/1440x900.jpg_#386f96_0_1440x900.png


When cache file for both the monitors are already present in place, the
settings take effect immediately. 


Expected Results:  
When cache file is not present, Wallpaper cache file for both the monitors
should be generated upon first login itself and it should be used by kde. 


Tried to set the wallpaper using command line...

Read current config:

kreadconfig --file plasma-desktop-appletsrc --group Containments --group 1
--group Wallpaper --group image --key wallpaper kreadconfig --file
plasma-desktop-appletsrc --group Containments --group 2 --group Wallpaper
--group image --key wallpaper


Write new config:

kwriteconfig --file plasma-desktop-appletsrc --group Containments --group 1
--group Wallpaper --group image --key wallpaper /usr/share/wallpapers/Aghi/
kwriteconfig --file plasma-desktop-appletsrc --group Containments --group 2
--group Wallpaper --group image --key wallpaper /usr/share/wallpapers/Aghi/


Make settings take effect:

kquitapp plasma-desktop
plasma-desktop &

The problem is seen even with these steps. Wallpaper settings on second monitor
gets applied upon second attempt of "Make settings take effect" steps above.

-- 
You are receiving this mail because:
You are watching all bug changes.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic