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

--- Comment #4 from Julien Nabet <serval2...@yahoo.fr> ---
Sorry I forgot to pinpoint something:
it crashes in acceptableWheelScrollTarget method so
shouldReusePreviousMouseWindow must return true.
Reading this part:
   1320 //If the last event at the same absolute screen position was handled by
a
   1321 //different window then reuse that window if the event occurs within
1/2 a
   1322 //second, i.e. so scrolling down something like the calc sidebar that
contains
   1323 //widgets that respond to wheel events will continue to send the event
to the
   1324 //scrolling widget in favour of the widget that happens to end up under
the
   1325 //mouse.
   1326 static bool shouldReusePreviousMouseWindow(const SalWheelMouseEvent&
rPrevEvt, const SalWheelMouseEvent& rEvt)
   1327 {
   1328     return (rEvt.mnX == rPrevEvt.mnX && rEvt.mnY == rPrevEvt.mnY &&
rEvt.mnTime-rPrevEvt.mnTime < 500/*ms*/);
   1329 }
it means you must scroll fast enough to reproduce the crash (less than 0.5s
between each scroll)
Indeed, if I wait, let's say 1 sec for example, between each scroll, I got no
crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to