Bug 83958 - The flag icon of KDE Keyboard Tool (kxkb) doesn't change when switching lanuguage
Summary: The flag icon of KDE Keyboard Tool (kxkb) doesn't change when switching lanug...
Status: RESOLVED DUPLICATE of bug 84606
Alias: None
Product: kxkb
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 03:52 UTC by Munzir Taha
Modified: 2004-07-12 00:49 UTC (History)
0 users

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 Munzir Taha 2004-06-25 03:52:46 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Unspecified Linux
OS:                Linux

I want to set my KDE Keyboard Tool to Switch to Next Keyboard Layout using the Keyboard Shortcut Ctrl+Shift or Alt+Shift as in M$ Windows instead of Alt+Ctrl+K. In the KDE Control Center's Global Shortcuts tab I doubled-clicked "Switch to Next Keyboard Layout", pressed Ctrl+Shift but it seems Ctrl+Shift alone is not accepted as a key binding(?!). Then, I tried Left Alt+Shift and it's accepted with Alt+ISO_Prev_Group written instead of Alt+Shift(?!). Now, it Alt+Shift works instead of Alt+Ctrl+K but the problem is with the icon of Kxkb (that stays in system tray as a flag with 2 or 3 letter abbreviation of layout name on top of it) doesn't change at all. The language changes but the flag doesn't change.
Comment 1 Stephan Kulow 2004-06-25 10:18:30 UTC
Please decide which is your bugzilla account - I will close the others. I won't accept you faking votes.
Comment 2 Munzir Taha 2004-06-25 19:21:10 UTC
No, no, Stephan. I am sorry, I thought this is legal. Don't close the other account since I have other bugs filed only with it and I promise not to vote with two accounts again.

Another important issue is that I am the maintainer of
http://wiki.arabeyes.org/OpenBugs
on which I have gathered most of the bugs the Arabic community facing. I ask people to see if the bugs are applicable to them to vote. Is this legal?

Sorry again.
Comment 3 Stephan Kulow 2004-06-26 09:34:38 UTC
OK, I accept that.
Comment 4 Andriy Rysin 2004-07-10 21:25:04 UTC
The main problem here is that KDE does not accept modifier keys as shortcuts. Ctrl+Shift is modifier here. And Alt+Shift is your case is probably defined as group changer - then it becomes real key. But that means that with Alt+Shiftut you change the group inside the layout but not the layout itself - so shortcut for kxkb is not working. If your layout includes us group this is legal but is handled by X - not kxkb so the flag will not change.
As to the problem with assigning Alt+Shift (and other modifier keys) - it's an X specific and also lack of integration between X and KDE. As it's not kxkb problem - I'll mark it as duplicate of 84606 to be able to follow the general problem.

*** This bug has been marked as a duplicate of 84606 ***
Comment 5 Munzir Taha 2004-07-12 00:49:47 UTC
> Alt+Shift is your case is probably defined as 
> group changer - then it becomes real key

Where are such valuable information documented?

> Alt+Shiftut you change the group inside the layout but not the layout itself

But my 'ar' layout contains one group with two levels

xkb_symbols "basic" {
    name[Group1]= "Arabic";
   key <AD01> {  [      Arabic_dad,     Arabic_fatha     ]     };


Also, can I vote for the other bug or does my voting transfer automatically? I don't want to annoy Stephan Kulow again ;)