Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.3.2
-
Fix Version/s: 5.5.0
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:
-
Environment:Win 7, Linux, OS X
-
Commits: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
-