saber-notes / saber

The cross-platform open-source app built for handwriting
https://saber.adil.hanney.org
GNU General Public License v3.0
2.1k stars 130 forks source link

Browser does not open when trying to connect to Nextcloud #1313

Closed Iaphetes closed 2 months ago

Iaphetes commented 2 months ago

Before submitting an issue, please check the following

Describe the bug

Hi,

I'm using the Flatpak app on the Desktop and want to sync with my own Nextcloud. However when I try to connect the browser does not open. My default browser (according to xdg-mime query default x-scheme-handler/https) is firefox. It works on the Android app.

Thanks in advance.

To reproduce

  1. Install the Flatpak version of Saber
  2. Enter a (valid) Nextcloud URL under "Other Nextcloud server"
  3. Press "Login with Nextcloud"

Expected behavior

A browser tab opening, prompting me to login and grant acces

Saber version

com.adilhanney.saber 0.24.1

Device

Anything else?

I tried it on an old install of Arch, where it didn't work but this is now a completely new install.

Iaphetes commented 2 months ago

Okay I've traced the issue down to some issue with Sway and flatpak. It works on Gnome. I'll close this issue.

DDzwiedziu commented 2 weeks ago

I have this exact issue on Android with my local server. On one device it worked, but when I've logged out to change my encryption password it stopped working. On the other device it tried to connect once and then even stopped trying making network connections.