| Summary: | Cursor pointer precision shifted out of place with fractional scaling other than 100% | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | ryu.ketsueki |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 5.24.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/4cd25cf571d5a350b5e62e612a990bfdfa934bff | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
|
Description
ryu.ketsueki
2022-02-09 04:34:00 UTC
QPainter doesn't allow scale factors < 1, maybe this bug is caused by that issue as well, at least it's a known source of problems with decorations :(. Is the hotspot at correct position with scale factors > 1? (In reply to Vlad Zahorodnii from comment #1) > QPainter doesn't allow scale factors < 1, maybe this bug is caused by that > issue as well, at least it's a known source of problems with decorations :(. > Is the hotspot at correct position with scale factors > 1? I swapped to 125% temporarily and it would seem that the same problem happens with bigger scale factors too. I used Blockbench to test that, which displays a brush separate from the cursor. Less than 100% sets the brush a bit to the left of the pointer while higher than 100% sets it to the right, which makes sense for a scaling factor bug. What cursor theme do you use? and you use tablet, right? (In reply to Vlad Zahorodnii from comment #3) > What cursor theme do you use? and you use tablet, right? I can borrow a tablet to help debug anything and I use a cursor theme called Fluent, which is based on Breeze but the same thing happens to the default breeze cursor. The cursor is using floating point values for its position in Plasma 6, so this shouldn't be an issue anymore |