Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.15.2
-
Fix Version/s: 5.15.4, 6.1.0 Beta3
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:
-
Environment:Linux Desktop / Ubuntu 20.04
-
Platform/s:
-
Commits:1405b53364dde83b7274202d75aa02561afd2f47 426b363761dbb4c95d263df2e4acdfab071c8018 (qt/qtbase/dev) f930f6a7974d31754031463a77cdd7e560bff5f5 (qt/qtbase/6.1) 72d75a98f14c1033ddc588b30ede0dae5d82d48c (qt/tqtc-qtbase/tqtc/lts-5.15)
Description
Opening the QFontDialog, the first item in the font style list is highlighted no matter which is actually used for the font.
Steps to reproduce the issue:
- Run the attached example program.
Expected Result:
- The Regular font style should be highlighted as it represents the Normal weight set for the font.
Actual Result:
- The first item in the font style list is highlighted regardless of the what is set to the font.