Show server error messages in modal dialog to bypass autoclose of main window
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
---
## Feature request
**Which Nextcloud Version are you currently using:**
3.15.3
**Is your feature request related to a problem? Please describe.**
When there is an error, the main dialog allows me to see additional details, such as the error message sent by the server.
However, because the main dialog is built to always close when it loses focus, it's practically impossible to keep that error message visible for context while doing anything else on the machine.
**Describe the solution you'd like**
Disabling autoclose would be bound to confuse users in one way or another. So I guess the best option would be to make it so that error details are opened as a separate model dialog with the usual window decorations. This one can stay open and be closed manually by the user.
**Describe alternatives you've considered**
- Copy-and-paste the error message: Cannot select text to copy the message. Instead a weird touch-like gesture to switch tabs happens.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing the desktop client's error-details dialog and the path that displays server errors; done means the details open in a separately closable decorated dialog and the message can be selected and copied without the main window autoclosing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100