Yes, I ran into this too. Thus I am not against a better diff. Since it turned out to become quickly comlicted to achieve, my proposal is to use David's script on the GitHub side. Maybe you know if there is a way to lrt a script run over PRs automatically? Then our problem would be solved, no matter who made the PR on what OS.wmayer wrote: ↑Thu Jan 21, 2021 4:57 pm And that's exactly the point that is hard to achieve if the diff of a ui file is a big mess. Because then it's hard to see if e.g. the minimum or maximum size of a widget has changed. In the recent months we had several PRs where this has been changed and it probably looked good on the author's machine but often was unusable on other machines.
uwestoehr wrote:Some time ago I googled around and found an argument that for example the row ordering is irrelevant since the tab order should be set using the corresponding <tabstops> XML tag and the Qt Designer provides a UI to set the tab order.
Yes, but the argument in this forum thread (cannot find it anymore ) that if one needs to preserve the tab order, one should specify it explicitly instead of counting on the order in the XML.wmayer wrote: In the vast majority of PR where the order of widgets has been changed the tab order was not set.
However, for most of our dialogs the tab order is simply to jump from left to right row by row. Only for some special ones this is not the case and I will in future take care of this and set the tab order explicitly.
But this gives me a guilty conscience. We are all spending our spare time here and I don't want to force other to do my work. My goal is therefore to become more effective for repeating tasks. So there must be a way to automate such a script run.wmayer wrote: Feel free to just do not run the script. It can also be done by the reviewer who merges a PR.
Good idea. My intention was however to offer a ready-to-use tool so that one does not need to have a Python installation and fiddle around with modules. For example it cost me a lot of time just to be able to execute David's script. At first a module was dissing, but just installing it did not work. Then I had to google around to find that another module is used too and I had to upgrade it via pip. -> A lot of special knowledge is necessary.wmayer wrote: Why not just writing a batch file? Inside the batch file you can set all needed environment variables to find the Python interpreter and its libs. Then you drag and drop the ui file on the batch file.