[frameworks-kwidgetsaddons] [Bug 475898] Frame border around KTitleWidget in KF6 with Fusion style

2023-10-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475898

--- Comment #2 from equ...@gmail.com ---
I think I figured out what's happening here, and it's due to differences in how
Qt 5 and Qt 6 detect scale factors.

My monitor has natural scale factor of about 1.2 or 1.25, but I don't use
fractional scaling since it doesn't look good with 1.25 scale (in particular
SVG icons aren't sharp because it messes with their pixel grid alignment).
Instead I keep scaling slider in Plasma settings at 100% and change only font
size. Since I use X11 I do it through font dpi setting (it's less work this
way) and it works as expected with Qt 5. However Qt 6 seems to derive it's
highdpi scale factor from font dpi, and uses it to scale the whole app.
Changing font sizes directly and keeping dpi at 96 seems to fix this so there
is a workaround.

What all this means, however, is that this borders appears due to fractional
scaling. I tested it with QT_SCALE_FACTOR and Qt 5 is affected too.
My main concern right is Windows, where 1.25 scale factor is decided by the OS
and I don't think there is a way to apply it to fonts only (and my users won't
bother with it anyway). This border is present on Windows with 1.25 scale
factor too, and I would like to solve this issue somehow.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kwidgetsaddons] [Bug 475898] Frame border around KTitleWidget in KF6 with Fusion style

2023-10-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=475898

Bug Janitor Service  changed:

   What|Removed |Added

   Keywords||qt6

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kwidgetsaddons] [Bug 475898] Frame border around KTitleWidget in KF6 with Fusion style

2023-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475898

--- Comment #1 from equ...@gmail.com ---
Created attachment 162468
  --> https://bugs.kde.org/attachment.cgi?id=162468=edit
KF5

-- 
You are receiving this mail because:
You are watching all bug changes.