-
Notifications
You must be signed in to change notification settings - Fork 112
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
'm' keypress image viewer crashes and/or doesn't detect available/suitable image viewers #392
Comments
I removed ImageMagick and retried, and I receive a fun traceback that exposes what this is (trying to) accomplish. It looks like it's trying to open an image viewer. I don't know how/why it tries to use ImageMagick for this - that seems like the wrong tool. Additionally, it throws a traceback and kills toot, instead of handling the condition better. Additionally, it doesn't seem to be aware of KDE's image viewer(s)?
|
Putting the viewer detection itself aside, this exception should probably be handled with a status line message instead of being unhandled. The docstring here seems quite on-point :D I might suggest disabling this until it's cleaned up or refined? Or again, at least handling the exception better. |
I suggest:
|
Looks like Submitted PR #393 to add gwenview between it and It might be worth adding a few popular web browsers to that list as well, below the dedicated image viewers. Firefox tests fine being used this way, though ideally one could add additional arguments and the current method of testing for them would break if you just added it to the string. That sort of thing would probably be best left to after a means to configure a custom viewer. Edit: actually I bet it's a good idea to just use |
A picture is worth a thousand words, so here's what it looks like. I can't really tell if this is a problem with my environment (ImageMagick has really stupid binary names) or toot itself.
To replicate:
toot tui
g
and select "Global public timeline."m
My brain skipped a few steps, for some reason I expected this to pop up the 'mute' that we see when we first press
a
to see the poster's account information.I have absolutely no idea why IMageMagick is popping up, and this key is not documented in the TUI's help screen or in the status bar. Also note the error in the status bar:
Some environmental details:
package ImageMagick-7.1.1.12-1.1.x86_64 installed, which provides these binaries in my path:
The text was updated successfully, but these errors were encountered: