Saving-as modified Kexi object does not remove its "dirty" flag. Reproducible: Always Steps to Reproduce: 1. Open any object (eg. q query) in the design view 2. Modify the object slightly so "*" dirty flag appears in he project navigator 3. "Save As" the object Actual Results: The original name still has the "*" flag attached Expected Results: The original name should not have the "*" flag attached since it's not opened -- the new object is actually opened. Applies to any objects available for save-as context command, actually everything but tables. This is general logic issue.
Created attachment 91339 [details] Situation after query2 was saved-as query31.
It seems to me that it will be more "logical" not to save original object after "Save As" operation, e.g. LibreOffice just opens newly created (by Save As) object and not saving original one. What do you think?
@Roman for comparison let's look at Windows' Notepad or KDE's Kate. They seem to work as Kexi does.
> LibreOffice just opens newly created (by Save As) object and not saving original one Tried LibreOffice Calc and it behaves like Kexi.
Git commit bd4ab9a91ad288f7be54472d12181c6ba005e4b0 by Jaroslaw Staniek, on behalf of Roman Shtemberko. Committed on 22/04/2015 at 21:40. Pushed by staniek into branch 'calligra/2.9'. Remove "dirty" flag when saving-as modified Kexi object REVIEW:123357 M +2 -0 kexi/core/KexiWindow.cpp http://commits.kde.org/calligra/bd4ab9a91ad288f7be54472d12181c6ba005e4b0