Skip to content

Fix exception when dragging with touch #3746

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

Merged
merged 1 commit into from
Feb 2, 2025
Merged

Conversation

Jummit
Copy link
Contributor

@Jummit Jummit commented Feb 1, 2025

Fixes #3741

This doesn't improve touch interaction much, just avoids the context menu code erroring out.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Bug fix
  • Documentation content changes

What is the current behavior?

Issue Number: #3741

What is the new behavior?

Doesn't error.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

It would be nice to improve touch inut overall, like allowing box selection, draging elements and not preserving as much scroll momentum when dragging. I don't have a touch-enabled developing machine, so testing code changes requires a bit of work. Maybe I'll take a stab at it in the future.

@github-actions github-actions bot added the python Pull requests that update Python code label Feb 1, 2025
@amolenaar
Copy link
Member

Thanks @Jummit and congratz on your first commit to Gaphor :)

@all-contributors Add @Jummit for bugs and code

@amolenaar amolenaar merged commit 9d180c8 into gaphor:main Feb 2, 2025
6 checks passed
Copy link
Contributor

@amolenaar

I've put up a pull request to add @Jummit! 🎉

@Jummit Jummit deleted the drag-fix branch February 2, 2025 14:12
@danyeaw danyeaw added fix A fix for a bug and removed python Pull requests that update Python code labels May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when dragging canvas using touch
3 participants