[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Problems with QSystemTrayIcon
From: Sundance <sundance () ierne ! eu ! org>
Date: 2009-02-19 14:10:45
Message-ID: 200902191510.45941.sundance () ierne ! eu ! org
[Download RAW message or body]
Philippe Fremy wrote:
> I am having problem to get QSystemTrayIcon to work. I am running on
> windows XP and I never see any notification messages.
>
> My setup: windows XP, PyQt 4.3.3, python 2.5
Hi Philippe,
Your code looks fine to me, and works fine here on Linux (Qt 4.4.3, PyQt
4.4.4).
According to the Qt documentation, the .showMessage() method may fail to
display its message depending on the system's configuration (this seems
to be irrespective of what .supportsMessages() tells you -- because
message are /supported/ doesn't mean they /will/ necessarily be
displayed).
So perhaps you may want to start looking in that direction.
Otherwise, well, if I had this problem, I think I'd solve it by going a
different route entirely, since .showMessage() is, as per the
documentation, officially unreliable. Do you think you could, for
instance, animate the tray icon when there is a pending message, and
then open a passive pop-up when the user clicks the icon? A bit more
work, I know, but such is the price of reliability in the face of
uncooperative operating system.
HTH,
-- S.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic