Project

General

Profile

Support #976

System tray icon missing

Added by Nelson Suniaga about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
-
Target version:
-
Start date:
April 22, 2020
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

In Debian Buster, the Audacious 3.10.1-1 system tray icon is present but in the last stable version 4.0 and the 4.1-devel is not. I ignore if it's a dropped feature or just a bug.

I'm using Openbox 3.6.1-8.

tint2.png (23.4 KB) tint2.png John Lindgren, April 23, 2020 02:26

History

#1 Updated by John Lindgren about 4 years ago

  • Affects version 4.0.2 added
  • Affects version deleted (4.0.3)

It is working here. Which system tray are you using?

#2 Updated by John Lindgren about 4 years ago

  • Target version deleted (4.0.3)
  • Affects version 4.0 added
  • Affects version deleted (4.0.2)

#3 Updated by John Lindgren about 4 years ago

  • Category deleted (core)
  • Tracker changed from Bug to Support

#4 Updated by John Lindgren about 4 years ago

And do other Qt programs show a system tray icon?

#5 Updated by Nelson Suniaga about 4 years ago

John Lindgren wrote:

It is working here. Which system tray are you using?

tint2 16.6.1-1

#6 Updated by Nelson Suniaga about 4 years ago

John Lindgren wrote:

And do other Qt programs show a system tray icon?

So far I could see none Qt program can display an icon in the tint2 systray. Even compiling Audacious with GTK support the issue persists.

Anyway, Audacious 3.10.1-1 shows its icon in the tint2 systray.

#7 Updated by Thomas Lange about 4 years ago

Do you actually run Audacious 4.0 with GTK?
If you compile it with GTK support (in addition to Qt), you have to start Audacious with "audacious --gtk".
Is the system tray icon then working again?

#8 Updated by Nelson Suniaga about 4 years ago

Thomas Lange wrote:

Do you actually run Audacious 4.0 with GTK?

I compiled Audacious many times with --enable-gtk but the last times I did it just to give it a shot one more time, I enabled gtk once again and the result was the same.

If you compile it with GTK support (in addition to Qt), you have to start Audacious with "audacious --gtk".

audacious --gtk just bring the GTK interface instead of the Winamp Classic interface,

Is the system tray icon then working again?

the system tray icon is still missing in both cases.

#9 Updated by John Lindgren about 4 years ago

I installed tint2 here and the system tray icon shows up fine. With either Qt or GTK.

#10 Updated by Nelson Suniaga about 4 years ago

John Lindgren wrote:

I installed tint2 here and the system tray icon shows up fine. With either Qt or GTK.

maybe this got something to do?

INFO plugin-init.cc:187 [start_plugins]: Starting Status Icon.
INFO plugin-load.cc:64 [plugin_load]: Loading plugin: /usr/local/lib/audacious/General/statusicon-qt.so.
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP

The thing it makes doubt about it is the fact the systray icon was working with debian buster repository version of Audacious.

#11 Updated by John Lindgren about 4 years ago

  • Status changed from New to Closed

Yes, that explains it. Qt is trying to use an SNI status icon because it thinks KDE is running. Check the environment variables that it mentions.

Your "debian buster repository version" probably used GTK2, not Qt.

#12 Updated by Nelson Suniaga about 4 years ago

John Lindgren wrote:

Yes, that explains it. Qt is trying to use an SNI status icon because it thinks KDE is running. Check the environment variables that it mentions.

Your "debian buster repository version" probably used GTK2, not Qt.

the version I'm running now was compiled with

--enable-gtk
flag (audacious and audacious-plugins, downloaded from the GitHub repository).

Running the binary as

audacious --gtk --verbose
gives some interesting info about plugins:

INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: blur_scope-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: gl-spectrum-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: qt-spectrum
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: vumeter-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: albumart-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: qthotkey
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: lyricwiki-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: playlist-manager-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: search-tool-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: song-info-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: statusicon-qt
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: streamtuner
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: qtui
INFO plugin-registry.cc:437 [operator()]: Incompatible plugin flags: skins-qt

John Lindgren wrote:

Yes, that explains it. Qt is trying to use an SNI status icon because it thinks KDE is running. Check the environment variables that it mentions.

Your "debian buster repository version" probably used GTK2, not Qt.

Now I get it: in order to have the system tray icon visible, the compilation should enable GTK (which I did many times, without any improvement) but also it needs to disable Qt (because I've never been able to solve the problem with KDE_FULL_SESSION and XDG_CURRENT_DESKTOP variables):

./configure --enable-gtk --disable-qt
make
make install

The thing is: that works with audacious but it doesn't for the audacious-plugins compilation, it stops complaining about a missing

streamtuner.so
file, cause I couldn't find any dev package for Streamtuner2 I had to disable it:

./configure --enable-gtk --disable-qt --disable-streamtuner 
make
make install

And that's it! I have back the system tray icon (and the Winamp classic skins thumbnails too).

Also available in: Atom PDF