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

Birdtray does not start #357

Closed
VINTX2 opened this issue May 1, 2020 · 10 comments
Closed

Birdtray does not start #357

VINTX2 opened this issue May 1, 2020 · 10 comments
Labels
bug Something isn't working

Comments

@VINTX2
Copy link

VINTX2 commented May 1, 2020

OS: Arch
Birdtray version: I can not open the app. I have installed birdtray from the AUR
Thunderbird version:68.7
Birdtray origin: AUR
Qt version: NA

Description

I have installed birdtray on GNOME Wayland, tried to start it, but nothing happened.
After 1-2 minutes, I got an error message, that the status/system bar can not be be controlled by this addon. It also says that a protocol were written in the file /tmp/log.txt, but there is no with that name.

To Reproduce

  1. Install birdtray from the aur on GNOME Wayland.
  2. Try to start it

Edit:
Tried to start it on GNOME Xorg. Still the same issue.

@VINTX2 VINTX2 added the bug Something isn't working label May 1, 2020
@VINTX2 VINTX2 changed the title Birdtray does not start (Wayland) Birdtray does not start May 1, 2020
@fritzcloud
Copy link

Can confirm this problem on Fedora 32 Gnome Wayland. Installed via flatpak.

@patjgardner
Copy link

Can confirm this problem on Fedora 32 Gnome Wayland. Installed via flatpak.

@Sirtz I'm using the flatpak on Fedora 31 Gnome Wayland, and a fix is to run:

sudo flatpak override --env=QT_QPA_PLATFORM="xcb" com.ulduzsoft.Birdtray

and then try running Birdtray.

@neoh4x0r
Copy link

@Mikail0 I get the same problem on Debian 9 (Stretch) / birdtray 1.8.0 / Cinnamon 3.2.7
However, for me I only get that message when logging in "status/system bar can not be be controlled by this addon"
Although once I am logged in, I can start birdtray manually without recieveing that error.

I have checked out the latest source 3541386
I will be seeing if I can debug this issue.

$ /usr/bin/birdtray --version
birdtray 1.8.0

$ /scripts/get_release 

          Distribution: Debian 
               Version: 9 (debian version: 9.12)
     Support Lifecycle: N\A
              Codename: 9 (stretch) 
              Fullname: Debian GNU/Linux 9 (stretch) 

           Kernel Name: Linux
        Kernel Release: 4.19.0-0.bpo.8-amd64
        Kernel Version: #1 SMP Debian 4.19.98-1~bpo9+1 (2020-03-09)
  Machine Architecture: x86_64
      Operating System: GNU/Linux
              Hostname: desktop1

$ cinnamon --version
Cinnamon 3.2.7

neoh4x0r added a commit to neoh4x0r/birdtray that referenced this issue Jun 25, 2020
…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

It seems that birdtray fails to start because it was calling ensureSystemTrayAvailable() which will timeout after 60 seconds.
There isn't a need to call ensureSystemTrayAvailable() because QSystemTrayIcon will automatically add the icon once the system tray becomes available and is visible.

@Mikail0 If you can build from source you might want to test out this commit c75759c
It is from the PR I just posted.

@gyunaev gyunaev closed this as completed Oct 8, 2020
@Cherkah
Copy link

Cherkah commented Nov 22, 2020

OS: manjaro
Birdtray version: 1.9.0 (AUR)
Qt version: 5.15.1

Description

birdtray crash plasma wayland launch and do not launch as well.

To Reproduce

Install birdtray from the AUR on plasma Wayland (manjaro).

@gyunaev
Copy link
Owner

gyunaev commented Nov 22, 2020

Wayland is not supported.

@Cherkah
Copy link

Cherkah commented Nov 22, 2020

ok but in this case could you add this info to the "Troubleshooting" section in the README.md.

  • as well, if the wayland support is planify in the future or not at all?!!! (like this some people can push this feature to the mozilla/thunderbird dev team....)

regards

@gyunaev
Copy link
Owner

gyunaev commented Nov 22, 2020

#426

@gyunaev
Copy link
Owner

gyunaev commented Nov 22, 2020

Note that you're using an old version; if you build it from source it won't crash, but show/hide won't work.

@Cherkah
Copy link

Cherkah commented Nov 22, 2020

@gyunaev thanks i didn't seen the issue #426 .
regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants