[Libreoffice-bugs] [Bug 112830] RTL: Toolbar tooltips flicker heavily as mouse thinks its in the opposite location (Gtk2)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 15 18:45:06 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112830
--- Comment #5 from Maxim Monastirsky <momonasmon at gmail.com> ---
Some observations:
1) The toolbar gets lots of "mouse leaves the window" and "mouse enters the
window" events while moving the pointer over it. It probably shouldn't happen,
and indeed doesn't happen in a non-RTL UI.
2) The related code in the gtk3 backend got a RTL fix in Bug 106163. Applying
the same fix to the gtk2 backend eliminates the "mouse thinks its in the
opposite location" part of the bug, but the toolbar still heavily flickers
(after all it still gets excessive enter/leave events, as above). (BTW it isn't
clear why Bug 106163 was flagged as gtk3 related, as I can reproduce the same
with gtk2, so the fix is needed there too.)
3) Disabling toolbar tooltips completely, doesn't show the bug anymore, with or
without 2). There are no more excessive enter/leave events.
4) Disabling the mouse enter/leave handling completely in the gtk2 backend,
doesn't show the bug as well, but shows that the tooltips are clearly
misplaced.
So I think the trouble begins when the pointer reaches the tooltip (which
normally shouldn't happen), and that what makes the main window get the "mouse
leave the window" event.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171015/c3937e4a/attachment.html>
More information about the Libreoffice-bugs
mailing list