Error saving changes to file
Moderators: Hacker, petermad, Stefan2, white
Error saving changes to file
As an example, the termux system folder... you can copy, rename and delete files anywhere, but when you edit them and save the changes, it gives an error. Changes actually are saved, but you can close this file only by the "close without changes" function. Of course root access was granted. Terminal editors works fine, but they are not so convenient to use. Error comes frome above v3.24 and still here.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Error saving changes to file
Have you tried the latest beta version? I made a bugfix exactly for this.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Error saving changes to file
Oh, thanks! In v.3.42beta1d_2140 issue is fixed!
Re: Error saving changes to file
Hello, I'm experiencing a problem that may be related.
TC Version 3.42beta4d
Android 12
After changing a file which is owned by root using the text editor, it is always saved on exit, regardless of the editors settings ("Confirm saving file" is activated in Settings).
It seems to depend on the file's location, though.
Editing files in (Magisk), files will get saved without confirmation on exit.
But editing f.e. I'm correctly asked if I want to the changes to be saved.
This could potentially lead to unwanted file changes when accidentally opening a file with the text editor - not noticing that changes were made - and simply exiting the editor.
Also, when switching between opened apps using gestures, I often erronously input a white-space (because of the space bar sharing an area for the gesture, which is not Total Commander's fault but my own) and the file gets saved.
I understand that file handling becomes more complicated with newer Android versions so I can probably only hope for user friendly workarounds to be found.
Thank's to all involved for Total Commander, it's awesome!
TC Version 3.42beta4d
Android 12
After changing a file which is owned by root using the text editor, it is always saved on exit, regardless of the editors settings ("Confirm saving file" is activated in Settings).
It seems to depend on the file's location, though.
Editing files in
Code: Select all
/data/adb/modules/*
But editing f.e.
Code: Select all
/data/data/com.ghisler.android.TotalCommander/shared_prefs/TotalCommander.xml
This could potentially lead to unwanted file changes when accidentally opening a file with the text editor - not noticing that changes were made - and simply exiting the editor.
Also, when switching between opened apps using gestures, I often erronously input a white-space (because of the space bar sharing an area for the gesture, which is not Total Commander's fault but my own) and the file gets saved.
I understand that file handling becomes more complicated with newer Android versions so I can probably only hope for user friendly workarounds to be found.
Thank's to all involved for Total Commander, it's awesome!
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Error saving changes to file
I will check it, thanks for your report.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com