Bug 357365 - round and rounded objects have wrong appearance under Qt5
Summary: round and rounded objects have wrong appearance under Qt5
Status: RESOLVED FIXED
Alias: None
Product: QtCurve
Classification: Frameworks and Libraries
Component: qt5 (show other bugs)
Version: git
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Yichao Yu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-31 11:05 UTC by RJVB
Modified: 2016-03-25 23:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.8.18-246


Attachments
check and radio buttons under Qt4/KDE4 (1.96 KB, image/png)
2015-12-31 11:06 UTC, RJVB
Details
round "slider" under Qt4/KDE4 (3.21 KB, image/png)
2015-12-31 11:07 UTC, RJVB
Details
check and radio buttons under Qt5/KF5 (3.09 KB, image/png)
2015-12-31 11:08 UTC, RJVB
Details
round "slider" under Qt5/KF5 (3.36 KB, image/png)
2015-12-31 11:08 UTC, RJVB
Details
QtCurve settings (3.54 KB, text/plain)
2015-12-31 11:11 UTC, RJVB
Details
colour palette used (2.27 KB, text/plain)
2015-12-31 11:13 UTC, RJVB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2015-12-31 11:05:11 UTC
QtCurve can look great under Qt4/KDE4, and has the advantage to provide a more compact layout than is possible with the KF5 versions of the standard Oxygen and Breeze themes.

There is however an unresolved issue with the drawing of round/elliptical and rounded objects, a regression in the Qt5 port compared to the Qt4 version.

See the attached screenshots.

Reproducible: Always

Steps to Reproduce:
Compare the appearance of radiobuttons, checkboxes, round sliders and even pushbuttons in a Qt4/KDE4 and a Qt5/KF5 application both using the QtCurve theme.

Actual Results:  
The Qt5/KF5 application looks strange and sometimes even toyish (rounded "slider")

Expected Results:  
Identical appearance

The drawing code is (almost) identical, and I can find no indication in the Qt documentation that requirements have changed for drawing circular/elliptic things. The result looks like something isn't being anti-aliased, even after turning on antialiasing everywhere where it was being kept off. (IOW, I have not introduced new AA renderhints.) Forcing a pen linewidth different from 1 pixel (assuming that that could improve AA) made no difference either.
Comment 1 RJVB 2015-12-31 11:06:19 UTC
Created attachment 96376 [details]
check and radio buttons under Qt4/KDE4
Comment 2 RJVB 2015-12-31 11:07:24 UTC
Created attachment 96377 [details]
round "slider" under Qt4/KDE4
Comment 3 RJVB 2015-12-31 11:08:07 UTC
Created attachment 96378 [details]
check and radio buttons under Qt5/KF5
Comment 4 RJVB 2015-12-31 11:08:40 UTC
Created attachment 96379 [details]
round "slider" under Qt5/KF5
Comment 5 RJVB 2015-12-31 11:11:41 UTC
Created attachment 96380 [details]
QtCurve settings
Comment 6 RJVB 2015-12-31 11:13:13 UTC
Created attachment 96381 [details]
colour palette used
Comment 7 RJVB 2015-12-31 16:24:19 UTC
Found it, almost by accident. I'll be putting up a review request soon.
Comment 8 RJVB 2016-03-25 23:27:55 UTC
Fixed in commit 0cd6aae7f58a17152843fc949407520a28a7b7ca