Bug 201663 - Can't set shortcut for Plasma Dictionary Widget
Summary: Can't set shortcut for Plasma Dictionary Widget
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 200751 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-27 15:20 UTC by Octavian Voicu
Modified: 2010-05-22 11:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Octavian Voicu 2009-07-27 15:20:59 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

All widgets usually have a settings dialogue accessible either via the settings icon or via context menu (the NAME Settings option). Most have at least a shortcut assignment in this dialogue.

The Dictionary widget has no such settings dialogue. This is really useful since you can put the widget as an icon on a panel and assign a shortcut that would open the widget and allow you to quickly search for words.

I compared Dictionary sources with Calculator sources since they are very similar (both classes are extended from the PopupApplet class). Calculator has the settings dialogue with the shortcut key assignment. I couldn't find anything that explicitly enabled it in the sources, nor could I find something that explicitly disabled it in the Dictionary sources.

I noticed in the sources that the Dictionary applet should display a settings dialogue based on which engine is used for retrieving words. Unfortunately, there's no settings dialogue at all. I even tried commenting out all the code that was related to this custom configuration part, but still got no settings option.

Any ideas on how to fix this? Does it happen only for me? This applies both to the KDE 4.3 RC3 release and the latest trunk version.

Thank you
Comment 1 Aaron J. Seigo 2009-07-28 03:09:19 UTC
SVN commit 1003317 by aseigo:

let the applet do the thinking about wether or not the config action is enabled
CCBUG:201663


 M  +3 -6      containment.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1003317
Comment 2 Dario Andres 2009-08-19 18:25:05 UTC
*** Bug 200751 has been marked as a duplicate of this bug. ***
Comment 3 Henry Rust 2010-01-03 15:13:20 UTC
I also can't find a settings dialogue on KDE SC 4.3.4 with Qt 4.5.3.

@  Aaron J. Seigo: How can I enable the config action?
Comment 4 Aaron J. Seigo 2010-05-21 02:32:13 UTC
SVN commit 1129006 by aseigo:

allow showing of config; include a configChanged() to address that issue while we're in here
BUG:201663


 M  +12 -7     dict.cpp  
 M  +1 -0      dict.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1129006
Comment 5 Octavian Voicu 2010-05-22 11:11:48 UTC
Great, thanks!

Let's hope I can set a global shortcut now, it would be really handy :)