← Back to team overview

mudlet-makers team mailing list archive

[Bug 1676440] [NEW] The contents of the .ui files need ordering

 

Public bug reported:

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.

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1676440

Title:
  The contents of the .ui files need ordering

Status in Mudlet:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1676440/+subscriptions


Follow ups