Menu

#479 [lxsession] 0.5.0 lxsession-db: Don't hang when MIME folders are not available.

-
closed-fixed
nobody
lxsession (15)
5
2014-11-15
2014-10-07
No

Currently lxsession-db hangs when /usr/share/app-install/desktop direcory is missing. This patch fixes https://sourceforge.net/p/lxde/bugs/692/

1 Attachments

Discussion

  • Freddy Willemsen

    Great, patch appears to be working fine!

     
  • gilir

    gilir - 2014-10-15

    Thanks for the patch, but it's not the correct approach.

    1. You need to find on Fedora if a folder exist where all desktop files of all the applications available on the repositories exist (if such thing exist on Fedora ?), the equivalent of /usr/share/app-install/desktop.

    2. You need to test if the folder exist before trying to search on this. Instead, you should not move finish_scanning_available() outside the loop (this will break when /usr/share/app-install/desktop is available).

     
  • Freddy Willemsen

    Compiled a fresh git snapshot just now, hoping commit ee4fe274fa78e0183d0a8d60ed85ab836866c312 would resolve this issue. But without the patch, we are back to a hanging session. This time however, the log shows:

    ** Message: desktop-files-backend.vala:265: /usr/share/app-install/desktop doesn't exist. Pass
    ** Message: desktop-files-backend.vala:189: Signal finish scanning with mode: write
    ** Message: desktop-files-backend.vala:341: Finishing scanning

    And after that, nothing ...

     
  • gilir

    gilir - 2014-11-08

    It should be fixed now in git.

     
  • gilir

    gilir - 2014-11-08
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB