Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.2
-
Win 7, Linux, OS X
-
37f326297d45564298a2c8cb1958a81b858de57c
Description
Adding QLabel to QHBoxLayout with certain AlignmentFlags(at least AlignLeft, AlignRight and AlignHCenter) and calling QLabel::setText("") doesn't cause repainting and the old text stays on the label.
Steps:
-Build and run the example app
-Press "Set some text" button => "Some text" will appears on both labels
-Press "Set empty text" button
Actual result:
-Only the above label is empty
Expected result:
-Both labels are empty
Note:
-Both labels are empty after resizing the window
Attachments
Issue Links
- resulted in
-
QTBUG-48321 [REG 5.4.x -> 5.5.x] Video playback partially broken with Qt5 interface for VLC
- Closed