Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppChooserDialog should not remove URL scheme #467

Open
sersorrel opened this issue Jan 31, 2024 · 0 comments
Open

AppChooserDialog should not remove URL scheme #467

sersorrel opened this issue Jan 31, 2024 · 0 comments

Comments

@sersorrel
Copy link

AppChooserDialog currently truncates URLs to 40 characters for display:

/* Ellipsize the location, keeping the suffix which is likely
* to have more relevant information, such as filename and extension.
*/
static char *
shorten_location (const char *location)

This is to avoid extremely long URLs making the window very wide – obviously this wouldn't be desirable:

image

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:

image

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant