Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sys tray icon is automatically added by QSystemTrayIcon (Fixes #357) #384

Closed
wants to merge 1 commit into from

Conversation

neoh4x0r
Copy link

Birdtray fails to start while waiting for the SystemTray to become available.

Per the QT documentation for QT4 & 5: https://doc.qt.io/qt-5/qsystemtrayicon.html#isSystemTrayAvailable

The system tray icon will be automatically added if the system tray is visible (even if it was
not available at launch).

Fixes issue #357

…ailable.

Per the QT documentation for QT4 & 5: https://doc.qt.io/qt-5/qsystemtrayicon.html#isSystemTrayAvailable

The system tray icon will be automatically added if the system tray is visible (even if it was
not available at launch).

Fixes issue gyunaev#357
@neoh4x0r
Copy link
Author

neoh4x0r commented Jun 28, 2020

It would seem that this does not completely fix the issue.

If I login to cinnamon (after a system restart) cinnamon will take a while to show the desktop and system tray.
When this happens birdtray is running (with this PR), but no system tray icon is showing.

If I logout of cinnamon and then log back in, birdtray is launched (and the system tray icon is shown).

I will push more commits to this PR once I debug the actual problem.

@gyunaev
Copy link
Owner

gyunaev commented Jun 29, 2020

This seem to be Wayland-specific issue, because this code is necessary on other desktop managers when Birdtray fails to start; see for example #46

Can you make this Wayland-only?

@neoh4x0r
Copy link
Author

This seem to be Wayland-specific issue, because this code is necessary on other desktop managers when Birdtray fails to start; see for example #46

Can you make this Wayland-only?

I don't know how to make it wayland-only...

There seems to be some issue that occurs at login after a restart....but does not occur after logging in once, then doing a logout/login.

I believe that this PR needs to be closed since it does not seem to address the actual issue.

Also the 60 second timeout might not be enough for some users (for me it might take 120 seconds before I see the desktop and taskbar).

@neoh4x0r neoh4x0r closed this Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants