#1102 [1.10.1] Liferea does not show a window

v1.10
closed-fixed
None
9
2013-10-16
2013-07-28
genodeftest
No

Running Liferea from git, updated today after 1.10.1 was released. Host: up-to-date fedora 19 with Gnome shell

Just updated Liferea to git master. IWhen I started it for the first time it worked as expected. Started it now again and it does not show a window. Database is read and initialized, tray icon is shown; Gnome-shell top panel shows the window title and an empty window shape (which can be focused) but no window is visible.

Discussion

  • genodeftest

    genodeftest - 2013-07-28

    Preferences dialog still works.

    I can reproduce this bug by setting:
    start-in-tray TRUE
    trayicon TRUE
    This works with my current (old) configuration and with a fresh configuration.

    The last commit I have used is 1406a1ce4a699a4f197c71a60bc17454c36c3e80 ("Post-release version bump." from today). This bug was not present at [209d13] ("Fixes SF #1059: Liferea crashes with system proxy enabled").

    No related error message is printed to stderr or stdout. Just those three messages I always see when starting liferea:

    (liferea:19359): Gtk-CRITICAL **: gtk_tree_store_get_path: assertion `iter->stamp == priv->stamp' failed
    
    (liferea:19359): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: assertion `path != NULL' failed
    
    (liferea:19359): Gtk-CRITICAL **: gtk_tree_view_scroll_to_cell: assertion `tree_view->priv->tree != NULL' failed
    

    ~~~~~

     
    Last edit: genodeftest 2013-07-28
  • Lars Windolf

    Lars Windolf - 2013-07-28

    Damn. Another case of too many features. The change in the timing of the main window presentation broke the window hiding restoration logic.

    Workaround: Run "liferea -w shown"

    F...!

     
  • Lars Windolf

    Lars Windolf - 2013-07-28
    • assigned_to: Lars Windolf
    • Group: git_master --> v1.10
    • Priority: 5 --> 9
     
  • genodeftest

    genodeftest - 2013-07-28

    The workaround "liferea -w shown" (or "liferea --mainwindow-state=shown") does not work either when the start-in-tray option is active.

     
  • Lars Windolf

    Lars Windolf - 2013-07-28
    • status: open --> open-fixed
     
  • Lars Windolf

    Lars Windolf - 2013-07-28

    I uploaded a new tarball 1.10.1a with changed liferea_shell_create() ordering that now does the showing/hiding before the color detection. This should make it work again.

    Please retest! (Sorry, I couldn't test it yet, don't have a working GNOME without Unity madness here)

     
  • Anonymous

    Anonymous - 2013-07-29

    Looks OK here, fixed! (Thank you)

     
  • Anonymous

    Anonymous - 2013-07-29

    OK I tested it poorly and didn't notice the details, after more testing and I see it actually now starts minimized every time, doesn't respect "Start in tray icon" setting. (but I cannot reproduce it when it doesn't render/show window anymore)

     
  • Maleko

    Maleko - 2013-07-29

    I'm still getting that crash to desktop issue with 1.10.1a build on Ubuntu 13.04

    % liferea --mainwindow-state=shown

    (liferea:22095): Gtk-CRITICAL **: gtk_tree_store_get_path: assertion `iter->stamp == priv->stamp' failed

    (liferea:22095): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: assertion `path != NULL' failed

    (liferea:22095): Gtk-CRITICAL **: gtk_tree_view_scroll_to_cell: assertion `tree_view->priv->tree != NULL' failed
    zsh: segmentation fault liferea --mainwindow-state=shown

     
  • genodeftest

    genodeftest - 2013-07-29

    Thanks for the fix, the window is now visible when clicking the tray icon or selecting "show liferea" from tray icon context menu.
    For me liferea respects the start-in-tray setting.

    @bitlord: I can't reproduce this. Can you try it with a clean configuration of liferea (e.g. using a fresh user account) ?

    @Maleko: you are running into a separate bug. The bug I described here was not crashing liferea but just hiding the main window for forever.
    Can you please start liferea from within gdb (the GNU debugger) and post a stack trace in a separate bug report? you should be able to do this by:

    cd <your liferea repository>
    git pull
    make install
    gdb liferea
    

    Inside gdb:

    run
    

    after gdb tells you that liferea got a SIGSEGV enter

    bt full
    

    inside gdb to get a full backtrace and post it here (in a new bug report). This should help fixing your bug.

     
    Last edit: genodeftest 2013-07-29
  • Anonymous

    Anonymous - 2013-07-30

    For testing I moved ~/.local/share/liferea and ~/.config/liferea, same happens with default/clean config, it starts minimized even if the last state was "in tray icon", not maximized, minimized ..., I have checked "Tools > Preferences > GUI > ( "Show status icon in notification area (system tray)." && "Start in tray icon."), actually they are here by default.

     
  • genodeftest

    genodeftest - 2013-07-30

    @bitlord: But it does show a window when clicking on the tray icon (or un-minimizing the window)? If the answer is yes, you are seeing a different bug I think.

     
  • Anonymous

    Anonymous - 2013-07-31

    Yes, it is a different bug ( bug #1105 ), not sure if it is introduced by "workaround"/fixes for this bug. But I was hitting this bug originally.

     
  • Lars Windolf

    Lars Windolf - 2013-10-16
    • status: open-fixed --> closed-fixed
     
  • Lars Windolf

    Lars Windolf - 2013-10-16

    Closing this as there were no further reports in the meantime. I consider it fixed.