how to avoid the " do you want to overwrite" window

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

ratonxnview
Posts: 9
Joined: Fri Mar 30, 2012 8:42 pm

how to avoid the " do you want to overwrite" window

Post by ratonxnview »

I will like to avoid the window "the file XXXXXX already exist, do you want to overwrite "

this happens when i modify a file even if in the first warning window, i click where it says never ask again.

I read here that modifying in the xnview.ini the entry

ShowSaveDlg to 130 it will not show again, true but it does not save the modifications when i scroll to next picture.
SaveAdvDlg=1 Using it, you may avoid the unwanted “Overwrite” dialogue ..... but this entry is not in my xnview.ini

I will really appreciate your help. i have been reading all possible solution in this board but nothing works.

Xnview version 2.22 working on windows 7

thanks

rafael
Last edited by ratonxnview on Wed Oct 01, 2014 1:09 am, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 43602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: how to avoid the " do you want to overwrite" window

Post by xnview »

you can add it in [Start] section
Pierre.
ratonxnview
Posts: 9
Joined: Fri Mar 30, 2012 8:42 pm

Re: how to avoid the " do you want to overwrite" window

Post by ratonxnview »

thanks pierre,

You mean add SaveAdvDlg=1, yes i did try with no luck. i got a warning window to overwrite ,like usual but this time with the option dont show this message again.

rafael
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: how to avoid the " do you want to overwrite" window

Post by XnTriq »

Clo ([url=http://newsgroup.xnview.com/viewtopic.php?p=45256#p45256]1.90.2 - always appeare “Save changed File?”[/url]) wrote:• Please, try this :

- Close the programme, and edit the file <xnview.ini>. Even NotePad does the trick, set :
[Start]

SaveAdvDlg=1

ShowSaveDlg=130
- Restart, and let's know what occurs…
Clo ([url=http://newsgroup.xnview.com/viewtopic.php?p=69637#p69637]want to save changes - not remembered[/url]) wrote:• Please, try in your INI :
[Start]
ShowSaveDlg= Flag
Image0: The dialogue'll remain disabled for the current session only.
Image129: The dialogue'll be displayed in all cases.
Image130: The dialogue'll never be displayed, even in the next sessions.
These flags define the behaviour of the programme when one ticks the box :
“Never display this dialogue again” when a file is modified and closed. Since 1.90 ß-4.
--------------------------------------------------------------------------------
[Start]
SaveAdvDlg=1
Allows a fine-tuning of the previous entry functions above by saving the state of the advice dialogue.
Using it, you may avoid the unwanted “Overwrite” dialogue when saving a changed file only.
• When XnView is closed !
ratonxnview
Posts: 9
Joined: Fri Mar 30, 2012 8:42 pm

Re: how to avoid the " do you want to overwrite" window

Post by ratonxnview »

many thanks Xntriq, i did try

[Start]

SaveAdvDlg=1

ShowSaveDlg=130

and now i got NO warning window "to overwrite" at all,
but the changes made will not be save and the file shows its original states,

this is so frustrating, i try all possible combination of the flags
ShowSaveDlg= 0 / 130
SaveAdvDlg=0 / 1


Its must be another entry in the ini file that i must be missing or with the wrong flag. Maybe someone can send me his INI file and i will start from there
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: how to avoid the " do you want to overwrite" window

Post by XnTriq »

Hi rafael

There has been a similar report in Juli:
DesktopMasters ([url=http://newsgroup.xnview.com/viewtopic.php?p=120703#p120703]Turn off “confirm on overwrite”?[/url]) wrote:I have played with the ShowSaveDlg=130 and SaveAdvDlg=1 and I cannot seem to get this dialog to go away when I am resizing files in place.
Unfortunately I'm very busy right now, but I'll try to do some tests on the weekend.
BTW: What's the value of ShowAgain in the [Start] section of your xnview.ini?
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=76400#p76400]File exists, overwite? Yes, again, and again, and again...[/url]) wrote:
XnView Wiki (UI-less Settings » [url=http://www.xnview.com/wiki/index.php?title=UI-less_Settings&oldid=895#Start]Start[/url]) wrote:
  • SaveAdvDlg
    • Description needed.
      Value: Integer
    ShowSaveDlg
    • Description needed.
      Value: Integer
ratonxnview
Posts: 9
Joined: Fri Mar 30, 2012 8:42 pm

Re: how to avoid the " do you want to overwrite" window

Post by ratonxnview »

many thanks, you are very generous, Xntriq

ShowAgain=268435423

i will read all the listing that you provided

rafael
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: how to avoid the " do you want to overwrite" window

Post by XnTriq »

OK, I've done extensive tests with XnView v2.23…

Code: Select all

[Start]
SaveAdvDlg=0|1
ShowAgain=268434398|268435423|268435455
ShowSaveDlg=0|129|130
… and can confirm your observations, rafael.
ratonxnview wrote:i did try

[Start]

SaveAdvDlg=1

ShowSaveDlg=130

and now i got NO warning window "to overwrite" at all,
but the changes made will not be save and the file shows its original states,
Peter's report ("Save as.." to existing file - two different alerts?) may also be related.

<-- Topic moved to bug reports -->
ratonxnview
Posts: 9
Joined: Fri Mar 30, 2012 8:42 pm

Re: how to avoid the " do you want to overwrite" window

Post by ratonxnview »

many thanks for your hard work, Xntriq

I did read all the links you had provided with no luck.

im not very familiar with this forum, and i guess that if topic has been moved to bug report, there is
nothing i could do .
My question is , does this option to disable the warning window ever works for someone, and if so , will it
be possible to just load this working ini file on my system, or is this too personal or technically no viable.

Thanks for you efford. GREAT sofware never the less

rafael
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: how to avoid the " do you want to overwrite" window

Post by XnTriq »

Hi again, rafael (-:

We have to wait for Pierre, the developer of XnView. (I'm just a regular user.)
If he confirmes that there have been changes or that this is a bug, he'll fix it in the next release.
User avatar
xnview
Author of XnView
Posts: 43602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: how to avoid the " do you want to overwrite" window

Post by xnview »

please try ShowSaveDlg=1
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: how to avoid the " do you want to overwrite" window

Post by XnTriq »

xnview wrote:please try ShowSaveDlg=1
I can't get it to work :?
  1. Place the following files into a new folder:
    • xnview.exe
    • xnview.exe.manifest
    • xnview.ini
    • test_1.jpg
    • test_2.jpg
    Content of [color=green]xnview.ini[/color] wrote:

    Code: Select all

    [Cache]
    IsActive=0
    SavingMode=1
    
    [Start]
    ParamsSavingMode=1
    SavingMode=1
    ShowSaveDlg=1
  2. Start XnView.
  3. Open test_1.jpg.
  4. Crop it.
  5. Click on Next file.
    » Save changed file: Do you want to save changes to 'test_1.jpg' ?
  6. Tick the checkbox for Never ask again and confirm with Yes.
    » test_1.jpg is saved and test_2.jpg is loaded into the viewer.
  7. Crop test_2.jpg.
  8. Click on Next file.
    » Question: The file 'test_2.jpg' already exists ! Do you want to overwrite it ? :bug:
Expected behavior: XnView should only ask me once per session if I'd like to overwrite the existing file.
ratonxnview
Posts: 9
Joined: Fri Mar 30, 2012 8:42 pm

Re: how to avoid the " do you want to overwrite" window

Post by ratonxnview »

Many thanks Xntriq and pierre,

*********** IS WORKING NOW !!!!!!!!!!!!!!!!!!!!!!!!!!
*********** IS WORKING NOW !!!!!!!!!!!!!!!!!!!!!!!!!!
*********** IS WORKING NOW !!!!!!!!!!!!!!!!!!!!!!!!!!


when i resigned myself to live with it, and wait this " bug " to be fixed in the future........

I was working today and to my surprise it works. work on a pic, then got the window " do you want to save changes to xxxxx ? . tick the box never ask againg, load next pic, work on it, load the next one and ...... no window at all. check if changes were made and yes was saved.

I don't know what solved the problem because i did try with many of the options i was told.

Here is what is in my ini.

ShowAgain=268417950

[Cache]
IsActive=1
SavingMode=0

[Start]
ParamsSavingMode=0
SavingMode=1
ShowSaveDlg=0


many many thanks for all your help.

Rafael
Hugh TasH
Posts: 3
Joined: Sat Feb 14, 2015 1:50 pm

Re: how to avoid the " do you want to overwrite" window

Post by Hugh TasH »

I've tried using the .ini settings recommended by ratonxnview, but I still get this:

Image

I'm using XnView v2.25

ratonxnview, could you please upload and share your .ini file?
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: how to avoid the " do you want to overwrite" window

Post by XnTriq »

Thanks to user Brother Gabriel-Marie, I've been able to isolate and identify the proper settings:

Code: Select all

[Start]
SaveAdvDlg=1
ShowAgain=268171860
ShowSaveDlg=129
Post Reply