This may be more a wish than a bug, but it would be very helpful if the toolbar button for "Save" changed state when a file is modified. E.g., when a file hasn't been modified the button should be inactive (greyed out, say), and after it has been modified, it should change to an active state.
For which application is this ticket?
I didn't know it depended on the application, but I had in mind Kwrite, Kate, Kile, and Okular.
Agreed the save button should only be enabled if changes are detected.
also reported against kmenuedit, see bug 383293
This is working as intended. We don't disable the save button as one can use it "touch" a file.
Why would anyone use kate to "touch" a file? On 16/8/22 19:30, Waqar Ahmed wrote: > https://bugs.kde.org/show_bug.cgi?id=419574 > > Waqar Ahmed <waqar.17a@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |waqar.17a@gmail.com > Resolution|--- |NOT A BUG > Status|CONFIRMED |RESOLVED > > --- Comment #5 from Waqar Ahmed <waqar.17a@gmail.com> --- > This is working as intended. We don't disable the save button as one can use it > "touch" a file. >
You dont have to but you can. See the linked dupe bugs if you are interested in learning more. https://bugs.kde.org/show_bug.cgi?id=85071 *** This bug has been marked as a duplicate of bug 95849 ***
I also find it much more useful for the save button to show whether a file has been modified rather than using it to touch a file. Actually, touching an unmodified file by accident would be annoying for me since I usually sort files by date modified. Any chance of reconsidering?