Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
None
Description
It would be useful if a method was added which is specially designed to make the move&resize operations in one go (or modifying / adding a boolean to setGeometry) if it is really needed by the programmer. Then it would be possible to make a single native call for painting the widget at the new location, with the correct size and syncing all of the internal of Qt.
A context where this would be useful is for custom animated top-level widgets, which now will get a lot of flicker due to move, resize and repaint not
happening in a single step, Sure there is way to deal with ( for example by making a larger widget with a lot of usable transparent margins to paint at the correct place in one go) but it is very frustrating to consume more memory only to deal with the flickering. It is more logic that the real size of the widget at a particular instant is the one you can see on screen.