discord-screenaudio
discord-screenaudio copied to clipboard
Close to system tray doesnt work
Hello,
I tried to use the close to system-tray feature that's now being offered, except this feature isn't working for me. When i enable to the feature and close the application it will not be closed to the system tray and instead will be fully closed.
Reproduce:
- install latest discord-screenaudio (1.0.7)
- Login
- enable close to system-tray
- close window
- doesn't exit to system-tray
Flatpak Version: 1.0.7 OS: VanillaOS 22.10 DE: Gnome 43
Video of issue:
https://user-images.githubusercontent.com/41258148/221428164-01292d53-7241-41bc-9532-e69f36f0e510.mp4
Interesting, I thought Gnome doesn't have a system tray. Also interesting behaviour that the system tray icon is there, but closes with the program. Can you check the following things:
- Does toggling the setting switch fix the issue?
- What are the contents of
.var/app/de.shorsh.discord-screenaudio/config/<your username>/discord-screenaudio.conf
? - Even if the tray icon is missing, is the process still running (in the task manager)?
- Is background usage allowed for the flatpak? (You can check that with Flatseal, this is what it should look like)
Gnome by default does not offer a way to interact with an application that closes to the system tray but it does support the feature, thus you have to install an extension to show these system tray icons https://extensions.gnome.org/extension/615/appindicator-support/
- Retoggling the setting does not fix the issue
- if you mean by
<your username>
my computer user, that does not exist. it creates a folder calledmaltejur
and in ther config contents are:
[General]
trayIcon=true
- No the application is fully closed and nothing is running in the background
- It was turned off but even after turning it on the same behaviour still happens. It closes completely when i click the exit button
I'm having the same problem with Hyprland on Arch Linux. As its'a WM, there's no X button and I have a keybind to close the window. But instead of going to tray, app closes entirely. However if I click the icon on tray, it minimizes itself to tray successfully but that's not the expected behaviour as using a WM relies on keybinds.
@ouzdll I've added code on the master branch, which hides the application to the tray when Ctrl+Q is pressed. Would that solve your problem?
@maltejur Yess, tried and it's working. Thanks ^^
Great, and sorry for this happening a bit late :D
My Discord doesn't even run in the background, is this related to this, or should I open a new issue?