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

Warn before opening large files. #624

Open
HT-7 opened this issue Jan 7, 2024 · 2 comments
Open

Warn before opening large files. #624

HT-7 opened this issue Jan 7, 2024 · 2 comments

Comments

@HT-7
Copy link

HT-7 commented Jan 7, 2024

In Nemo (Linux Mint), unknown file types such as "jsonlz4" are associated with xed, even though they contain binary data not useful to Xed.

When opening a file that is too large in Xed, it hangs up and must be taskkilled, leading to the loss of any unsaved work.

Please warn before opening large files. Thanks.

Notepad on Windows does that too since at least Vista.

@mtwebster
Copy link
Member

Xed does not open those files by default (the archive manager tries to, though in this case, lz4 isn't currently supported).

Any unknown type should get a message if you double-click, asking you to choose a program. You can reset the default action if xed (or any other program) has accidentally been set to open the wrong file type:

  • Right-click on the file in nemo
  • Select Open with... -> Other application
  • Here you should be able reset it to its default handler:
    image

@HT-7
Copy link
Author

HT-7 commented Jan 21, 2024

Xed does not open those files by default (the archive manager tries to, though in this case, lz4 isn't currently supported).

Somehow mine does. Nonetheless, Xed needs to warn before opening large files.

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