https://bugs.freedesktop.org/show_bug.cgi?id=47275

--- Comment #26 from Tor Lillqvist <[email protected]> ---
The problem seems to be caused by the use of static_cast in
AquaA11yFocusTracker::WindowEventHandler():

pFocusTracker->menu_highlighted( static_cast < const VclMenuEvent * > (pEvent)
);

IN the crash case, the *pEvent object is actually a VclAccessibleEvent, not a
VclMenuEvent. So no wonder the code crashes. It should be trivial to prevent
the crash by using dynamic_cast instead and check if that returns NULL. Then
the code at least won't crash. But how to make this code do what the author has
intended it to do, to make accessibility work fully, no idea.

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

Reply via email to