Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.1
-
None
-
Linux
Description
This is related to QTBUG-91774. I found another instance where QTextEdit::cursorForPosition() doesn't work with invisible blocks. I have included another minimal example that shows the bug. If you run the example, and then scroll down to between block 99 and block 200 (blocks 100-199 are hidden), if you click in the space between block 99 and block 200, you won't get a valid cursor, and the QTextEdit will scroll to the top...