Beebeeoii / lominus

NUS Canvas file sync
MIT License
60 stars 7 forks source link

"Choose folder" spawns invisible(?) window #71

Closed k-walter closed 2 years ago

k-walter commented 2 years ago

Upon clicking "choose folder", no dialog is spawned and I am unable to select anywhere within the menu either. Since I can't choose a folder (e.g. conf file, env var), I am unable to sync with lominus.

Steps to reproduce the behavior:

  1. Open lominus
  2. Click Preferences > Choose folder
  3. (Nothing)

Expected behavior Opens a folder dialog

Desktop:

Additional context Orthogonally, are you interested in supporting CLI? If you require help, I would love to contribute.

Beebeeoii commented 2 years ago

hey @k-walter thanks for reporting this. could you check the logfile for any errors? would be good if you can turn on debug mode and paste the logs here. thank you so much !

CLI sounds like a good addition for those who are more comfortable working with the terminal ! could you open another feature issue for that enhancement? thank you :)

Beebeeoii commented 2 years ago

tried to reproduce using Manjaro KDE 21.3.6 with Lominus v2.0.1 but failed. The folder dialog opens as expected. Would require more information to debug this.

Manjaro KDE-2022-08-10-18-37-59

Beebeeoii commented 2 years ago

@k-walter on that note, sorry could you try v2.0.2-beta instead? That might work for you as the file dialog has been changed to utilise the OS' native one. thank you so much !

k-walter commented 2 years ago

v2.0.2-beta works for me! Thank you for the hard work :)

Here are the logs from the previous version for your reference. It thinks that file dialog is loaded.

[2022-08-10 14:30:02] INFO - app initialised (/home/jiawei/Documents/projects/lominus/main.go:main.main:20)
[2022-08-10 14:30:02] INFO - lock initialised (/home/jiawei/Documents/projects/lominus/main.go:main.main:34)
[2022-08-10 14:30:02] INFO - notifications initialised (/home/jiawei/Documents/projects/lominus/main.go:main.main:37)
[2022-08-10 14:30:02] INFO - cron initialised (/home/jiawei/Documents/projects/lominus/main.go:main.main:43)
[2022-08-10 14:30:02] DEBUG - credentials tab loaded (/home/jiawei/Documents/projects/lominus/internal/ui/credentials.go:github.com/beebeeoii/lominus/internal/ui.getCredentialsTab:21)
[2022-08-10 14:30:02] DEBUG - credentials exists - loading from /home/walt/.config/Lominus/credentials.gob (/home/jiawei/Documents/projects/lominus/internal/ui/credentials.go:github.com/beebeeoii/lominus/internal/ui.getCredentialsTab:32)
[2022-08-10 14:30:02] DEBUG - luminus view loaded (/home/jiawei/Documents/projects/lominus/internal/ui/credentials.go:github.com/beebeeoii/lominus/internal/ui.getLuminusView:66)
[2022-08-10 14:30:02] DEBUG - canvas view loaded (/home/jiawei/Documents/projects/lominus/internal/ui/credentials.go:github.com/beebeeoii/lominus/internal/ui.getCanvasView:140)
[2022-08-10 14:30:02] DEBUG - preferences tab loaded (/home/jiawei/Documents/projects/lominus/internal/ui/preferences.go:github.com/beebeeoii/lominus/internal/ui.getPreferencesTab:30)
[2022-08-10 14:30:02] DEBUG - file directory view loaded (/home/jiawei/Documents/projects/lominus/internal/ui/preferences.go:github.com/beebeeoii/lominus/internal/ui.getFileDirectoryView:54)
[2022-08-10 14:30:02] DEBUG - sync view loaded (/home/jiawei/Documents/projects/lominus/internal/ui/preferences.go:github.com/beebeeoii/lominus/internal/ui.getSyncView:128)
[2022-08-10 14:30:02] DEBUG - advanced view loaded (/home/jiawei/Documents/projects/lominus/internal/ui/preferences.go:github.com/beebeeoii/lominus/internal/ui.getAdvancedView:195)
[2022-08-10 14:30:02] DEBUG - integrations tab loaded (/home/jiawei/Documents/projects/lominus/internal/ui/integrations.go:github.com/beebeeoii/lominus/internal/ui.getIntegrationsTab:22)