[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Aranjedeath changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #95 from [email protected] --- (In reply to Robby Engelmann from comment #91) > There is there some mis-rendering in dolphins preview pane (see attachment) This bad image scaling-related issue is different and is already well known in various KDE apps: - Kolourpaint https://bugs.kde.org/show_bug.cgi?id=436615 - Kontact https://bugs.kde.org/show_bug.cgi?id=482128 - Kmail https://bugs.kde.org/show_bug.cgi?id=488324 - It is also visible in System Settings > Text & Fonts > Font Management -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #94 from Nate Graham --- New one please. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #93 from Robby Engelmann --- should I open a new report or is there already one? -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #92 from Nate Graham --- That's something else. This bug report is about QML text in desktop apps. That text is rendered by the thumbnailer plugins, which isn't QML. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #90 from Robby Engelmann --- Created attachment 176164 --> https://bugs.kde.org/attachment.cgi?id=176164&action=edit Dolphins preview -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #91 from Robby Engelmann --- There is there some mis-rendering in dolphins preview pane (see attachment) -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Arjen Hiemstra changed: What|Removed |Added CC||[email protected] --- Comment #89 from Arjen Hiemstra --- *** Bug 496726 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #88 from Nate Graham --- No, that should be unset now. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 GoldBarb changed: What|Removed |Added CC||[email protected] --- Comment #87 from GoldBarb --- (In reply to David Edmundson from comment #85) > Git commit e82957f5e6fc72e446239e2ee5139b93d3ceac85 by David Edmundson. > Committed on 22/11/2024 at 21:57. > Pushed by davidedmundson into branch 'master'. > > Use Qt text rendering when high DPI scaling > > It is known that native rendering performs badly with scaling and an > existing workaround is in place. > > The current check does not work on Wayland that has per-window rather > than per-screen scaling. Given Qt changes hinting preferences when any > scaling is used anyway, we may as well commit to using the non-native > rendering throughout. > > For QtQuick the Qt renderer is more performant, handles transformations > better and avoids this issue. Given the results look basically > identical, we can simplify the existing code. > > M +9-8kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp > > https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/ > e82957f5e6fc72e446239e2ee5139b93d3ceac85 Does the environment variable: QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor Still need to be set ? -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 James W changed: What|Removed |Added CC||[email protected] --- Comment #86 from James W --- *** Bug 496579 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 David Edmundson changed: What|Removed |Added Resolution|--- |FIXED Latest Commit||https://invent.kde.org/fram ||eworks/qqc2-desktop-style/- ||/commit/e82957f5e6fc72e4462 ||39e2ee5139b93d3ceac85 Status|ASSIGNED|RESOLVED --- Comment #85 from David Edmundson --- Git commit e82957f5e6fc72e446239e2ee5139b93d3ceac85 by David Edmundson. Committed on 22/11/2024 at 21:57. Pushed by davidedmundson into branch 'master'. Use Qt text rendering when high DPI scaling It is known that native rendering performs badly with scaling and an existing workaround is in place. The current check does not work on Wayland that has per-window rather than per-screen scaling. Given Qt changes hinting preferences when any scaling is used anyway, we may as well commit to using the non-native rendering throughout. For QtQuick the Qt renderer is more performant, handles transformations better and avoids this issue. Given the results look basically identical, we can simplify the existing code. M +9-8kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/e82957f5e6fc72e446239e2ee5139b93d3ceac85 -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Celeste Liu changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891
--- Comment #83 from Luis ---
(In reply to Luis from comment #82)
> (In reply to Ilya Fedin from comment #80)
> > > I used the following overlay
> >
> > Shouldn't it be like that?
> > ```
> > kdePackages = super.kdePackages // {
> > qqc2-desktop-style =
> > super.kdePackages.qqc2-desktop-style.overrideAttrs
> > (old: {
> > patches = [
> >
> > ./patches/force_qttextrendering.patch
> > ];
> > });
> > };
> > ```
> > Also, I noticed you had force_nativetextrendering instead of
> > force_qttextrendering? While native text rendering is exactly the broken?
>
> your overlay works just like mine, no recompile, and I still have the messy
> text :/. I'm on 125% scale, 1920x1200 screen.
and naming aside, i made a mistake writing the other patch, indeed it did
nothing, was supposed to have your changes on the 429 MR.
--
You are receiving this mail because:
You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #84 from Ilya Fedin --- Yeah, most likely the qqc2-desktop-style dependency gets specified in a way that doesn't involves accessing the attribute so overay doesn't work. I.e. it's likely you have to specify the overridden package to every package using it. system.replaceDependencies.replacements is likely the easiest way to get the patched version actually used by everything. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #81 from Luis --- Created attachment 175833 --> https://bugs.kde.org/attachment.cgi?id=175833&action=edit overlay applied, text still messy -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891
--- Comment #82 from Luis ---
(In reply to Ilya Fedin from comment #80)
> > I used the following overlay
>
> Shouldn't it be like that?
> ```
> kdePackages = super.kdePackages // {
> qqc2-desktop-style =
> super.kdePackages.qqc2-desktop-style.overrideAttrs
> (old: {
> patches = [
>
> ./patches/force_qttextrendering.patch
> ];
> });
> };
> ```
> Also, I noticed you had force_nativetextrendering instead of
> force_qttextrendering? While native text rendering is exactly the broken?
your overlay works just like mine, no recompile, and I still have the messy
text :/. I'm on 125% scale, 1920x1200 screen.
--
You are receiving this mail because:
You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891
--- Comment #76 from Luis ---
(In reply to Ilya Fedin from comment #75)
> > Happens on System Settings still...
>
> Perhaps you didn't really applied it? That likely not as trivial as on other
> distros on NixOS.
I used the following overlay
```
kdePackages = super.kdePackages // {
qqc2-desktop-style =
super.kdePackages.qqc2-desktop-style.override (old: {
mkKdeDerivation = args:
super.kdePackages.mkKdeDerivation ( args // {
patches = [
#
./patches/force_qttextrendering.patch
./patches/force_nativetextrendering.patch
];
});
});
};
```
force_qttextrendering.patch being gilles' patch from the AUR, and
force_nativetextrendering.patch being this
https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/429/diffs#2a3d10f43f861a11d8c4e155373c59e7f24179c1_61_59.
I do think it did work, because the package did compile, before it compiled
properly, it complained about the file being missing, which then I corrected,
and it did recompile when I changed patches, so I assume it did work.
--
You are receiving this mail because:
You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891
--- Comment #80 from Ilya Fedin ---
> I used the following overlay
Shouldn't it be like that?
```
kdePackages = super.kdePackages // {
qqc2-desktop-style =
super.kdePackages.qqc2-desktop-style.overrideAttrs (old: {
patches = [
./patches/force_qttextrendering.patch
];
});
};
```
Also, I noticed you had force_nativetextrendering instead of
force_qttextrendering? While native text rendering is exactly the broken?
--
You are receiving this mail because:
You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #79 from Luis --- (In reply to Reilly Brogan from comment #78) > I applied the patch to the appropriate package on Solus and I haven't really > noticed any of the previous glyph rendering issues. I looked through > systemsettings and while I'm not really sure which KCMs are QML-based and > which aren't I didn't notice any rendering issues. So my guess is that the > patch is incorrectly applied (but if not please provide which KCM is having > issues and I'll try to reproduce it). I just scrolled up and down systemsettings multiple times and got the issues :/, this is awkward, then. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #78 from Reilly Brogan --- I applied the patch to the appropriate package on Solus and I haven't really noticed any of the previous glyph rendering issues. I looked through systemsettings and while I'm not really sure which KCMs are QML-based and which aren't I didn't notice any rendering issues. So my guess is that the patch is incorrectly applied (but if not please provide which KCM is having issues and I'll try to reproduce it). -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #77 from Luis --- (In reply to Ilya Fedin from comment #74) > > Actually, it's just on the Dolphin file picker. Normal Dolphin is fine. > > If you mean file dialog, it has nothing to do with dolphin. It's a part of > plasma-integration or xdg-desktop-portal-kde (yes, there are two of them). Huh. I need to find which is which then, I need to ask for a feature to be added to it. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #75 from Ilya Fedin --- > Happens on System Settings still... Perhaps you didn't really applied it? That likely not as trivial as on other distros on NixOS. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #72 from Luis --- (In reply to Luis from comment #71) > (In reply to gilles from comment #70) > > For Arch users, I've published qqc2-desktop-style alternative which always > > forces QtTextRendering, based on David's MR > > https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/429, > > as it completely solves this issues for me with 150% fractional scaling: > > > > https://aur.archlinux.org/packages/qqc2-desktop-style-fractional > i've applied that patch to my nixOS system, and while it does solve text > rendering mostly, I still have text and icons moving around a bit when > highlighting stuff on Dolphin/Dolphin as file picker, and sometimes I get > leftover thin horizontal lines on Konsole. Actually, it's just on the Dolphin file picker. Normal Dolphin is fine. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #73 from Luis --- (In reply to Luis from comment #72) > (In reply to Luis from comment #71) > > (In reply to gilles from comment #70) > > > For Arch users, I've published qqc2-desktop-style alternative which always > > > forces QtTextRendering, based on David's MR > > > https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/429, > > > as it completely solves this issues for me with 150% fractional scaling: > > > > > > https://aur.archlinux.org/packages/qqc2-desktop-style-fractional > > i've applied that patch to my nixOS system, and while it does solve text > > rendering mostly, I still have text and icons moving around a bit when > > highlighting stuff on Dolphin/Dolphin as file picker, and sometimes I get > > leftover thin horizontal lines on Konsole. > > Actually, it's just on the Dolphin file picker. Normal Dolphin is fine. Happens on System Settings still... -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #74 from Ilya Fedin --- > Actually, it's just on the Dolphin file picker. Normal Dolphin is fine. If you mean file dialog, it has nothing to do with dolphin. It's a part of plasma-integration or xdg-desktop-portal-kde (yes, there are two of them). -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Luis changed: What|Removed |Added CC||[email protected] --- Comment #71 from Luis --- (In reply to gilles from comment #70) > For Arch users, I've published qqc2-desktop-style alternative which always > forces QtTextRendering, based on David's MR > https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/429, > as it completely solves this issues for me with 150% fractional scaling: > > https://aur.archlinux.org/packages/qqc2-desktop-style-fractional i've applied that patch to my nixOS system, and while it does solve text rendering mostly, I still have text and icons moving around a bit when highlighting stuff on Dolphin/Dolphin as file picker, and sometimes I get leftover thin horizontal lines on Konsole. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Timothy B changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #70 from [email protected] --- For Arch users, I've published qqc2-desktop-style alternative which always forces QtTextRendering, based on David's MR https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/429, as it completely solves this issues for me with 150% fractional scaling: https://aur.archlinux.org/packages/qqc2-desktop-style-fractional -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Dmitrii Chermnykh changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Nate Graham changed: What|Removed |Added CC||[email protected] --- Comment #69 from Nate Graham --- *** Bug 494217 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Bug Janitor Service changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #68 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/429 -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #65 from Vasily Khoruzhick --- (In reply to Ilya Fedin from comment #64) > The rounding policy workaround just disables fractional scaling (you get > apps downscaled from the next integer scale factor). The Qt text rendering > workaround doesn't disable fractional scaling at least, just changes the > text rendering method... As an user I don't really care if it's downscaled from the next integer scale factor or not, I care if it's crisp or not. What I'm asking is why we don't have plasma-level workaround while we don't have a proper fix. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #67 from Ilya Fedin --- > What I'm asking is why we don't have plasma-level workaround while we don't > have a proper fix. It's already present (as I linked previously), it just doesn't work if you use Wayland. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #66 from [email protected] --- Hi, Unfortunately, it's not a valid workaround, neither on X11 nor Wayland (and this bug is equally reproducible on both environments with the reproducer in https://bugs.kde.org/show_bug.cgi?id=479891#c37 as long as fractional scaling is enabled): - On X11, it screws up the relative scaling of images and text, as I explained in https://bugs.kde.org/show_bug.cgi?id=479891#c35 for instance - On Wayland, it completely disables native fractional rendering, instead relying on the compositor, as explained here https://bugreports.qt.io/browse/QTBUG-113574. As a result, fonts gets blurry, which depending on personal tolerance to bad font rendering, is perceived from invisible to insufferable. In particular, it makes CJK characters really hard to read at small font sizes. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #64 from Ilya Fedin --- The rounding policy workaround just disables fractional scaling (you get apps downscaled from the next integer scale factor). The Qt text rendering workaround doesn't disable fractional scaling at least, just changes the text rendering method... -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #63 from Vasily Khoruzhick --- Hey folks, This bug has been opened since January, and there is a known workaround (setting QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor). I hope I don't offend anyone and I don't intend to hurt or blame anyone, but I really wonder is there a good reason not to apply it at plasma level rather than asking users to set it? I understand that it's free software and developers are working on it in their spare time, but if there is not enough resources to fix the underlying issue, why not to apply a workaround? -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #62 from David Edmundson --- >Nate, what do you think about changing the condition to >qFuzzyCompare(qApp->devicePixelRatio(), qreal(1.0)) Totally makes sense. Negative part is it's not dynamic. I made a MR for an even more aggressive version and just always enable it. We'll see how that goes then if that gets pushback we can do that version. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 hadyn changed: What|Removed |Added CC||[email protected] ||et -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 [email protected] changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #61 from Nate Graham --- I don't have a technical opinion on the matter. David, what do you think? -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Ye Jingchen changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 wazhai changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #60 from Ilya Fedin --- Nate, what do you think about changing the condition to qFuzzyCompare(qApp->devicePixelRatio(), qreal(1.0)), i.e. using Qt text rendering whenever scaling is enabled rather than only when the screen with highest scaling factor has fractional one? That would fix the issue and any difference in rendering is unlikely to be visible with 2x and higher anyway. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 maltejur changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #59 from Ilya Fedin --- I also wonder whether int(devicePixelRatio) == devicePixelRatio check has to be exactly that? The next integer scaling factor is 2x and I'm really doubt that any difference between QtRendering and NativeRendering is visible with such factor. qFuzzyCompare(qApp->devicePixelRatio(), qreal(1.0)) would make it work on Wayland and will also be a better fit for multiscreen setups (such as when the screen with highest DPR has integer DPR but there's still a screen with fractional DPR) -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #58 from Ilya Fedin --- Those patches provide the right values to the user-facing APIs such as qApp->devicePixelRatio() so the code like the one in qqc2-desjtoo-styke works correctly, they don't add any rescaling. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #57 from David Edmundson --- >It seems David himself also had a similar patch but abandoned it, too. At least I'm consistent. I even tried pushing it upstream too. What put me off was the chromium developers showing me their version and the need for different rounding in each desktop. Experience so far seems to suggest re-scaling from 200 pixels to 150 pixels is always ok. Not great, not terrible. Re-scaling from 151 pixels to 150 pixels can look absolutely trash. So if we're going to do it, we need the value spot on. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 TraceyC changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Dmitry Nezhevenko changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Massimiliano L changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #56 from Ilya Fedin --- I submitted it already, as a part of a different work, to qtwayland. Sadly, David Edmundson rejected the idea. https://codereview.qt-project.org/c/qt/qtwayland/+/590173 (most discussion including -1 is in the qtbase patch, click on the topic link) It seems David himself also had a similar patch but abandoned it, too. https://codereview.qt-project.org/c/qt/qtwayland/+/563344 -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Reilly Brogan changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Ilya Bizyaev changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #55 from Nate Graham --- Wanna submit a patch? -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 David Warner changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Ilya Fedin changed: What|Removed |Added CC||[email protected] --- Comment #53 from Ilya Fedin --- Looks like the bug happens because this check misbehaves on Wayland: https://invent.kde.org/frameworks/qqc2-desktop-style/-/blob/master/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp#L53-59 On X11, QScreen properly reports fractional scale factors while on Wayland they report only integer scale factors so qGuiApp->devicePixelRatio() reports the integer one, too. And the fractional one could be retrieved only from QWindow. Also, the link in the code seem to be quite outdated, the bug is still here but tracked by https://bugreports.qt.io/browse/QTBUG-122830 now. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #54 from Ilya Fedin --- Similar code also present in https://invent.kde.org/plasma/qqc2-breeze-style/-/blob/master/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp?ref_type=heads#L59-91 -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Nicolas changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 SigHunter changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #52 from [email protected] --- Created attachment 174652 --> https://bugs.kde.org/attachment.cgi?id=174652&action=edit Minimal reproducing case with Qt 6.8.0 I've got some bad news. This issue is still present in with Qt 6.8.0, and can still be easily reproduced with the minimal reproducing case in https://bugs.kde.org/show_bug.cgi?id=479891#c37. ❯ qml6 --version Qml Runtime 6.8.0 -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Tupac changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Andreas Sturmlechner changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 cwo changed: What|Removed |Added CC||[email protected] --- Comment #51 from cwo --- *** Bug 489845 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Vitor M. Pereira changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #50 from [email protected] --- (In reply to dofficialgman from comment #49) > That test shows there is subsurface alignment issues. Can you open another > bug report for that as its unrelated to this one? I have run the tests > myself and confirmed your results. I went ahead and opened a bug for this issue. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #49 from [email protected] --- (In reply to Michel Le Bihan from comment #8) > Isn't there a subsurface alignment issue in KWin? I run the subsurface test > client mentioned in > https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/ > 143#note_1343171 and there is clearly a misalignment. I run the same test > client in Mutter with fractional scaling and it looked fine. It seems that > it was corrected in Mutter in > https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2726. That test shows there is subsurface alignment issues. Can you open another bug report for that as its unrelated to this one? I have run the tests myself and confirmed your results. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #48 from [email protected] --- (In reply to postix from comment #44) > By Andreas G in bug #489076 > > > This is a bug in qtwebengine: > > https://bugreports.qt.io/browse/QTBUG-113574 > > > > You can work around it by setting the environment variable: > > QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor > > https://userbase.kde.org/Session_Environment_Variables > > > > Or you just wait for qt 6.8 to get released and deployed. It will be fixed > > in the next version. > > Can anyone confirm that this also fixes their issue here? It does so at > least for me in (Comment 42). using the environment variable works around the issue I posted in the previous comment (plasma 6.1.3 QT 6.7.2 KDE Neon 24.04) -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 [email protected] changed: What|Removed |Added CC||[email protected] --- Comment #47 from [email protected] --- Created attachment 172622 --> https://bugs.kde.org/attachment.cgi?id=172622&action=edit bad text alignment on plasma 6.1.3 wayland (4K 150%) I believe I am also experiencing this issue. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 cwo changed: What|Removed |Added CC||[email protected] --- Comment #46 from cwo --- *** Bug 491258 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 [email protected] changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 João Figueiredo changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 cwo changed: What|Removed |Added CC||[email protected] --- Comment #45 from cwo --- *** Bug 486039 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #44 from postix --- By Andreas G in bug #489076 > This is a bug in qtwebengine: > https://bugreports.qt.io/browse/QTBUG-113574 > > You can work around it by setting the environment variable: > QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor > https://userbase.kde.org/Session_Environment_Variables > > Or you just wait for qt 6.8 to get released and deployed. It will be fixed > in the next version. Can anyone confirm that this also fixes their issue here? It does so at least for me in (Comment 42). -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 postix changed: What|Removed |Added CC||[email protected] --- Comment #43 from postix --- *** Bug 489076 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 postix changed: What|Removed |Added CC||[email protected] --- Comment #42 from postix --- Created attachment 171822 --> https://bugs.kde.org/attachment.cgi?id=171822&action=edit Screenshot: SystemSettings::Sound volume (1.25 scaling, Plasma 6.1.2 with Qt6.7.2 on F40) -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Francisco Z changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Matt Whitlock changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 YanEx13 changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #41 from Pavel Dobiáš --- Created attachment 171084 --> https://bugs.kde.org/attachment.cgi?id=171084&action=edit System Settings - Overview (Applications) 1920x1080@125% Idk if this is related exactly to this specific bug, but I have 125% fractional scaling set on my 1080p display and my System Monitor Applications section in Overview looks terrible. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 --- Comment #40 from Nate Graham --- (In reply to derek from comment #38) > Created attachment 170870 [details] > The worst one ive seen @ 150% 1440p That is something different, not this bug. -- You are receiving this mail because: You are watching all bug changes.
[kde] [Bug 479891] Some text glyphs in QML software are vertically mis-aligned or squished when using a fractional scale factor
https://bugs.kde.org/show_bug.cgi?id=479891 Nate Graham changed: What|Removed |Added Summary|Some text glyphs in QML |Some text glyphs in QML |software are mis-aligned or |software are vertically |squished when using a |mis-aligned or squished |fractional scale factor |when using a fractional ||scale factor -- You are receiving this mail because: You are watching all bug changes.
