<html><head></head><body><div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">Hi Dariusz.<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">What do you mean precisely?<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; "><div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
<br>
</div>
<br><br><br>
<div class="gmail_quote">On Wed, Jun 13, 2018 at 7:52 PM +0200, "Dariusz Makowski" <span dir="ltr"><<a href="mailto:dariusz1989@gmail.com" target="_blank">dariusz1989@gmail.com</a>></span> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="3D"ltr"">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I think you can specify a time for that processEvents() as well so
it does larger process than a small one. Maybe that could help?<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 13/06/2018 18:29,
<a class="moz-txt-link-abbreviated" href="mailto:kristof.mulier@telenet.be">kristof.mulier@telenet.be</a> wrote:<br>
</div>
<blockquote type="cite" cite="mid:1936811917.387068303.1528910946596.JavaMail.zimbra@telenet.be">
<div style="font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt; color: #000000">
<div>Dear PyQt users,</div>
<div><br data-mce-bogus="1">
</div>
<div>I believe we're one step closer to the solution. Please
read the <strong>EDIT</strong> at the very end of the
StackOverflow question:</div>
<div><br data-mce-bogus="1">
</div>
<div><span style="font-size: 13.3333px;" data-mce-style="font-size: 13.3333px;"><a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/50841486/pyqt5-too-many-signals-fired-in-short-timespan-causes-a-stack-overflow">https://stackoverflow.com/questions/50841486/pyqt5-too-many-signals-fired-in-short-timespan-causes-a-stack-overflow</a></span><br data-mce-bogus="1">
</div>
<div><span style="font-size: 13.3333px;" data-mce-style="font-size: 13.3333px;"><br data-mce-bogus="1">
</span></div>
<div><span style="font-size: 13.3333px;" data-mce-style="font-size: 13.3333px;"><span style="font-size: 13.3333px;" data-mce-style="font-size:
13.3333px;">I noticed that the repeated call to <span style="font-family: "lucida console",
sans-serif; background-color: rgb(255, 255, 153);" data-mce-style="font-family: 'lucida console',
sans-serif; background-color: #ffff99;">app.processEvents()</span>
is the culprit, when called too often in a short timespan.
Removing that line from the code in the slot, solved the
issue. But it takes down the responsiveness of my GUI. So
I thought, why not query first if there are any events to
get processed anyway? Unfortunately, the function <span style="color: #000000; font-family: 'lucida console',
sans-serif; font-size: 13.3333px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: 400; letter-spacing: normal;
orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: #ffff99; text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;" data-mce-style="color:
#000000; font-family: 'lucida console', sans-serif;
font-size: 13.3333px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: 400; letter-spacing: normal;
orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: #ffff99; text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">hasPendingEvents()</span></span></span><span style="font-size: 13.3333px;" data-mce-style="font-size:
13.3333px;"> is not safe to use when there are any
non-main-threads running in the entire application. That's
not okay.</span></div>
<div><span style="font-size: 13.3333px;" data-mce-style="font-size: 13.3333px;"><br data-mce-bogus="1">
</span></div>
<div><span style="font-size: 13.3333px;" data-mce-style="font-size: 13.3333px;">Please help...</span></div>
</div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
DARIUSZ MAKOWSKi
CGI-Photographer
07 590 530 854
<a class="moz-txt-link-abbreviated" href="mailto:Dariusz@Dariuszmakowski.com">Dariusz@Dariuszmakowski.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.dariuszmakowski.com">www.dariuszmakowski.com</a></pre>
</div>
</blockquote>
</div>
</body></html>