Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keybinding editor isn't focused under Metacity window manager #9

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 8 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Start X session with Metacity window manager
2. Open ibus-mozc keymap editor
3. Click the keymap table twice to open keybinding editor

What is the expected output? What do you see instead?

Keybinding editor should be raised and focused, but it appears behind
the keymap editor and isn't focused. This behavior is very annoying
because we must click the keybinding editor every time to bring up it.

What version of the product are you using? On what operating system?

I use ibus-mozc r25 in Ubuntu 10.04.

Please provide any additional information below.

I think the keybinding editor must send a client message
"_NET_WM_STATE = _NET_WM_STATE_ABOVE" to the root window when using
Metacity window manager.

Original issue reported on code.google.com by irieshin...@gmail.com on 28 May 2010 at 7:36

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Sorry, I made a mistake in additional information.

The client message that the keybinding editor needs to send is 
_NET_ACTIVE_WINDOW.

Original comment by irieshin...@gmail.com on 28 May 2010 at 8:04

@GoogleCodeExporter
Copy link
Author

Thanks for the report. Reproduced on Ubuntu Lucid x86_64.

Original comment by yusukes@chromium.org on 30 May 2010 at 12:32

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Thanks for the report.

Seems that this might be a bug of setFocusProxy() in Qt4, since the same code 
does work as expected on Windows/Mac.
We are going to pass a special window flag Qt::WindowStaysOnTop to the 
keybinding editor so that it is always displayed at the top of all other 
windows.
This is just a workaround but better than current situation.


Original comment by t...@google.com on 1 Jun 2010 at 7:20

@GoogleCodeExporter
Copy link
Author

Fixed it in revision 30, it is just a workaround though. Please check it.

Original comment by t...@google.com on 16 Jun 2010 at 11:30

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Umm... The keybinding editor is actually raised but not focused, so it still 
needs mouse clicking.

Please reopen this issue.

Original comment by irieshin...@gmail.com on 17 Jun 2010 at 12:08

@GoogleCodeExporter
Copy link
Author

Original comment by yusukes@chromium.org on 17 Jun 2010 at 12:20

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Original comment by yukawa@google.com on 1 Apr 2012 at 2:20

  • Added labels: OpSys-Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants