<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Infinite event loop in vcl/unx/gtk3/gtk3gtkdata.cxx"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136512#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Infinite event loop in vcl/unx/gtk3/gtk3gtkdata.cxx"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136512">bug 136512</a>
from <span class="vcard"><a class="email" href="mailto:mbox.789@posteo.org" title="Tom <mbox.789@posteo.org>"> <span class="fn">Tom</span></a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>