Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.4
-
None
Description
When squeezing a QTextDocument to a very narrow width the minimum size suddenly changes as shown in the attached gif.
I tracked the issue down to this code.
This seems wrong to me and changing it to use the original word wrap flag WrapAtWordBoundaryOrAnywhere fixes the issue. But I'm very unsure if that is the correct solution as I don't really understand what that code is for. In the normal case it skips that entire if case until it gets to its minimum size, maybe that is the actual issue that it shouldn't trigger at all.