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

crashes when it tries to preview a file (pdf in my case) #273

Open
Joel-N99 opened this issue Jun 25, 2024 · 3 comments
Open

crashes when it tries to preview a file (pdf in my case) #273

Joel-N99 opened this issue Jun 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Joel-N99
Copy link

Describe the bug
While scrolling through a directory's contents, as soon as the selection bar lands on a pdf
file, it tries to show a preview for it and crashes. I have made default_open_file_preview = false
in the config.toml file but the issue persists.

To Reproduce
Steps to reproduce the behavior:

  1. Open a directory with a pdf file
  2. scroll down until the selection bar lands on the pdf file
  3. tries to open preview
  4. crashes and messes up the terminal. Had to reset to get the cursor back.

Expected behavior
Expected "default_open_file_preview=false" to actually disable file preview. I don't need
that so it should be an option to disable it.

Screenshots
Screenshot from 2024-06-25 21-58-14

System information (please complete the following information):
OS: Fedora Linux 40 (Xfce) x86_64
Host: Inspiron 3585 1.4.0
Kernel: 6.9.4-200.fc40.x86_64
Uptime: 8 hours, 59 mins
Packages: 2471 (rpm)
Shell: bash 5.2.26
Resolution: 1366x768
DE: GNOME 46.2
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita-dark [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (4) @ 2.500GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Memory: 2720MiB / 9831MiB

@Joel-N99 Joel-N99 added the bug Something isn't working label Jun 25, 2024
@yorukot
Copy link
Owner

yorukot commented Jun 26, 2024

Hey thanks for the report.

Did you enable the metadata plugin?
If so did you install the exiftool?

@Joel-N99
Copy link
Author

I did install the exiftool alternative for fedora and enabled the metadata option in the config.toml. despite that it has crashed. Also like I mentioned default_open_file_preview = false is not working for some reason unless I am completely misunderstanding what it actually does. Shouldn't it completely disable all file previews?
Great software btw. Absolutely love the overall look of it! I have been using midnight commander for a while but I wanted something that looks modern and has simpler keybindings. Superfile does all that. I'm looking forward to making this my primary tool as soon as this issue gets fixed! Cheers!!

@yorukot
Copy link
Owner

yorukot commented Jun 27, 2024

File preview is the pane that controls code preview and image preview. And according to the error message, it seems that it is due to a metadata problem. (Or do you mean that the file preview panel will still be enabled by default?)
Can you try turning off the metadata plugin?

Thanks for the compliment :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants