Version: 2.0.0 (using 3.5.9-5.fc7 Fedora, Fedora release 7 (Moonshine))
Compiler: Target: i386-redhat-linux
OS: Linux (i686) release 126.96.36.199-80.fc7
* Make changes to file foo.tex
* Select "Save As" from the "File" menu
* Request to save file as foo_2.tex
This gives me a dialogue asking if I want to discard my changes to foo.tex. Clicking "discard" or "cancel" continues with the "Save As" action, and leaves foo.tex unchanged from the last save. Selecting "save" overwrites my original file foo.tex and writes the new file foo_2.tex.
This behaviour is, to my mind, counterintuitive, as if I am performing a "Save As" action, I am not about to lose any data! If I am then presented with a dialogue warning me that I am about to lose my data, I am reluctant to click discard as I don't want to lose all my hard work. But if I click save I will actually lose the old version of my document! Cancel continues with the "Save As", which is also counterintuitive.
I also find this _very_ annoying. One should not have to click 'cancel' to perform the originally desired action. If you are worried about people losing data you can just have the newly-saved file open in a new tab and leave the original open as well for the user to do as he or she wishes with it.
Fixed in Kile 2.0.2.
The underlying problem is a bug in the 'setEncoding' method in KatePart 3.x, which enforces a reload every time the encoding changes and the user is hence presented a document-modified dialog.
*** Bug 166352 has been marked as a duplicate of this bug. ***