The contents of the .ui files need ordering
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mudlet |
Opinion
|
Undecided
|
Unassigned |
Bug Description
The tools provided by Qt for editing forms based on XML format xxxx.ui files do not order the contents of QGridLayouts - the Qt Designer application/IDE plugin apparently leaves things in a random order. At some point in the post 3.0.0 clean-up - possibly at the time where we apply cl-formating to the C++ source code I think it would help to reduce future "noise" in Git commits if we undertake to go through all the .ui files and sort the items included in such files into row and then column order.
This is relatively straight forward in the Qt IDE as one can choose to open such files with the "Plain Text Editor" and the code folding in that allows each element to be collapsed to a single line representation that can be cut and pasted cleanly (unless the paste is at the start or end of the items in the QGridLayout!)
To maintain the order - and to keep the Git Commits as clean as possible - it is necessary after editing such a form in the "Form Editor" (which is the default "open" mechanism) to reopen with the text editor to perform this maintenance task before including any changes in a commit.
I suggest this Bug report is closed at the point when such a clean-up is done.
Migrating issues to Github, please follow the new discussion here: https:/ /github. com/Mudlet/ Mudlet/ issues/ 814
This issue needs to be closed and there is no appropriate status, so will set it to "Opinion" just for migration purposes.