ogata0916 / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
Thanks for the report. Reproduced on Ubuntu Lucid x86_64.

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

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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