Created attachment 125294 [details] Diff file with changes applied by designer STEPS TO REPRODUCE 1. checkout kmymoney source from git repo 2. enter checkout out dir 3. run designer-qt5 kmymoney/wizards/newloanwizard/knewloanwizard.ui 4. save file 5. open file again 6. change a little detail 7. save again OBSERVED RESULT The entire file is changed. The changed detail is not visible, making it difficult to detect such changes in Git repo or during reviewing. It also requires additional effort from developers to manually rework differences in the XML file when changes are made to ui files. EXPECTED RESULT The ui files should be updated so that subsequent changes can be seen and checked directly. PLATFORM: Linux/KDE Plasma: openSUSE Leap 15.1 KDE Frameworks Version: 5.49 Qt Version: 5.9.7 ADDITIONAL INFORMATIONS
*** This bug has been marked as a duplicate of bug 416534 ***
Created attachment 125660 [details] Patch for designer to update ui files With the appended patch applied to designer, ui files can be updated with find -name '*.ui' -exec designer -refresh {} \;
Created attachment 125661 [details] Patch for Qt5 designer With this patch applied to Qt5 designer, it is also able to update ui files by a shell script