Closed AriaMoradi closed 3 years ago
More stuff (was gonna make an issue, but then I forgot and AriaMoradi made it for me):
breeze-gtk
package)Also, here are some system details for context (click to expand):
And I also made a full dump of the output from gtk-query-settings
with a working and non-working config, so some smart people might be able to understand that:
can you enable SystemTray.DEBUG
and post the output?
can you enable
SystemTray.DEBUG
and post the output?
And full logs is there on OP: https://github.com/Suwayomi/Tachidesk/issues/38#issue-839911711
I opened an issue on the KDE bug tracker here, as this might be an issue with Breeze: https://bugs.kde.org/show_bug.cgi?id=434955 (I'll close it if it's a SystemTray issue and not a Breeze issue.)
ran the latest build to tachidesk with server.debugLogsEnabled = true
and I get the following:
17:14:33.787 [main] DEBUG net.harawata.appdirs.AppDirsFactory - os.name linux is resolved to *nix
17:14:35.107 [main] DEBUG dorkbox.systemTray.SystemTray - OS: Linux
17:14:35.108 [main] DEBUG dorkbox.systemTray.SystemTray - Arch: amd64
17:14:35.108 [main] DEBUG dorkbox.systemTray.SystemTray - Oracle Corporation OpenJDK 64-Bit Server VM 1.8.0_282
17:14:35.108 [main] DEBUG dorkbox.systemTray.SystemTray - Is Auto sizing tray/menu? true
17:14:35.108 [main] DEBUG dorkbox.systemTray.SystemTray - Is JavaFX detected? false
17:14:35.108 [main] DEBUG dorkbox.systemTray.SystemTray - Is SWT detected? false
17:14:35.149 [main] DEBUG dorkbox.systemTray.SystemTray - Java Swing L&F: Metal
17:14:35.149 [main] DEBUG dorkbox.systemTray.SystemTray - Auto-detecting tray type
17:14:35.149 [main] DEBUG dorkbox.systemTray.SystemTray - Force GTK2: false
17:14:35.149 [main] DEBUG dorkbox.systemTray.SystemTray - Prefer GTK3: true
17:14:35.188 [main] DEBUG dorkbox.systemTray.SystemTray - Currently using the 'KDE' desktop environment
Arch Linux release
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux
17:14:35.403 [main] DEBUG dorkbox.systemTray.SystemTray - KDE Plasma Version: 5.21
17:14:35.463 [main] DEBUG dorkbox.util.jna.linux.GtkLoader - GTK: libgtk-3.so.0
17:14:35.464 [GTK Native Event Loop] DEBUG d.util.jna.linux.GtkEventDispatch - Running GTK Native Event Loop
17:14:35.566 [main] DEBUG dorkbox.systemTray.SystemTray - GTK Version: 3.24.27
17:14:35.566 [main] DEBUG dorkbox.systemTray.SystemTray - Is the system already running GTK? false
17:14:35.573 [main] WARN dorkbox.util.jna.linux.GtkTheme - Unable to get tray image size. Using default.
17:14:35.609 [main] DEBUG dorkbox.systemTray.SystemTray - Tray indicator image size: 24
17:14:35.609 [main] DEBUG dorkbox.systemTray.SystemTray - Tray menu image size: 16
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.630: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): Gdk-CRITICAL **: 17:14:35.633: gdk_x11_get_xatom_by_name_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(java:359028): dbind-WARNING **: 17:14:35.741: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-S8eFMpHB00: No such file or directory
the main difference I noticed between those logs and the logs from a working theme (ignoring the fact that it, you know, works) is that the following is logged when it works:
+(java:359859): dbind-WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-S8eFMpHB00: No such file or directory
(which is interesting, because you think the warning would only be logged when it doesn't work? Other than that, I don't see much useful info.)
Fixed.
I've got it working on Manjaro-KDE, and Arch-Gnome. SWT on Arch-Gnome has some... errors?, but it still works. I will be recording those, and pushing the fix to 4.1, since the systemtray still works, but with errors, and only with SWT.
The only errors now that I have seen, which are out of my control, is (java:10704): Gdk-WARNING **: 18:40:43.680: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
Original issue: Suwayomi/Tachidesk#38
Summary
Users get repeated errors like below and then experience a crash that I failed to fix with a try-catch
The issue seems to be connected to gtk themes.