Bug 57540 - Multimedia and Modifier Keys. global and application level
Summary: Multimedia and Modifier Keys. global and application level
Status: RESOLVED DUPLICATE of bug 60626
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ellis Whitehead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-22 09:52 UTC by Jarne Cook
Modified: 2004-05-19 10:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarne Cook 2003-04-22 09:52:44 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    Debian stable Packages
OS:          Linux

I have not given much thought to this so the following will be a brain dump.

Currently I have a "Microsoft Internet Keyboard".  It has the following buttons.
Back, Forward, Stop, Mail, Search, Favorites, Web/Home, My Computer, Calculator, and Sleep.

Straight up i will say that calculator, and My computer should default to kcalc and konqueror $HOME.  Mail should be kmail.
Maybe Sleep should be lock screen (whatever) and Win+Sleep should shut the PC down.

Whats left? ... Back, Forward, Stop.  Search, Favorites, Web/Home.

I propose that the following (default yet overideable behaviour) be set up.

Konqueror should overide the default keys (if allowed by some option) so that:
"Back" goes back in the history.
"Forward" goes forward in the history.
"Stop" stops the page from loading.
"Search" goes to the default search engine such as google.
"Favorites" toggles the sidebar / shows the favorites item.
"Web/Home" if in file manager mode ... goes to $HOME and if in web browser mode goes to some other page (such as google or slashdot).

Applications should also be able to overide modified special keys (if its globally set).  For example Win/Ctrl/Alt/Shift + Back.

Applications that could use this are konqueror, konsole, kmail.

Now, if we are in an application that _has not_ overiden the "Internet/Multimedia" key then the global setting should be used.

Eg. Say that the Global Action for "Back" is to go back one desktop, and the current focused application is xmms.  The desktop would cycle back one.  If however the application was konq then konq would go back one in its history.

I think ill come up with a "Windows Advanced" Keybord Shortcuts for global and application.
Comment 1 Jarne Cook 2003-04-22 10:16:04 UTC
oh yes ... and i forgot  
 
I would be nice to have the windows key behave in 2 ways. 
 
If it is pressed then released then the KMenu should popup. 
 
If it is pressed and held then it should behave as a modifier key. 
 
But this it prob impossible with X atm. 
Comment 2 Stephan Kulow 2003-04-23 10:39:39 UTC
Ellis: JFYI - I have such a keyboard too :) 
Comment 3 Lauri Watts 2003-10-23 16:40:16 UTC
*** Bug 66132 has been marked as a duplicate of this bug. ***
Comment 4 Lubos Lunak 2003-10-24 11:03:26 UTC
I'm not that sure this is actually technically possible ...
Comment 5 Lubos Lunak 2004-05-19 10:06:22 UTC

*** This bug has been marked as a duplicate of 60626 ***