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

[Bug] Can't edit and save files inside a compressed file #1322

Open
Pocokk opened this issue Mar 9, 2024 · 2 comments
Open

[Bug] Can't edit and save files inside a compressed file #1322

Pocokk opened this issue Mar 9, 2024 · 2 comments

Comments

@Pocokk
Copy link

Pocokk commented Mar 9, 2024

Describe the bug
When I try to edit/modify a file that is openable by Notepads, it refuses to properly save the that file INSIDE a compressed file. And on top of that, if I indirectly want to Edit it, it opens as an empty file instead.

To Reproduce

  1. Create a txt file, write something in it, then save.
  2. Using 7-zip/winrar whatever, compress that file.
  3. Open the compressed file, try to edit it, then save or open/view it directly and see its empty/nothing was changed.

Expected behavior
It should be saved normally inside a compressed file. With default notepad, it works perfectly fine.

Screenshots
Even better, a video!
https://github.com/0x7c13/Notepads/assets/81096046/87c27118-71e1-447c-a8cc-4b4bb0e43a01

Also once finished with the edit/modify, the archiver program should prompt the following message: (it happens with regular notepad save)
bvMcnMc

Desktop (please complete the following information):

  • OS: Windows 10 22H2 19045.4123
  • Version latest 1.5.4.0

Additional context
I got tired of the white theme on notepad, that's why I fell in love with Notepads, although this issue annoys me, please have a look, thank you!

P.S: I think it has to do with the fact that Notepads.exe is located in a hidden/restricted folder by default (Program Files/WindowsApps), compared to Notepad.exe, which is in system32.

@0x7c13
Copy link
Owner

0x7c13 commented Mar 17, 2024

I am not sure if OG notepad does something automatically for re-saving a file in archive. Not sure how to achieve this with UWP tho.

@Pocokk
Copy link
Author

Pocokk commented Mar 17, 2024

OG Notepad doesn't automatically re-save it, but as you can see on that small picture, it allows this option.

I think it has to do with the fact that this program's exe is in a restricted folder (UWP), hence 7-zip can't access it normally and unlock its full potential.

Any chance for a UWP-less version perhaps, just to test it out? Thank you.

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