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

Request to change the user experience when attempting to open binary files #1966

Open
swampthings opened this issue Oct 2, 2018 · 1 comment

Comments

@swampthings
Copy link

swampthings commented Oct 2, 2018

When trying to open binary files, Geany appears to just do nothing. My initial reaction was that it opened a hidden copy of itself and the process hung. Currently, the way Geany handles this is just really weird. The only hint I get that it's doing this on purpose is this cryptic message, "file.ext does not look like a text file or the file encoding is not supported."

image

...and normally, I have the status bar hidden, so it took me a while to even figure out why it wasn't opening the file. So, my request is that if Geany decides it won't open a file, to show a pop-up message. Pop up messages are annoying, but it should do something to alert the user that it's not going to do anything with the file that the user requested to open.

Also, it would be nice to give a better message in the status bar like, "Geany doesn't support binary files" or "Geany won't open a file with any special nonprintable characters in it." The current message is way too vague.

...which as a side note is ridiculous that Geany doesn't open binary files, but I think that's been covered in other requests. Geany is the only text editor that won't even try to open a file with special characters. You really should make a "protected read only, display only binary mode..." or offer to launch the binary file in another editor that doesn't have Geany's restrictions.

But that's not my request....My request is to make this less a less disturbing user experience, by displaying better information to the user when the user attempts to open a non-conforming file.

@elextr
Copy link
Member

elextr commented Oct 2, 2018

Pop up messages are annoying, but it should do something to alert the user that it's not going to do anything with the file that the user requested to open.

A pull request to provide a popup with a "Do not show this again" checkbox and/or a preferences option to disable it would probably be accepted.

"Geany doesn't support binary files"

Well it may not actually be a "binary" file, as the message says, the encoding may have been guessed/selected incorrectly resulting in binary data. So this message is also misleading.

.which as a side note is ridiculous that Geany doesn't open binary files,

Feel free to rewrite Geany to not use C null terminated strings and binary files can be fully supported.

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

2 participants