Version: 3.1.2 (using 4.1.3 (KDE 4.1.3), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.27-7-generic Not sure if this is a KDE or KTorrent issue. In KTorrent's Settings -> configure short-cuts window, the option to configure global short-cuts appears to be inaccessible. I can configure the default and alternate short-cut, but not the global option which does not have the greater than prefix. Thanks.
Seems to be a problem on all KDE apps, so I'm handing it over to the kdelibs people.
I think you can manage Global Shortcuts in Amarok. May be this is only related to some applications. Here using: Qt: 4.4.3 KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221)) kdelibs svn rev. 901348 / kdebase svn rev. 901348 on ArchLinux x86_64 - Kernel 2.6.27.10 I can't configure the "Global Shortcuts" when Configuring Shortcuts in KWrite (seems logical as it doesn't make sense doing something in KWrite if the windows isn't focused)
I can confirm this problem. Global shortcuts cannot be configured in KTorrent and Kate (and Kile doesn't even have them). Only Amarok has them working.
Maybe this can be turned into a wish to not show the Global shortcuts column in the Configure Shortcut dialog when the application doesn't allow it
(In reply to comment #4) > Maybe this can be turned into a wish to not show the Global shortcuts column in > the Configure Shortcut dialog when the application doesn't allow it > I disagree. KTorrent had global shortcuts in KDE 3.5. It's only in KDE 4 that they don't work. I don't know where the problem lies, but KTorrent for one needs them back.
Move to ktorrent. Global shortcuts have to be enabled by the application. We do not allow them to be assigned to every action. An application developer has to enabled that for each action it makes sense.
(In reply to comment #6) > Global shortcuts have to be enabled by the application. We do not allow them to > be assigned to every action. An application developer has to enabled that for > each action it makes sense. That sounds sensible. What I think it's missing, and would prove useful, is having a way for the developer to say: “Hey, I think it should be possible to configure a shortcut for this action, but I won't be providing a default shortcut myself.” The idea is that the developer may not want to pollute the global shortcut namespace, and let the user pick one only if the really want it. At the moment, it's only possible for the user to configure global shortcuts for an action if the developer has provided with a default one. Thoughts?
> At the moment, it's only possible for the user to configure global > shortcuts for an action if the developer has provided with a default > one. action->setGlobalShortcut(KShortcut()) That's how its done.
It is clear from the discussion that this is still a KTorrent bug. Can someone with the right permissions please reopen it as such?
Global shortcuts are configurable. This bug IS invalid. All that is missing is ktorrent/whatever marking some shortcuts as valid to get a global shortcut. It looks like the ktorrent developers decided to not provide global shortcuts in their kde 4 version. You have to make your case why you need them. And which ones you need. They have to enable then. Open a wish explaining which shortcuts you want to have accessible as global shortcuts. One per app.
> action->setGlobalShortcut(KShortcut()) > That's how its done. Oh, please excuse my ignorance, and thanks for the hint! (It works, of course.)
Great after nearly 8 months, we have finally established, that this is actually a ktorrent bug :-) > action->setGlobalShortcut(KShortcut()) > That's how its done. That is only half of the story, the action apparently also needs an object name, which is not set in ktorrent, hence it is not working. Must have missed that back then, or maybe the docs didn't mention this at the time. Anyway will fix this tomorrow.
SVN commit 1002150 by guisson: Make global shortcut to show and hide ktorrent work again BUG: 174541 M +2 -1 ChangeLog M +2 -1 ktorrent/gui.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002150
SVN commit 1002563 by mjansen: Do it correctly. ActionCollection::addAction( "<id>", action ) sets the objectname. It's not a good idea to set it to "ktorrent-show-hide-action" first and then try to change it to "show_kt". Neither for global shortcuts not for local shortcuts. The code will do the right thing (refusing to rename the action) but you should get a warning now. CCBUG: 174541 M +6 -10 gui.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002563