Dear Maintainer, to run liferea I use an application autostart entry in Xfce. Command: 'liferea -w hidden'. This used to start liferea with just the tray icon visible. But the current version starts with visible main window. Same effect when launching from command line: | wolfgang@pitr:~$ liferea -w hidden | | (liferea:8810): Gtk-WARNING **: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned | | (liferea:8810): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1214:18: Not using units is deprecated. Assuming 'px'. | | (WebKitWebProcess:8824): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1214:18: Not using units is deprecated. Assuming 'px'. Using the option --mainwindow-state=iconified instead of hidden also has no effect.
Hi Wolfgang Upstream reworked liferea quite a bit. One of the things is that iconification is dealt with via plugins. These plugins are disabled by default. If you enable the iconification plugin, does it work again for you? Paul
[Resending again, because the mail host of the submitter rejected the body of my previous mail, trying again unsigned.] Hi Wolfgang Upstream reworked liferea quite a bit. One of the things is that iconification is dealt with via plugins. These plugins are disabled by default. If you enable the iconification plugin, does it work again for you? Paul
No. I had to enable "Tray Icon (GNOME Classic)" plugin to get the tray icon with the current release. Unfortunately command line window state is ignored, no matter if that plugin is enabled or not. Wolfgang
Hi, Interesting, on my (KDE) system, the hidden option is honored when I have the Tray Icon disabled (which means I can't see liferea anywhere). Once I enable the plugin, liferea shows as you describe. I am afraid from previous discussions upstream that they have a hard time supporting tray icons on non-GNOME desktops. I'll report this issue upstream, but I don't expect a solution soon. Paul
I have the same issue in XFCE. mainwindow-state is not honored.
Dear Maintainer,
* What led up to the situation?
Normal setup/installation in Debian-Stretch
* What exactly did you do (or not do) that was effective (or
ineffective)?
Starting liferea with command
"liferea --mainwindow-state=hidden" does not hide the main window
* What was the outcome of this action?
starts in normal resizable window AND as tray icon
* What outcome did you expect instead?
same beheaviour as many generations before, at least since Wheezy -
just start with tray icon
and obey what "man liferea" tells me:
-w, --mainwindow-state=STATE
Start Liferea with its mainwindow in STATE:
shown, iconified, hidden
Workaround to solve this annoying behaviour: Downgrade liferea and liferea-data to Jessie-Version 1.10.12-1
Hi. The fix from City-busz works for me. ( https://github.com/lwindolf/liferea/issues/447#issuecomment-327802562 ) I did the backports liferea 1.12.5-2 in debian 9. The tray icon normally opens and closes the program. The program starts normally (hidden) with the option " --mainwindow-state=hidden". p.s. Sorry if something is unclear wrote. Using online translator--- liferea-1.12.5.orig/plugins/trayicon.py +++ liferea-1.12.5/plugins/trayicon.py @@ -116,8 +116,6 @@ class TrayiconPlugin (GObject.Object, Li self.window.connect("window-state-event", self.window_state_event_cb) # show the window if it is hidden when starting liferea - self.window.deiconify() - self.window.show() feedlist = self.shell.props.feed_list self.feedlist_new_items_cb(feedlist) @@ -128,12 +126,11 @@ class TrayiconPlugin (GObject.Object, Li def window_state_event_cb(self, widget, event): "Hide window when minimize" if event.changed_mask & event.new_window_state & Gdk.WindowState.ICONIFIED: - self.window.deiconify() self.window.hide() + self.window.deiconify() def trayicon_click(self, widget, data = None): - self.window.deiconify() - self.window.show() + self.shell.toggle_visibility() def trayicon_minimize_on_close(self, widget, event): self.window.hide()
Hi, Thanks for your interest in this bug. The upstream maintainer of liferea is not applying that patch. He is much more knowledgeable on the behavior of liferea than me, so I am not going to apply this patch without him doing the same. Apparently it isn't so simple and depends a lot on which Desktop Environment you run. Paul