Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.0
-
None
-
CentOS Linux 7
GNOME
-
-
13ae47d98057c2ddca8c865b845973d7e4c8dd8b (qt/qtbase/dev) bbdcc86c52d806ab45fabf167526f9dcec291648 (qt/qtbase/6.1) cc5a1473f1fb22321f01b9955225eea1df54f417 (qt/qtbase/6.0)
Description
In case when QPlainTextEdit object is not visible and reacts on some signal which invokes appendPlainText on it, a strange white area is accessible with a scroll-bar at the end of the document. The white area disappears after resizing the window or typing some text or invoking a similar action that requires QPlainTextEdit interactions.
The appended white area looks like this:
The expected behavior of an example app should be like this:
In the attachment, there is a simple app which reproduces the problematic behavior. The button appends text to the end of the document.
Attachments
For Gerrit Dashboard: QTBUG-77937 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
333591,1 | QPlainTextEdit: adjust scroll bars when showing up | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |
333126,10 | QPlainTextEdit: adjust scroll bars when showing up | dev | qt/qtbase | Status: MERGED | +2 | 0 |
333586,2 | QPlainTextEdit: adjust scroll bars when showing up | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
333587,2 | QPlainTextEdit: adjust scroll bars when showing up | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |