SystemTray icon indicating copy to clipboard operation
SystemTray copied to clipboard

GNOME 40+ support

Open guihkx opened this issue 4 years ago • 6 comments

On version 4.1:

GNOME shell detected, but UNSUPPORTED shell version (40.1). Falling back to GtkStatusIcon.
Please create an issue with as many details as possible.

Systray on GNOME still works with the AppIndicator extension. Also, using an older version of this library (3.16) works just fine too. :)

Thanks!

guihkx avatar Apr 27 '21 05:04 guihkx

Hmm, maybe dupe of #146?

guihkx avatar Apr 27 '21 05:04 guihkx

It is very similar, but I will leave this open until the issue is resolved.

Thanks for the report!

dorkbox avatar Apr 28 '21 07:04 dorkbox

It'd be great if an option was added to prevent version checking, to mimic the behavior of v3.16.

Because I'm running this Java app in a sandboxed environment, where this library won't be able to find the gnome-shell binary (or any other binary, really) to do version checking.

Perhaps it could also skip the desktop environment check altogether and just use AppIndicator/KStatusNotifierItem if the proper Dbus interface is available, because right now it falls back to GtkStatusIcon. :(

Thank you :)

guihkx avatar Apr 29 '21 15:04 guihkx

I'm running Fedora 34 with Gnome and have the same issue.

GNOME shell detected, but UNSUPPORTED shell version (40.0). Falling back to GtkStatusIcon. Please create an issue with as many details as possible.

(java:3657): Gtk-ERROR **: 15:40:31.826: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported Trace/breakpoint trap (core dumped)

If there is a coming pre version with a fix I'm more than willing to test.

Tank you in advance

lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Fedora Description: Fedora release 34 (Thirty Four) Release: 34 Codename: ThirtyFour

m1markus avatar May 13 '21 13:05 m1markus

Version 3.17 works on fedora 34 after install this: https://extensions.gnome.org/extension/2890/tray-icons-reloaded/

dyorgio avatar Oct 14 '21 18:10 dyorgio

It seems to work so far for me, but anyway I have something like this on the terminal with Gnome 41.1:

OS is Debian ( bookworm/sid)

SystemTray version is 4.1

[JavaFX Application Thread] ERROR dorkbox.systemTray.SystemTray - GNOME shell detected, but UNKNOWN type. This should never happen. Falling back to GtkStatusIcon. Please create an issue with as many details as possible.
19:07:35.071 [JavaFX Application Thread] WARN dorkbox.jna.linux.GtkTheme - Unable to get tray image size. Using fallback: 24

(java:43431): Gdk-WARNING **: 19:07:35.316: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
19:07:35.321 [JavaFX Application Thread] INFO dorkbox.systemTray.SystemTray - Successfully loaded

(java:43431): Gdk-CRITICAL **: 19:07:35.380: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
7414.0

Jeansen avatar Nov 07 '21 18:11 Jeansen

15:56:00.587 [main] ERROR dorkbox.systemTray.SystemTray - GNOME shell detected, but UNKNOWN type. This should never happen. Falling back to GtkStatusIcon. Please create an issue with as many details as possible.

Running Gnome 42 on Fedora 36

AriaMoradi avatar Sep 25 '22 17:09 AriaMoradi

Fixed.

dorkbox avatar Nov 21 '23 22:11 dorkbox