Bug 302515

Summary: Cannot change activity icon
Product: [Unmaintained] plasma4 Reporter: MacJariel <MacJariel>
Component: activitiesAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andralmer, chanika, christian.schlasza, david.narvaez, kde, maxime.haselbauer, meyerm, miniopl, nicodorn, pischanetsky, plasma-bugs, virgolus
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=295721
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: video showing that bug
.xsession-errors file from session when qdbus commands were run (see comment #2), debug info enabled

Description MacJariel 2012-06-25 16:18:22 UTC
I try to change activity icon but it don't change.

Reproducible: Always

Steps to Reproduce:
1. Click on button in the top-right corner of the screen (not sure about the name, but you know what I mean)
2. Select "Activities"
3. Click on the wrench icon next to an activity to be edited
4. Click on activity icon, a window to select new icon will popup
5. Select any icon, selected icon will be shown in the edit state of the activity
6. Now click on the apply button
Actual Results:  
New icon is not saved.

Expected Results:  
New icon should be saved to the activity and shown in the activity bar.

Activity renaming works.
Comment 1 Nico Dorn 2012-07-05 17:03:19 UTC
Confirmed for KDE 4.8.4 on Kubuntu. The bug already existed in 4.8.2, but not in 4.8.3.
Comment 2 Mirek Długosz 2012-07-17 11:30:39 UTC
I can reproduce this on 4.8.4 from Debian repository (amd64) and 4.8.4 from Arch Linux repo (i686, virtual machine running under said Debian).
I will attach video that shows this bug.
I also have tried command line DBus interface for changing activity icon, with no success. Commands were:
#v+
$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.ListActivities 
c7523bc9-6f3d-4aa1-950b-8bb509221b92
8fab4a52-0311-4133-9c87-237407ecfa45
$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.ActivityName c7523bc9-6f3d-4aa1-950b-8bb509221b92
Desktop
$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.SetActivityName c7523bc9-6f3d-4aa1-950b-8bb509221b92 test

$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.ActivityName c7523bc9-6f3d-4aa1-950b-8bb509221b92
test
$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.SetActivityName c7523bc9-6f3d-4aa1-950b-8bb509221b92 Desktop

$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.ActivityName c7523bc9-6f3d-4aa1-950b-8bb509221b92 
Desktop
$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.ActivityIcon c7523bc9-6f3d-4aa1-950b-8bb509221b92

$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.SetActivityIcon c7523bc9-6f3d-4aa1-950b-8bb509221b92 "/usr/share/icons/hicolor/128x128/apps/ktorrent.png" # this file does exist

$ qdbus org.kde.kactivitymanagerd /ActivityManager org.kde.ActivityManager.ActivityIcon c7523bc9-6f3d-4aa1-950b-8bb509221b92

$ 
#v-
Prior to that, I have enabled debugging messages for kactivitymanagerd and nepomuk using kdebugdialog. I will attach .xsession-errors file from session in which I have run above commands.

Also, this KDE forums thread may be useful:
http://forum.kde.org/viewtopic.php?f=67&t=106760
There are further reports of users that both can and can not reproduce this issue.

Best regards
Mirosław Zalewski
Comment 3 Mirek Długosz 2012-07-17 11:32:18 UTC
Created attachment 72582 [details]
video showing that bug
Comment 4 Mirek Długosz 2012-07-17 11:33:55 UTC
Created attachment 72583 [details]
.xsession-errors file from session when qdbus commands were run (see comment #2), debug info enabled
Comment 5 Ezio Vergine 2012-07-19 21:27:35 UTC
same problem here.
Arch linux -kde 4.8.4
Comment 6 Janek Bevendorff 2012-07-21 21:06:26 UTC
*** Bug 303884 has been marked as a duplicate of this bug. ***
Comment 7 Janek Bevendorff 2012-07-21 21:08:12 UTC
Can't confirm for 4.8.97.
Seems to be a real issue in 4.8.4, though.
Comment 8 Maarten De Meyer 2012-07-24 16:24:17 UTC
*** Bug 295721 has been marked as a duplicate of this bug. ***
Comment 9 David E. Narvaez 2012-07-24 16:31:49 UTC

*** This bug has been marked as a duplicate of bug 295721 ***
Comment 10 Dmitry 2012-07-24 20:55:27 UTC
Same problem with Linux Mint 13 KDE (4.8.4)
Comment 11 MacJariel 2012-08-17 10:52:11 UTC
Seems fixed in 4.9.0.