You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With using alexandria 0.6.9 (with many patches on Fedora) on Fedora 21 , with ruby-gnome 2.1.0 suite, when I click some button alexandra crashes with
/usr/share/ruby/vendor_ruby/alexandria/ui/multi_drag_treeview.rb:108:in `button_press_event': undefined method `window' for #<Gdk::EventButton:0x94c10cc ptr=0xa0004c0 own=true>
from /usr/share/ruby/vendor_ruby/alexandria/ui/multi_drag_treeview.rb:66:in `block in enable_model_drag_source'
from /usr/share/ruby/vendor_ruby/alexandria/ui/gtk_thread_help.rb:78:in `call'
from /usr/share/ruby/vendor_ruby/alexandria/ui/gtk_thread_help.rb:78:in `main'
from /usr/share/ruby/vendor_ruby/alexandria/ui/gtk_thread_help.rb:78:in `main_with_queue'
from /usr/share/ruby/vendor_ruby/alexandria/ui.rb:45:in `start_gtk'
from /usr/share/ruby/vendor_ruby/alexandria/ui.rb:50:in `main'
from /usr/share/ruby/vendor_ruby/alexandria.rb:40:in `main'
from /bin/alexandria:38:in `<main>'
This issue does not appear on Fedora 20, which uses ruby-gnome2 2.0.2 suite.
With using alexandria 0.6.9 (with many patches on Fedora) on Fedora 21 , with ruby-gnome 2.1.0 suite, when I click some button alexandra crashes with
This issue does not appear on Fedora 20, which uses ruby-gnome2 2.0.2 suite.
https://developer.gnome.org/gdk2/stable/gdk2-Event-Structures.html#GdkEventAny says that any event pointer can safely be cast to a pointer to a GdkEventAny, which includes "window" member, so I think this is a regression. Also, this old wiki http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gdk%3A%3AEventButton says that Gdk::EventButton inherits Gdk::EventAny , which has "window" method.
Looks like this commit 753593e is the culprit, however I have not checked this in detail.
The text was updated successfully, but these errors were encountered: