Summary: | Text looks cut off and buggy when scrolling using trackpad or mouse | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | Logan Turner <loganturner547> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bomiyr, bugseforuns, jackhill3103, nate, nicolas.fella, noahadvs, radimir.cacic09, raymond.perigo, samuelsumukhreddy, tubbadu |
Priority: | HI | Keywords: | regression |
Version: | 5.90.0 | ||
Target Milestone: | Not decided | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kirigami/commit/de215e196ed8b40a4abf5fa0da6c59adeba30187 | Version Fixed In: | 5.92 |
Sentry Crash Report: | |||
Attachments: |
Bad text rendering in discover when scrolling with touchpad
Gammaray screenshot |
Description
Logan Turner
2022-02-09 20:16:27 UTC
Created attachment 146512 [details]
Bad text rendering in discover when scrolling with touchpad
Can reproduce on Wayland session of neon unstable while scrolling the effects list in Desktop Effects KCM with touchpad. This kind of issue usually happens when a QML item has a non-integer position. In this case it seems like the scrollview's flickable's child item has a that *** Bug 449970 has been marked as a duplicate of this bug. *** Same thing in systemsettings (https://bugs.kde.org/show_bug.cgi?id=449970) Created attachment 146555 [details]
Gammaray screenshot
In all cases there's a RefreshableScrollView involved This seems to be caused by https://invent.kde.org/frameworks/kirigami/-/commit/f6ca218607ff7e5d5066eb3224154c3256cb9516 We should probably round the contentX and contentY position changes in Kirigami WheelHandler. Actually, isn't there already a solution built into Flickable? Set `pixelAligned: true`. That's technically the correct thing to do. It's not going to work that well with fractional scale factors though. Even if we made a built-in workaround in Kirigami WheelHandler, I'm not sure we'd be able to do much about fractional scale factors. The ideal fix would be to fix the text elements in Qt so that they don't glitch out when given fractional positions. *** Bug 449979 has been marked as a duplicate of this bug. *** *** Bug 450011 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/494 Git commit de215e196ed8b40a4abf5fa0da6c59adeba30187 by Noah Davis. Committed on 11/02/2022 at 14:26. Pushed by ndavis into branch 'master'. WheelHandler: Round contentX/contentY positions I'm basically forcing pixel alignment because I don't see a reason not to when scrolling with a touchpad or mouse wheel. We should ideally also fix this in Qt so that workarounds like these aren't necessary. https://bugs.kde.org/show_bug.cgi?id=449884 M +15 -0 src/wheelhandler.cpp https://invent.kde.org/frameworks/kirigami/commit/de215e196ed8b40a4abf5fa0da6c59adeba30187 *** Bug 450055 has been marked as a duplicate of this bug. *** *** Bug 446048 has been marked as a duplicate of this bug. *** |