"Open with" application chooser prompt dialog should automatically calculate the required height and show all apps without needing to scroll, when possible
Originally filed at https://github.com/flatpak/flatpak/issues/5279, refiling here as I have no easy way to test whether this is specific to the GNOME portal thing, or if it applies to the "gtk" version.
As tested on Fedora 37 / GNOME 43...
How to reproduce
- In a sandboxed application (such as Nautilus nightly), try to open any file
- The file mimetype vs applications chooser dialog will appear, with tiny height and very limited choices, even when it the screen's real estate doesn't warrant this.
Expected Behavior
Show all available choices, and size the window's height correctly by default to avoid scrolling, as long as there is enough vertical space available on the screen. Don't make me scroll, don't make me waste an extra click to show all possibilities:
Actual Behavior
The current dialog shows up hardcoded to showing only 3 choices:
...even if there is plenty of available height on my screen, and even if there were only 4 or 5 choices. Needing me to click the "..." line to reveal one more (or 2-3 more) items, and to scroll or resize the window, is wasteful / annoying for users.