gamingdoom / datcord

An open-source Discord client that uses Firefox and Neutron
GNU General Public License v3.0
113 stars 5 forks source link

After closing, cannot open again without forcing quit #61

Closed TylerLaBree closed 2 weeks ago

TylerLaBree commented 4 months ago

I'm on the 0.5.1 flatpak, and when I close the app using the x in the top-right, Datcord remains running in the background. When I try to open it again using the app icon in gnome, or by using flatpak run io.github.gamingdoom.Datcord, I get the following popup window,

image

and in the latter case, the following error,

Running in background
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
console.error: (new UnknownError("IndexedDB: main/url-classifier-skip-urls getLastModified() IndexedDB:   The operation failed for reasons unrelated to the database itself and not covered by any other error code.", "resource://services-settings/IDBHelpers.jsm", 18))
*** You are running in headless mode.

I must then close the app using gnome's background apps feature or killall datcord before I can open it again.

image

TylerLaBree commented 4 months ago

This issue is referenced in https://github.com/gamingdoom/datcord/issues/46, so this is sort of a duplicate. Sorry!

gamingdoom commented 4 months ago

This issue will be fixed with 0.5.2 since that will allow reopening Datcord from the tray.

Ambient-Impact commented 2 weeks ago

Ah, that explains why I can't re-open without killing it first. Great work on this by the way, and as a web developer of 20 years and counting, I'm in total agreement that the last thing we want is Chrome to kill off Firefox/Gecko; I lived through the IE 6 days if you know about those dark times.

gamingdoom commented 2 weeks ago

Fixed with 0.5.2. You can now reopen it from the tray.