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

Fix the seek bar dragging issue #837

Merged
merged 2 commits into from
Feb 3, 2024
Merged

Fix the seek bar dragging issue #837

merged 2 commits into from
Feb 3, 2024

Conversation

rdbende
Copy link
Collaborator

@rdbende rdbende commented Dec 28, 2023

Using a GtkGestureClick here is not possible, as GtkRange's internal gesture controller claims the button press event, and thus the released signal doesn't get emitted.
Therefore I added this hacky solution that gets its internal GtkGestureClick, and appends the seek bar's handlers to that.

Ideally this would be fixed in GTK, and GtkRange would forward these signals, so we wouldn't need this hack. Here's the issue about it on the GTK GitLab repo: https://gitlab.gnome.org/GNOME/gtk/-/issues/4939

@geigi geigi merged commit 5a77995 into geigi:master Feb 3, 2024
3 checks passed
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.

4 participants