Comment #4 on issue 21349 by [email protected]: Can get stuck in window  
drag with custom frame + kwin
http://code.google.com/p/chromium/issues/detail?id=21349

I wasn't able to repro this under Xephyr (kwin 4.2.2), but I'm seeing it  
when I run
KDE directly.  It only shows up when I set the focus policy to "Click to  
Focus", but
seems to occur regardless of whether "Click raises active window" is  
checked or not.

This may be a KDE bug, since it looks like kwin is doing something  
timing-related in
response to _NET_WM_MOVERESIZE (a bit after I press the mouse button down,  
the window
becomes translucent).  Do you know of any other apps that use  
_NET_WM_MOVERESIZE to
initiate moves as soon as a button is pressed?  I tried audacious (apparent  
successor
to xmms), but it looks like it's probably grabbing the cursor and moving  
the window
itself (the cursor doesn't change).

This bit from EWMH possibly explains what's happening:

"The Client MUST release all grabs prior to sending such message (except  
for the
_NET_WM_MOVERESIZE_CANCEL message). ... Since there is a race condition  
between a
client sending the _NET_WM_MOVERESIZE message and the user releasing the  
button,
Window Managers are advised to offer some other means to terminate the  
operation,
e.g. by pressing the ESC key. The special value _NET_WM_MOVERESIZE_CANCEL  
also allows
clients to cancel the operation by sending such message if they detect the  
release
themselves (clients should send it if they get the button release after  
sending the
move resize message, indicating that the WM did not get a grab in time to  
get the
release)."

So maybe we can work around this.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to