Bug 149789 - choose keystrokes to pass through or intercept
Summary: choose keystrokes to pass through or intercept
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-12 01:23 UTC by Krishna Sethuraman
Modified: 2008-03-20 23:05 UTC (History)
1 user (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 Krishna Sethuraman 2007-09-12 01:23:17 UTC
Version:           3.5.5 (using KDE KDE 3.5.5)
Installed from:    Debian stable Packages
OS:                Linux

I'd like to specify a list of key combinations to pass through, and/or intercept.  I suppose krdc tries its best to get all keystrokes, so I might be asking for a lot.  As an example,
I personally would like the ability to specify:

intercepted and interpreted by kwin:
* control-f1...n so I can always switch between kwin desktops regardless of what's happening in rdesktop or vnc.

passed through:
* alt-tab
* control-escape
* control-alt-delete (tricky, I suspect -- perhaps control-alt-home/end/next/prev/insert could be translated to pass that key sequence through).

Another option would be a hotkey to jump the cursor to the top control area so I could then hit my kwin-intercepted keystroke.    I suspect this wish has to do with kwin-krdc integration and I know that trapping/handling key events under X has always been problematic, but an intercept/passthrough feature would make this utility even more useful than it already is.

Thank you for an excellent and very helpful program.
Comment 1 Urs Wolfer 2008-03-20 23:05:54 UTC
SVN commit 788165 by uwolfer:

Completely change the behavior of entering special keys (like Ctrl+Alt+Del). Do not show a modal dialog which needs to be closed after every key sequence; instead replace it with a toggle action which can be enabled to fetch every possible key (all except some X server shortcuts like Ctrl+F1) while the remote desktop has the focus. This should improve the the workflow quite a lot. Please note that KWin shortcuts like Alt+Tab are not active while this mode is active and the remote desktop has the focus.
BUG:149789
BUG:104680
CCBUG:153782

 M  +0 -1      CMakeLists.txt  
 M  +2 -2      krdcui.rc  
 M  +1 -1      main.cpp  
 M  +9 -10     mainwindow.cpp  
 M  +1 -1      mainwindow.h  
 M  +39 -0     remoteview.cpp  
 M  +19 -0     remoteview.h  
 D             specialkeysdialog.cpp  
 D             specialkeysdialog.h  
 M  +12 -9     vnc/vncview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=788165