Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch: Events are triggered on wl-touch down events not wl-touch up events #70

Open
Quackdoc opened this issue May 13, 2024 · 1 comment

Comments

@Quackdoc
Copy link

With cosmic store, touch seems to work fine except for that "pressing" an entry triggers it, not after releasing, this means you

A) cannot long press, which probably isn't super relevant since there is no context menu
B) cannot scroll unless you have enough space to the side

Behavior should be;
on down, on up = trigger entry
on-press, on motion, on up move the screen, do not trigger entry

motion needs to have some kind of distance buffer since sensitive touchscreens can report very small motions not intended to be touch drag events. a short time stamp but a long motion should be interpreted as a drag and a long time but short motion should be a long press or a context click.

Cosmic-files has in some cases the same issues pop-os/cosmic-files#62

should this be reported against libcosmic instead?

@mmstick
Copy link
Member

mmstick commented May 13, 2024

The code for handling Wayland events is in the sctk runtime in pop-os/iced, but issues for that should be filed on libcosmic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants