Skip to content

fix(desktop): touch screen edge cases#3120

Open
Stream (Stream29) wants to merge 2 commits into
JetBrains:jb-mainfrom
Stream29:fix/desktop-touch-screen
Open

fix(desktop): touch screen edge cases#3120
Stream (Stream29) wants to merge 2 commits into
JetBrains:jb-mainfrom
Stream29:fix/desktop-touch-screen

Conversation

@Stream29

Copy link
Copy Markdown

Issue

I found some issues when I'm using jb-toolbox in my new touch screen laptop. Button click and scroll operations from touch screen are not handled correctly.

  • Button clicks by touch are only accepted after a mouse move.
  • Drag to scroll is handled as clicks.

Changes

These changes are done on X11 path.

  • Fix button unpress judge.
  • Apply addMouseWheelListener to collect touch scroll events.

Testing

I updated the related tests.

Also, I built a small scrollable list demo based on KMP wizard and patched the library with the fixed one. These issues are observed as fixed.

This should be tested by QA.

Release Notes

Fixes - Desktop

  • Improve the touch event compatibility with xwayland.

@google-cla

google-cla Bot commented Jun 13, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Stream29

Copy link
Copy Markdown
Author

OK. Signed.

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

Successfully merging this pull request may close these issues.

1 participant