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

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

Moderators: XnTriq, 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 » Tue Sep 30, 2014 4:38 am

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: 30263
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 » Tue Sep 30, 2014 8:32 am

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 » Wed Oct 01, 2014 1:04 am

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: 5320
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 » Wed Oct 01, 2014 1:45 am

[quote="Clo (1.90.2 - always appeare "Save changed File?")"]• 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…[/quote]
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 » Thu Oct 02, 2014 3:45 am

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: 5320
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 » Thu Oct 02, 2014 4:00 am

Hi rafael

There has been a similar report in Juli:

[quote="DesktopMasters (Turn off "confirm on overwrite"?)"]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.[/quote]
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?
[/quote]
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 » Thu Oct 02, 2014 4:41 am

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: 5320
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 » Sun Oct 05, 2014 9:00 am

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 » Sun Oct 05, 2014 11:04 pm

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: 5320
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 » Sun Oct 05, 2014 11:15 pm

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: 30263
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 » Mon Oct 06, 2014 8:43 am

please try ShowSaveDlg=1
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5320
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 » Mon Oct 06, 2014 9:45 pm

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 » Sun Oct 12, 2014 12:40 am

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 » Thu Apr 16, 2015 6:49 pm

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: 5320
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 » Thu Feb 18, 2016 4:00 am

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