kozec / syncthing-gtk

GTK3 & python based GUI for Syncthing
GNU General Public License v2.0
1.29k stars 140 forks source link

Starting syncthing gtk minimized doesn't work in dwm #532

Open alrayyes opened 4 years ago

alrayyes commented 4 years ago

Running syncthing-gtk -m -v gives the following output:

I StatusIcon    Using backend StatusIconGTK3 (primary)
V Notifications Error notifications enabled
V Notifications File update notifications enabled
I App
I App           Syncthing-GTK started and running in notification area
V Daemon        Set refresh interval to 5
W StatusIcon    Failed to load modules required for status icon
V Daemon        Set refresh interval to 1

(syncthing-gtk:16942): Gtk-WARNING **: 10:28:13.051: Invalid icon size 24
W StatusIcon    StatusIcon: Using backend StatusIconDummy (fallback)
I App           updatecheck: disabled

(syncthing-gtk:16942): Gdk-CRITICAL **: 10:28:13.819: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

and doesn't start it minimized. It's the same when I enable "Minimize to tray on start" in the ui settings.

kozec commented 4 years ago

What are you using to hold tray icons? ST-GTK will not minimize to tray if it can't detect there is no tray available.

alrayyes commented 4 years ago

I use dwm with the systray patch. The ST-GTK icon is shown in my systray, it just doesn't start minimized.

Another issue that might be related, once in a while when starting xwindows, xwindows itself crashes and sends me back to the terminal just after ST-GTK starts.