<div dir="ltr"><div><div><div><div><div><div>The window manager is metacity here. I tried several others, they were not better.<br><br></div>The WindowStateChange event does happen. The eventFilter function does not do anything with it because the isHidingCandidate() function gives false. But the temporarilyHiddenOff function is called when the windows is restored. It is triggered by the Show event.<br></div><br></div>Weirdly, it never happens when I run the application through the debugger, stopping at breakpoints. But if I launch the same app (same debug build) directly, it happens always. Not always for the first time, though, sometimes only for the 3rd or 4th attempt of minimise / restore. But when it happened, there is no way to get the popup widget back.<br><br></div>Can it be related to the order in which some slots are called?<br><br></div>Cheers,<br></div>Miklos<br><div><div><div><br><br><br><div><div><div><div><br></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 December 2015 at 09:56, Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com" target="_blank">julien.finet@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Have you checked that the WindowStateChange event is processed in eventFilter() ? </div><div>temporarilyHiddenOff() should be called by ctkPopupWidgetPrivate::updateVisibility()<br></div><div>Maybe the popup widget gets its window state changed by the window manager ? in that case you might have to ensure it is restored.</div><div><br></div><div>Julien.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Dec 11, 2015 at 6:59 PM, Miklos Espak <span dir="ltr"><<a href="mailto:m.espak@ucl.ac.uk" target="_blank">m.espak@ucl.ac.uk</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi,<br><br></div><div>I am wondering if someone has seen this or has any idea for a workaround.<br><br></div><div>On RHEL 6 systems, if I pin the popup window and then minimize the entire application window and restore it, the popup window disappears and there is no way to get it back. It is really annoying, as the only way to see the popup window again is restarting the application.<br><br></div>I did some debugging, but have not found anything, the CTK part looks correct. This does not happen on Windows and Mac. Linux Mint KDE version (based on Ubuntu 14.04) works also well.<br><div><br></div><div>Anybody seen this?<br></div><div>Is it a GTK issue?<br></div><div>Any workaround or hint?<br><br></div><div>Thank you so much,<br></div><div>Miklos<br><br></div></div>
<br></div></div>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@public.kitware.com" target="_blank">Ctk-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/ctk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@public.kitware.com">Ctk-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/ctk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br></div>