xdg-desktop-portal-gtk
xdg-desktop-portal-gtk copied to clipboard
AppChooserDialog should not remove URL scheme
AppChooserDialog currently truncates URLs to 40 characters for display:
https://github.com/flatpak/xdg-desktop-portal-gtk/blob/dcbc052bd5ba9816b6ac8d8a6b6e562a27b6685d/src/appchooserdialog.c#L296-L300
This is to avoid extremely long URLs making the window very wide – obviously this wouldn't be desirable:
but the current state of things isn't really great either; if your problem is that you lack an app for dealing with a special URL scheme, you have no idea what the scheme is:
Would truncating the string by removing characters from the middle be possible instead?
Alternatively, could the entire URL be displayed, but wrapped onto multiple lines?