http://bugs.winehq.org/show_bug.cgi?id=15469
Summary: windows in a virtual desktop only get keyboard focus when the mouse is on them Product: Wine Version: 1.1.5 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com
Steps to reproduce:
1. Run "wine explorer /desktop=x notepad". 2. Hover the pointer over the notepad window and type. Text appears. 3. Hover the pointer over the desktop background and type. No text appears.
http://bugs.winehq.org/show_bug.cgi?id=15469
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-09-29 09:06:09 --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=15469
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=15469
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2008-10-29 16:41:35 --- Right now, virtual desktops ignores WM_TAKE_FOCUS requests, meaning the virtual desktop can be focused but its subwindows cannot. However, if a subwindow of the window that has the focus expresses interest in keyboard events (as these do), and the pointer is on that subwindow, keyboard events will go to that window. As long as X keyboard events go to the right thread, the server processes them as events on that thread, and the messages go to the right place.
I can hack around this by sending all keyboard events that go through the server without a thread id, letting the server sort out which window should ultimately get the message, even though the X event goes to the wrong place.
I'm told the proper solution is to set the X focus so the keyboard events go to the right place, but getting all of this to work properly together is difficult.
http://bugs.winehq.org/show_bug.cgi?id=15469
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2009-11-12 22:32:10 --- This should be fixed now.
http://bugs.winehq.org/show_bug.cgi?id=15469
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:14 --- Closing bugs fixed in 1.1.33.