Bug 288195

Summary: Widgets in System Tray forget their shortcuts
Product: [Plasma] plasma4 Reporter: Marcus Harrison <marcus>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: andrei.ilie, thelwyn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Bug Depends on:    
Bug Blocks: 260397, 260685    

Description Marcus Harrison 2011-12-04 13:33:41 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

Widgets in the System Tray with shortcuts assigned forget their shortcuts after Plasma has been shut down (or when Plasma has been started again). For example, if the Battery widget is given the Battery function key on my keyboard, it works - but after restarting Plasma (or logging out, restarting the computer etc.), the shortcut no longer works and I have to re-set it.

Reproducible: Always

Steps to Reproduce:
1. Right-click --> Configure any widget in the System Tray (Network Manager widget, Battery Monitor or New Device Notifier are all in the tray by default)
2. Click, "Shortcut"
3. Set a shortcut for the widget, click, "OK"
4. Test the shortcut
5. Restart plasma-*
6. Test the shortcut again

Actual Results:  
The shortcut works before restarting plasma, but after restarting plasma the shortcut is reset to None

Expected Results:  
The shortcuts are remembered across plasma sessions

OS: Linux (i686) release 3.0.0-14-generic
Compiler: gcc
Comment 1 Kolia 2011-12-05 12:50:49 UTC
I can confirm this in kde 4.7.3
Comment 2 Aaron J. Seigo 2011-12-06 16:43:06 UTC
Git commit 3b52507a923f512751b266503aef137d7ffac655 by Aaron Seigo.
Committed on 06/12/2011 at 17:32.
Pushed by aseigo into branch 'master'.

call restore on the applet so that things like keyboard shortcuts are enabled

BUG:288195

M  +3    -0    plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp

http://commits.kde.org/kde-workspace/3b52507a923f512751b266503aef137d7ffac655
Comment 3 Andrei ILIE 2012-02-28 11:17:59 UTC
I have the same problem here, on 4.6.5, with a global keyboard shortcut assigned for Klipper. After every logout the shortcut resets to default...

In what KDE release will this fix get into ?
Comment 4 Andrei ILIE 2012-02-28 13:04:31 UTC
Ok i got it, 4.8.0

Any chance for a backport to 4.7.X ?