[Libreoffice-bugs] [Bug 136512] Infinite event loop in vcl/unx/gtk3/gtk3gtkdata.cxx

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 8 19:58:44 UTC 2020


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

--- Comment #16 from Tom <mbox.789 at posteo.org> ---
ad a)

Replacing m_pWindow with m_pFixedContainer has a strong effect. The event loop
is broken and I get only 10 of my "call_userEventFn" debug messages, if I do
not interact per keyboard or mouse with LO.

Replacing m_pWindow with pEventWidget has the same strong effect.


ad b)

If I replace in GtkSalFrame::signalStyleUpdated

    GtkSalFrame::getDisplay()->SendInternalEvent( pThis, nullptr, 
    SalEvent::SettingsChanged );

by

    static int foo;
    fprintf(stderr, "hello world %d\n", foo++);

I get the behavior reported on 2020-09-07 17:01:30 UTC. Here is the total list
of your and my debug messages printed, if I do not interact per keyboard or
mouse with LO. The event loop is broken and GtkSalFrame::signalStyleUpdated is
only called 3 times.

   hello world 0
   hello world 1
   call_userEventFn: 1
   call_userEventFn: 2
   call_userEventFn: 3
   call_userEventFn: 4
   hello world 2
   call_userEventFn: 5
   call_userEventFn: 6
   call_userEventFn: 7
   call_userEventFn: 8


As the event loop is concerned, all these changes fix the problem. Is there any
possible side-effect that you may want me to check for either change?

Regards
Tom

-- 
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/20200908/5d8c79c3/attachment.htm>


More information about the Libreoffice-bugs mailing list