[openbox] Anyone else seeing this?

Marius Nita marius at cs.pdx.edu
Mon Nov 4 16:58:07 EST 2002


On Mon, Nov 04, 2002 at 03:51:58PM -0600, Bryan Ericson wrote:
> Hello All -
> 
> I think I've discovered a cosmetic bug in Openbox.  If you click and
> hold your mouse pointer in a window title bar and then move the mouse
> very quickly (that is, drag a window, but the first part of the drag
> must be very fast), the position of the pointer and the position of the
> title bar get out of sync.  If you move your mouse up, for example, the
> pointer on the screen will end up above the title bar.  Moving the mouse
> will move the window appropriately, although the pointer is no longer
> on the title bar.

yup, we know. i have a trackball mouse, and if i fling the ball up really
hard, i can kick my pointer 300 pixels away from the titlebar while still
keeping the moving state.

the upcoming openbox overhaul will solve all these little quirks.

> I have opaque moving turned on, but the problem is also present with
> opaque moving turned off.  I haven't looked at the code yet (soooo many
> projects, so little time :-( ), but at first glance it seems to me that
> the window frame isn't "grabbed" until after the first mouse movement
> after the mouse-down event.  When the mouse is moved, the frame is
> "grabbed" and the window can be dragged normally, but the delay between
> mouse-down and mouse-move can allow for the pointer and the frame to get
> out of sync.
> 
> My guess is this will show up more on slower computers, where there is a
> (slightly) longer delay between interrupt events generated by the mouse.
> FWIW, I'm using openbox on FreeBSD, but I seriously doubt that makes any
> difference.
> 
> Bryan



More information about the openbox mailing list