ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.29k stars 99 forks source link

Application opens empty and unable to open any todo.txt #558

Closed warmwaffles closed 8 months ago

warmwaffles commented 8 months ago

Bug Report

App Version: 2.0.0

Platform: Linux

Window Manager: BSPWM

Installation Method: AUR

Bug Description: When I open sleek, I am greeted with an empty application. The file menu works, I can not open the developer console.

Steps to Reproduce:

  1. Using the PKGBUILD run makepkg -sci
  2. Launch sleek via the command line to get logger errors

Expected Behavior: Expected the app to not be blank šŸ¤£

Actual Behavior: Application opens empty

Additional Information:

config.ts: sleek userdata is located at: /home/warmwaffles/.config/sleek/userData
(node:131279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use `electron --trace-warnings ...` to show where the warning was created)
[131279:1031/162325.931193:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface ā€œorg.freedesktop.portal.FileChooserā€
[131279:1031/162325.931219:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
main.ts: Menu created
main.ts: Tray not shown
main.ts: TypeError: Error processing argument at index 0, conversion failure from undefined
    at Ke (/usr/lib/sleek.asar/dist/main/main.js:8:269372)
    at /usr/lib/sleek.asar/dist/main/main.js:8:270308
[131279:1031/162325.968910:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.UnknownMethod: No such interface ā€œorg.freedesktop.portal.Settingsā€ on object at path /org/freedesktop/portal/desktop

Screenshots:

20231031-162756

ransome1 commented 8 months ago

Is fixed and will be part of 2.0.1 :)

warmwaffles commented 8 months ago

v2.0.1 resolves this issue. I had to delete all of my configurations to stop the blank screen from happening.

gladomat commented 6 months ago

It still won't work for me for 2.0.6.

Here's what I'm seeing

(sleek:267566): Gtk-WARNING **: 11:27:50.905: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files