Skip to content
This repository has been archived by the owner on Sep 23, 2019. It is now read-only.

Tray Icon Issue on OS X #35

Closed
vvangelovski opened this issue Mar 31, 2011 · 3 comments
Closed

Tray Icon Issue on OS X #35

vvangelovski opened this issue Mar 31, 2011 · 3 comments

Comments

@vvangelovski
Copy link
Contributor

Due to what seems to be a bug in the QT framework for OS X even single clicks on the tray icon are registered as double clicks. This causes the application window to jump around minimizing/maximizing on each click on the icon. Even if this wasn't the case, the equivalents of tray icons on OS X are usually not expected to serve to minimize/maximize on double click or do anything on double click for that matter. They serve and behave more like menu nodes with fancier graphics.

Question is, should I just remove the tray icon double click handling code in the OS X branch or wrap it within an ifdef? Or maybe set a property on the main window when initializing that holds the current OS and add that into acount?

@minimoog
Copy link
Owner

I don't why this line is in code

https://github.com/minimoog/qtwitdget/blob/master/mainwindow.cpp#L277

:)

Clicks and double clicks leads to same action.

Maybe we just need to remove double clicks in system tray on all platforms?

@vvangelovski
Copy link
Contributor Author

yeah, missed the missing break statement :)

@minimoog
Copy link
Owner

minimoog commented Apr 1, 2011

Fixed.

@minimoog minimoog closed this as completed Apr 1, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants