Bug 288195 - Widgets in System Tray forget their shortcuts
Summary: Widgets in System Tray forget their shortcuts
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks: 260397 260685
  Show dependency treegraph
 
Reported: 2011-12-04 13:33 UTC by Marcus Harrison
Modified: 2012-05-21 22:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ?