https://bugs.documentfoundation.org/show_bug.cgi?id=155092

--- Comment #14 from [email protected] ---
(In reply to Patrick Luby from comment #12)
> I forgot to thank @[email protected] for the excellent "trackingArea"
> suggestion. I would have never thought of that as a possible cause.

You're welcome. "Ask me how I know..."

Anyway, I've done some more experimenting to see if I can find a recipe that
reliably triggers the bug. Version numbers at the end of this message. I've
attached the spreadsheet "Three Colours.ods" that I've been using. It was
created from scratch for the test but otherwise there is nothing 'special'
about it.

Open the spreadsheet and leave it displaying the 'red' sheet. Start dragging
the lower right corner to resize the window and drag the corner around several
small (say about 2cm diameter on the screen) circles a few times and then,
without pausing or moving outside the window bounds, mouse-up and move the
mouse into the window. On my machine this messes up the mouse state in the
manner previously described as long as the mouse performs at least three
'orbits' and the mouse-up happens during the slingshot into the window.

Another comment about trackingAreas. Code using these can (and should) be
significantly simpler than the trackingRect approach. This is because once you
have attached the trackingArea to a view it is automatically resized when the
view geometry changes. Also, the options available for trackingAreas make much
of the fiddly housekeeping needed with trackingRects unnecessary.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to