System tray "close" dialog needs work

Aaron J. Seigo aseigo at kde.org
Wed Jan 5 19:58:12 GMT 2005


On Wednesday 05 January 2005 11:33, Ismail Donmez wrote:
> On Wednesday 05 January 2005 14:45, Waldo Bastian wrote:
> > The system tray dialog is not quite ok yet. See screenshot. I got this
> > dialog when I removed akregator from the system tray. Note that the
> > dialog shows KMail.
>
> Well we experience the same with Konversation. We need a way to check if
> the app is hidden or not. Maybe aseigo has some pointers for us?

you should be able to check isVisible() on the icon to see if the user has 
hidden it, though this probably won't help in the case of hidden panels (they 
are "visible", but off-screen). so in addition to checking isVisible(), one 
would also likely have to see if the current coordinates are within the 
screen rect... 

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050105/35d4bd20/attachment.sig>


More information about the kde-core-devel mailing list