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

ERROR: Direction 3 not recognized #43

Closed
Keno opened this issue Oct 5, 2015 · 3 comments
Closed

ERROR: Direction 3 not recognized #43

Keno opened this issue Oct 5, 2015 · 3 comments

Comments

@Keno
Copy link

Keno commented Oct 5, 2015

The Gtk based ProfileView is great. Unfortunately, I hit the following bug:

julia> FATAL ERROR: Gtk state corrupted by error thrown in a callback:
ERROR: Direction 3 not recognized
 in scrollpm at /Users/kfischer/.julia/v0.5/GtkUtilities/src/panzoom.jl:385
 in anonymous at /Users/kfischer/.julia/v0.5/GtkUtilities/src/panzoom.jl:354
 in mousescroll_cb at /Users/kfischer/.julia/v0.5/Gtk/src/events.jl:193
 in anonymous at /Users/kfischer/.julia/v0.5/Gtk/src/events.jl:2
 in g_sigatom at /Users/kfischer/.julia/v0.5/Gtk/src/GLib/signals.jl:166
 in gtk_main at /Users/kfischer/.julia/v0.5/Gtk/src/events.jl:1
@timholy
Copy link
Owner

timholy commented Oct 5, 2015

Out of curiosity, what are you doing to generate that event? I use a mousewheel, and the only possibilities are UP and DOWN. You must have generated RIGHT somehow. I can have it silently drop RIGHT and LEFT, but it seems like a better fix would be to have it do something different in such cases. (It may be as simple as assigning +1/-1 appropriately to LEFT and RIGHT in scrollpm.)

Hard for me to test this, so can I ask you to submit the appropriate patch?

@timholy
Copy link
Owner

timholy commented Oct 5, 2015

Oh, and all this should be moved over to GtkUtilities, so I'll close this.

@timholy timholy closed this as completed Oct 5, 2015
@timholy
Copy link
Owner

timholy commented Oct 5, 2015

Helpful link: https://github.com/timholy/GtkUtilities.jl

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