Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Display dialog boxes more prominently #1898
I would like to be able to configure qutebrowser to display dialog boxes and other items requiring input to be displayed more prominently.
For example, SSL warnings and other things that often steal focus are currently displayed in the status bar at the bottom. A lot of the time I do not see these right away. Only when I wonder why the page is not loading do I see these.
A preferred method or option would be to display them in the center of the screen, perhaps in a 'Windows 10' style bar across the screen with the content grayed out?
I believe this would improve usability.
Making them modal (i.e. not allowing the user to interact with the page while they're open) would also make the code a lot simpler, and is something which was in the back of my mind for a while already.
I think Otter Browser is a good example:
I imagine something similar, but of course with keyboard navigation in mind.
A small overview about what kind of prompts we have currently, classified according to these properties:
Behavior/design in other browsers
Chromium uses floating dialog boxes over a given page:
Those can be application modal and prevent switching of tabs, or they can allow it (like the auth dialog).
When tab switching is forbidden, the dialog has a slight shake/nudge when trying to do so. When doing anything in a different Chromium window, nothing happens and the blocked window sends an urgency hint.
For file path dialogs, a separate window is opened.
Firefox uses a dialog over a dimmed down page:
Those are never modal, but I guess that's just something Firefox/Gecko allows them to do internally.
Originally a Windows-like thing was mentioned:
However I'd rather not have something which remembers people of Windows
For selecting files/directories, can we show a dialog overlay like that with an input (like now) plus a graphical file picker?
For certificate errors, we get an error page instead of a dialog-like thing in Chromium/Firefox - though I think the API we get doesn't allow us to do that? Or maybe we can display an error page and then do another fresh load after the user selected an option? (edit: we can't securely, QTBUG-51176)