Version: (using KDE KDE 3.3.1) Installed from: SuSE RPMs Compiler: gcc 3.3.3 SuSE OS: Linux In other programs is the savebutton unclickable, when no changes where made since the last save. I think, this is a useful function to see, that a file was saved right and that no changes where made since then. I think, this is easy to do with only one boolean "is_save". It isn't necessary to check, if the file in the memory is the same like this on the harddisk (changes and then go back).
This is pr design. You can allways save the document, regardless if you changed it or not. The file is written, so saving a unmodified (in the editor) file will overwrite the disk file. Katepart provides a signal as well as a method (isModified(), we're a KDE app so we use KDE naming style ;). The cients are supposed to show the modification state of its documents otherwise, KDE applications typically has the phrase [Modified] in the title bar, kate also shows a idon in the status bar and in the file list modified documents are marked with a icon as well.
*** Bug 76912 has been marked as a duplicate of this bug. ***
*** Bug 77212 has been marked as a duplicate of this bug. ***
*** Bug 85071 has been marked as a duplicate of this bug. ***
*** Bug 219291 has been marked as a duplicate of this bug. ***
*** Bug 261865 has been marked as a duplicate of this bug. ***
*** Bug 289032 has been marked as a duplicate of this bug. ***
> The file is written, so saving a unmodified (in the editor) file > will overwrite the disk file. Kate has file monitoring, so it would make sense to disable the save action when the disk file is identical to the unmodified editor file.
There is no sense in saving a file that does not need to at least with the floppy icon ; now if you still want to proceed with such useless action you still can use the menu item "File/save" never disabled though we can argue that such menu item could be disabled as well.
It is not true, that it makes no sense. E.g. you may want to trigger a recompile, by just stating the file. Relying on the file monitoring is no good idea either, if we screw that up, we end up in situations were we can't save files.
*** Bug 332667 has been marked as a duplicate of this bug. ***
*** Bug 419574 has been marked as a duplicate of this bug. ***
*** Bug 354545 has been marked as a duplicate of this bug. ***
*** Bug 455186 has been marked as a duplicate of this bug. ***
*** Bug 450942 has been marked as a duplicate of this bug. ***