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

--- Comment #16 from Tom <mbox....@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to