Summary: | Wrong implementation on NotifyPointerAxisDiscrete | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | jackyzy823 |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | ahiemstra, akselmo, aleixpol, kde, nate, nicolas.fella |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
jackyzy823
2024-12-06 14:55:52 UTC
Related commit: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/ecf84c4626c9d8f61f05b42a663c39cae9ec844f https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/150/diffs > It passes positive value to fakeinput->axis in y axis, while requestPointerAxis doing a reverse one ( passing -y to fakeinput->axis).
I noticed this as well, probably because it was developed with kdeconnect - I checked and it just passes the Qt value (wayland and Qt direction are reversed). However I am wary of fixing it since it will break things that relied plasma having the broken impl and we can't sync the kdeconnect release.
(In reply to David Redondo from comment #2) > > It passes positive value to fakeinput->axis in y axis, while requestPointerAxis doing a reverse one ( passing -y to fakeinput->axis). > > I noticed this as well, probably because it was developed with kdeconnect - > I checked and it just passes the Qt value (wayland and Qt direction are > reversed). However I am wary of fixing it since it will break things that > relied plasma having the broken impl and we can't sync the kdeconnect > release. We could not break it by adding some documentation about the meaning (direction) of the value for further developers to follow the same rule. I think we should probably fix it after all and make a not in visible places. People that cared about that and had conditional code should be fine and portal users that didnt know wiill be fixed. And do some version dependent code in kdeconnect I guess |