Jim,

Thank you for the garbage collection info link and the restructured code
sample that works in Spyder. It looks quite relevant and helpful if even a
bit too complicated for me to understand from the first glance.

As to the zetcode tutorials, I am at "Dialogs in PyQt5", and so far I have
not encountered any further issues while running the tutorial code samples
in Spyder. I keep using self.close handler to exit apps, and btw at some
point in the tutorial they too stopped using app.quit and switched to
self.close (without explaining why).

I had no problem with the "View StatusBar" tutorial code, which worked
properly both in Spyder and from the command line on my system. I do not
know why the app unexpectedly terminates when run from the command line on
your system, but the behavior when run in Spyder that you described as
symptoms sounds like the intended functionality to me. My understanding is
that, apart from the initial "ready" message that legitimately disappears
for good after you rollover the menu bar, the only thing to see in the
status bar of this Qt application is the status bar tip for the toggle
action menu item itself. So, when it is checked and you hover the mouse
pointer over it, you see the status bar tip, and you do not see the tip
when the action item is unchecked. This is how it works on my system, and,
judging by you description, it appears to work the same way on yours, which
I think is the intended behavior.

Konstantin

On Sat, Aug 26, 2017 at 9:58 PM, jimmott via spyder <
[email protected]> wrote:
[...]
> Incidentally, how far along in the zetcode tutorials are you? Were you
able to get the "View StatusBar" checkMenu's QAction to work properly? I
was thinking about posting this as another, separate
Windows+Python3+PyQt5+Spyder issue...
>
> Here are my symptoms: Running the checkMenu code in Spyder, the toggle
doesn't permanently change the statusBar view on/off as I believe is
intended. The statusBar message turns off permanently just by hovering the
mouse cursor over the View menu label. Then, the only way to get the
statusBar message to be visible again is to click the checkMenu "View"
button and hover the mouse over the text in the QAction sub-menu.
Alternatively, when I run this same code from the command line, the
checkMenu QAction to toggle whether the StatusBar is visible or not
actually terminates the application instead.
>
> Let me know when you get to this point in the tutorial or what you
experienced if you've already tried it out...
>
> Jim

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to