Alt+Shift+Tab makes desktop inaccessible [was: help for fixing #153211]

Andreas Pakulat apaku at gmx.de
Fri Dec 7 11:44:26 GMT 2007


On 07.12.07 11:51:43, Lubos Lunak wrote:
> On Thursday 06 of December 2007, Andreas Pakulat wrote:
> > On 06.12.07 22:57:02, Andreas Pakulat wrote:
> > > I'd like to ask for some help to fix:
> > >
> > > https://bugs.kde.org/show_bug.cgi?id=153211
> > >
> > > It really annoys me, as I have to frequently restart the session because
> > > I keep hitting that, simply because its a common shortcut.
> 
>  That seems to be a problem of KGlobalAccel, it doesn't release keyboard grab 
> when it gets a keyboard event it should handle but fails to do so.

Thanks for the pointer. Maybe I can find something with that. 

> In this specific case the event is not recognized because Shift+Tab in
> X is not actually Shift+Tab but Backtab, ISO_Left_Tab or whatever
> idiocy it is (you can see that when you run xev).

Indeed its the ISO_Left_Tab.

> the second one probably needs workarounds in
> kdeui/utils/kkeyserver_x11.cpp. I'll try to get to it somewhen if
> nobody else manages to fix it until then.

Hmm, looking at a shortcut widget, the solution might be as easy as
switching the default in kutils/kdeglobals.kcfg. Here Alt+Shift+Tab
produces "Alt+Shift+Backtab", or is that value different for different
Xorg versions? If so, I guess the best way to have a minimal fix in
kde4.0 is getting the shortcut kcm in shape (/me takes a note).

> PS: See AllowDeactivateGrabs/AllowClosedownGrabs in man xorg.conf.

Ah, interesting thanks.

Andreas

-- 
Reply hazy, ask again later.




More information about the kde-core-devel mailing list