[Bug]: Starts web browser without being authorized, when trying to reconnect
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
On session start the client wants to reconnect to an account (that was actually explicitly disconnected btw), and starts the web browser automatically altogether before I have the chance to start it myself and restore my session. This risks loosing the browser session if you mistakenly close the browser window before realizing and actually restoring the session, which in my case has several thousand tabs open (yes I know it's too many).
This bug has been there for quite some time I think, it's not recent.
### Steps to reproduce
Close all your apps, close your session, and log in again, with the client in the autostart apps.
First thing that shows up is the connection window asking to open the browser or copy the link, and it starts the browser by itself unattended.
### Expected behavior
The connection window just stays there and waits for the permission to start the browser.
Actually the connection window shouldn't show up in this case since the disconnection was done manually on purpose.
### Which files are affected by this bug
N/A
### Operating system
Linux
### Which version of the operating system you are running.
Debian Sid
### Package
Distro package manager
### Nextcloud Server version
25.0.6.1
### Nextcloud Desktop Client version
3.9.0-1
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
### Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
### Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
_No response_
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.