Save Changed File Messages. Can They be Stopped?

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

Save Changed File Messages. Can They be Stopped?

Post by viking »

I often manipulate images in Full-screen mode (e.g. rotate) and then want to continue to the next file. However, I then get a message asking if I want to save the change file. I don't want to save the file, and I also don't want to keep getting this message. Is there any way to suppress it, e.g. as in classic xnview?
User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

Re: Save Changed File Messages. Can They be Stopped?

Post by viking »

Deleted this comment as it was incorrect
Last edited by viking on Wed Jan 08, 2014 10:36 pm, edited 1 time in total.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Save Changed File Messages. Can They be Stopped?

Post by m.Th. »

viking wrote:Sorry, correction: Rotate does not trigger the save message, but Mirroring (Shift H & Shift V) does.
Maybe this is a bug? Why does Mirroring, but not Rotating the image cause the Save Message?
If you go to Image | Rotate... the confirmation dialog appears.

If you go to Tools | JPEG lossless transformations... the Save dialog doesn't appear because the file is automatically "saved". In fact the JPEG lossless transformations are "applied" 'directly' on the binary file - there isn't a classical Open Image -> User actions -> Save Image process in order to show the Save Message.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
quapurna
Posts: 135
Joined: Wed Jun 12, 2013 4:55 pm
Location: earth (the not-flat one)

Re: Save Changed File Messages. Can They be Stopped?

Post by quapurna »

viking wrote:I often manipulate images in Full-screen mode (e.g. rotate) and then want to continue to the next file. However, I then get a message asking if I want to save the change file. I don't want to save the file, and I also don't want to keep getting this message. Is there any way to suppress it, e.g. as in classic xnview?
I hope I do not misunderstand what Viking means. He uses an image-editing command, but then he does not want the editing to be saved when he moves forward to the next image.
If I am not mistaken, the save-confirmation appears if the option item "Confirm to save changes to file" is checked (Tool > Settings > General > File operations). If it is UnChecked, then the change/s is/are automatically saved.

It is very often that I face the same situation as Viking does. As I have mentioned in other thread, I used XnViewMP for reading screen-shots of html pages. It is very difficult for me to read gray text on white background and many writers ignore this readability aspect . Since using XnViewMP "Automatic contrast" is not always helpful, I use "Negative" feature while reading the page. However, I do not want it to be saved because there are some pictures in the screen-shot; not text only. So, I keep on clicking "No" button in the save-confirmation dialogue or clicking "Undo" button before moving forward .

I think it would be nice if there is a single option/command such as "Ignore-All-Changes". This option/command can be set to appear on the ToolBar (Browse and View modes) and users can toggle it on/off. On the ToolBar, it is clear whether it is On/Off (as clear as the appearance of "Lock zoom" On/Off).
If it is "On", XnViewMP will ignore any changes and, of course, no save-confirmation appears.
If it is "Off", XnViewMP will behave as it currently does.

Is it possible and feasible ?

Thank you.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Save Changed File Messages. Can They be Stopped?

Post by oops66 »

quapurna wrote:...If it is "On", XnViewMP will ignore any changes and, of course, no save-confirmation appears.
If it is "Off", XnViewMP will behave as it currently does...
Hello,
... I vote for this kind of customisation too. (into xnview.ini file or via the GUI: toggle on/off with a password as option)
It would be very interesting if XnViewMP (and xnview) could manage some basic users rigths and permissions.
So an hidden option (not easy accessible, into the xnview.ini file for example) to give the ability to protect data (images, videos, etc..) for a particular user (useful into a child profile, for example) even if, of course, it can be also usually done with/via the system.

Code: Select all

... into the .ini file of the user
... user "rights"
allow delete operations = 0
allow write operations = 0
allow move operations = 0
allow copy operations =0
allow lossless operation = 0
etc...
XnViewMP Linux X64 - Debian - X64
quapurna
Posts: 135
Joined: Wed Jun 12, 2013 4:55 pm
Location: earth (the not-flat one)

Re: Save Changed File Messages. Can They be Stopped?

Post by quapurna »

Halo, oops66.

Perhaps, what we need is a "Protect Mode" with optional Password ?
In "Settings" there is a specific "Protect Mode" tab, in which we can set what actions to be protected and set the password ?
e.g.
=====
Protect:
[check box] delete operations
[check box] write operations
[check box] move operations
[check box] copy operations
[check box] lossless operation
etc...

Password: ......
=====

The "Protect Mode" button might be set to appear on Toolbar and can be click to turn it on/off. Optionally, a password dialogue will appear if we turn it off.

I will vote for this feature, too. :)


Thanks
.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Save Changed File Messages. Can They be Stopped?

Post by m.Th. »

Re: "User rights" - guys, guys you hijacked an unrelated thread. :) ...perhaps is better to move the post(s) in the newly created one here http://newsgroup.xnview.com/viewtopic.php?f=60&t=28427 ?
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

Re: Save Changed File Messages. Can They be Stopped?

Post by viking »

m.Th. wrote:
viking wrote:Sorry, correction: Rotate does not trigger the save message, but Mirroring (Shift H & Shift V) does.
Maybe this is a bug? Why does Mirroring, but not Rotating the image cause the Save Message?
If you go to Image | Rotate... the confirmation dialog appears.

If you go to Tools | JPEG lossless transformations... the Save dialog doesn't appear because the file is automatically "saved". In fact the JPEG lossless transformations are "applied" 'directly' on the binary file - there isn't a classical Open Image -> User actions -> Save Image process in order to show the Save Message.
I am not using the Image | Rotate command (e.g. ctrl+Shift+L).
As I wrote int he original post, I am in full screen view mode, and use the keyboard shortcuts (e.g. Shift+L) . There is no "Save Changed File" question after I rotate the image and move to the next image in this case.
However, the message pops up when I use Mirroring (e.g. Shift+H).
Why does the message pop up when I use Shift+H but not when I use Shift+L?

In classic xnview, there is a check option in the message itself to "never save". It Would be great to also have it in MP. Alternatively, in the Settings or ini file.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Save Changed File Messages. Can They be Stopped?

Post by oops66 »

quapurna wrote:...Perhaps, what we need is a "Protect Mode" with optional Password ?....
Yes, I agree ... even if it is interesting only for specific usages ... and even if it is only a basic security/safety mode ... ;-)
XnViewMP Linux X64 - Debian - X64
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Save Changed File Messages. Can They be Stopped?

Post by m.Th. »

However, the message pops up when I use Mirroring (e.g. Shift+H).
Why does the message pop up when I use Shift+H but not when I use Shift+L?
Cannot reproduce. For me Shift+H mirrors the image but it doesn't save it. Like Shift+L. See my signature for sysspecs. Also perhaps I should note that my full screen mode is on 2nd monitor with the toolbar enabled.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
quapurna
Posts: 135
Joined: Wed Jun 12, 2013 4:55 pm
Location: earth (the not-flat one)

Re: Save Changed File Messages. Can They be Stopped?

Post by quapurna »

m.Th. wrote:Re: "User rights" - guys, guys you hijacked an unrelated thread. :) ...perhaps is better to move the post(s) in the newly created one here http://newsgroup.xnview.com/viewtopic.php?f=60&t=28427 ?
Thanks for the warning, m.Th. :)
However, I think we did not hijack Viking's thread with unrelated topic. The discussion developed till we reached that point. I think if the "Protect Mode" is available, Viking can use it to get what he wants too.
I like visiting this forum since the members and developers are supportive, open-minded and polite. :)
Thanks.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Save Changed File Messages. Can They be Stopped?

Post by oops66 »

...Right, the link is here:
Request: Add basics users "Rights" for a basic security/safety_mode.
http://newsgroup.xnview.com/viewtopic.php?f=60&t=28427

PS:For me, about the check box: to "Never ask again".
... This is too dangerous in some cases, because the integrity of the files can be easily compromised by mistake (if the case: "Never ask again" was already checked long time before (not remembered)).

... So, it's better via an "hidden option" (not easily accessible (or not accessible) with the GUI) into the xnview.ini file for example ... because it should not be set to a default behavior (by a old custom choose or by mistake) ;-)
Last edited by oops66 on Fri Jul 26, 2013 9:27 pm, edited 1 time in total.
XnViewMP Linux X64 - Debian - X64
User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

Re: Save Changed File Messages. Can They be Stopped?

Post by viking »

m.Th. wrote:
However, the message pops up when I use Mirroring (e.g. Shift+H).
Why does the message pop up when I use Shift+H but not when I use Shift+L?
Cannot reproduce. For me Shift+H mirrors the image but it doesn't save it. Like Shift+L. See my signature for sysspecs. Also perhaps I should note that my full screen mode is on 2nd monitor with the toolbar enabled.
Sorry, but I do not follow; in view mode and with default shortcuts (important!)
1. If you do a Shift+H (=Mirror) on an image followed by next image (Page Down), do you get the "Save Changed File" Message?
2. If you do a Shift+L (=90degree Left) on an image followed by next image (Page Down), do you get the "Save Changed File" Message?

In my cause, if I use the default shortcuts, I get the "Save Changed File" message in both cases.
However, if I use custom shortcuts, e.g. change Shift+L to Shift+Left[arrow], I may not get this message.

I am saying may, because the shortcut assignments are really "flaky". Sometimes they don't work at all and sometimes after the new assignment I get the "Save Changed File" and other times not. See also this thread: http://newsgroup.xnview.com/viewtopic.php?f=62&t=28402
User avatar
xnview
Author of XnView
Posts: 45193
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Save Changed File Messages. Can They be Stopped?

Post by xnview »

viking wrote: 1. If you do a Shift+H (=Mirror) on an image followed by next image (Page Down), do you get the "Save Changed File" Message?
2. If you do a Shift+L (=90degree Left) on an image followed by next image (Page Down), do you get the "Save Changed File" Message?
Sorry but i can't reproduce...
Pierre.