Project

General

Profile

致命的 #618

Ruby-GNOME2のHEADを持ってくるとマウスポインタをTimeLineに乗せると落ちる

Added by コスモ 虹川 over 6 years ago. Updated over 6 years ago.

Status:
終了
Priority:
通常
Target version:
Start date:
2013-10-16
Due date:
% Done:

0%

プラグイン名:
gtk

Description

具体的にはこのコミット 753593e

によりイベントを受け取ったオブジェクトのクラスへのアサイン方法が変更されている(?)ため、

signal_emit("leave_notify_event", e, *last_motioned)


signal_emit("motion_notify_event", e, *motioned)

の個所で落ちてしまう。

/media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:72:in `signal_emit': invalid argument Gdk::EventMotion (expect Gdk::EventButton)
     from /media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:72:in `block in tree='
     from /media/Data2/mikutter/core/mui/gtk_extension.rb:21:in `call'
     from /media/Data2/mikutter/core/mui/gtk_extension.rb:21:in `block in safety_signal_connect'
     from /media/Data2/mikutter/core/mui/gtk_extension.rb:16:in `safety_signal_connect'
     from /media/Data2/mikutter/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class'
     from /media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:67:in `tree='
     from /media/Data2/mikutter/core/mui/cairo_inner_tl.rb:54:in `block in column_schemer'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:101:in `call'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:101:in `get_render_by'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:88:in `block in set_columns'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `each'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `inject'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `set_columns'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:16:in `initialize'
     from /media/Data2/mikutter/core/mui/gtk_tree_view_pretty_scroll.rb:13:in `initialize'
     from /media/Data2/mikutter/core/mui/cairo_inner_tl.rb:34:in `initialize'
     from /media/Data2/mikutter/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class'
     from /media/Data2/mikutter/core/mui/cairo_timeline.rb:44:in `new'
     from /media/Data2/mikutter/core/mui/cairo_timeline.rb:44:in `initialize'
     from /media/Data2/mikutter/core/mui/gtk_timeline_utils.rb:30:in `new'
     from /media/Data2/mikutter/core/mui/gtk_timeline_utils.rb:30:in `new'
     from /media/Data2/mikutter/core/plugin/gtk/gtk.rb:178:in `block (2 levels) in <top (required)>'
     from /media/Data2/mikutter/core/event_listener.rb:25:in `call'
     from /media/Data2/mikutter/core/event_listener.rb:25:in `update'
     from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:195:in `block in notify_observers'
     from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:194:in `each'
     from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:194:in `notify_observers'
     from /media/Data2/mikutter/core/event.rb:63:in `block (2 levels) in call'
     from /media/Data2/mikutter/core/event.rb:63:in `catch'
     from /media/Data2/mikutter/core/event.rb:63:in `block in call'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `call'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `run'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/extend.rb:58:in `run_once'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/extend.rb:30:in `run'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer.rb:43:in `method_missing'
     from /media/Data2/mikutter/core/plugin/gtk/delayer.rb:10:in `block in boot'
     from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `call'
     from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `main'
     from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `mainloop'
     from mikutter.rb:62:in `boot!'
     from mikutter.rb:80:in `<main>'

/media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:63:in `signal_emit': invalid argument Gdk::EventCrossing (expect Gdk::EventButton)
     from /media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:63:in `block in tree='
     from /media/Data2/mikutter/core/mui/gtk_extension.rb:21:in `call'
     from /media/Data2/mikutter/core/mui/gtk_extension.rb:21:in `block in safety_signal_connect'
     from /media/Data2/mikutter/core/mui/gtk_extension.rb:16:in `safety_signal_connect'
     from /media/Data2/mikutter/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class'
     from /media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:61:in `tree='
     from /media/Data2/mikutter/core/mui/cairo_inner_tl.rb:54:in `block in column_schemer'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:101:in `call'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:101:in `get_render_by'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:88:in `block in set_columns'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `each'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `inject'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `set_columns'
     from /media/Data2/mikutter/core/mui/gtk_crud.rb:16:in `initialize'
     from /media/Data2/mikutter/core/mui/gtk_tree_view_pretty_scroll.rb:13:in `initialize'
     from /media/Data2/mikutter/core/mui/cairo_inner_tl.rb:34:in `initialize'
     from /media/Data2/mikutter/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class'
     from /media/Data2/mikutter/core/mui/cairo_timeline.rb:44:in `new'
     from /media/Data2/mikutter/core/mui/cairo_timeline.rb:44:in `initialize'
     from /media/Data2/mikutter/core/mui/gtk_timeline_utils.rb:30:in `new'
     from /media/Data2/mikutter/core/mui/gtk_timeline_utils.rb:30:in `new'
     from /media/Data2/mikutter/core/plugin/gtk/gtk.rb:178:in `block (2 levels) in <top (required)>'
     from /media/Data2/mikutter/core/event_listener.rb:25:in `call'
     from /media/Data2/mikutter/core/event_listener.rb:25:in `update'
     from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:195:in `block in notify_observers'
     from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:194:in `each'
     from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:194:in `notify_observers'
     from /media/Data2/mikutter/core/event.rb:63:in `block (2 levels) in call'
     from /media/Data2/mikutter/core/event.rb:63:in `catch'
     from /media/Data2/mikutter/core/event.rb:63:in `block in call'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `call'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `run'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/extend.rb:58:in `run_once'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/extend.rb:30:in `run'
     from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer.rb:43:in `method_missing'
     from /media/Data2/mikutter/core/plugin/gtk/delayer.rb:10:in `block in boot'
     from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `call'
     from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `main'
     from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `mainloop'
     from mikutter.rb:62:in `boot!'
     from mikutter.rb:80:in `<main>'
notice: mikutter.rb:68:in `rescue in boot!': ArgumentError
/media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:63:in `block in tree=': invalid argument Gdk::EventCrossing (expect Gdk::EventButton) (ArgumentError)
    from /media/Data2/mikutter/core/mui/gtk_extension.rb:21:in `call'
    from /media/Data2/mikutter/core/mui/gtk_extension.rb:21:in `block in safety_signal_connect'
    from /media/Data2/mikutter/core/mui/gtk_extension.rb:16:in `safety_signal_connect'
    from /media/Data2/mikutter/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class'
    from /media/Data2/mikutter/core/mui/cairo_cell_renderer_message.rb:61:in `tree='
    from /media/Data2/mikutter/core/mui/cairo_inner_tl.rb:54:in `block in column_schemer'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:101:in `call'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:101:in `get_render_by'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:88:in `block in set_columns'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `each'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `inject'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:75:in `set_columns'
    from /media/Data2/mikutter/core/mui/gtk_crud.rb:16:in `initialize'
    from /media/Data2/mikutter/core/mui/gtk_tree_view_pretty_scroll.rb:13:in `initialize'
    from /media/Data2/mikutter/core/mui/cairo_inner_tl.rb:34:in `initialize'
    from /media/Data2/mikutter/core/lib/uithreadonly.rb:22:in `block (2 levels) in singleton class'
    from /media/Data2/mikutter/core/mui/cairo_timeline.rb:44:in `new'
    from /media/Data2/mikutter/core/mui/cairo_timeline.rb:44:in `initialize'
    from /media/Data2/mikutter/core/mui/gtk_timeline_utils.rb:30:in `new'
    from /media/Data2/mikutter/core/mui/gtk_timeline_utils.rb:30:in `new'
    from /media/Data2/mikutter/core/plugin/gtk/gtk.rb:178:in `block (2 levels) in <top (required)>'
    from /media/Data2/mikutter/core/event_listener.rb:25:in `call'
    from /media/Data2/mikutter/core/event_listener.rb:25:in `update'
    from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:195:in `block in notify_observers'
    from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:194:in `each'
    from /home/cosmo/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/observer.rb:194:in `notify_observers'
    from /media/Data2/mikutter/core/event.rb:63:in `block (2 levels) in call'
    from /media/Data2/mikutter/core/event.rb:63:in `catch'
    from /media/Data2/mikutter/core/event.rb:63:in `block in call'
    from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `call'
    from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `run'
    from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/extend.rb:58:in `run_once'
    from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer/extend.rb:30:in `run'
    from /media/Data2/mikutter/vendor/bundle/ruby/2.0.0/gems/delayer-0.0.2/lib/delayer.rb:43:in `method_missing'
    from /media/Data2/mikutter/core/plugin/gtk/delayer.rb:10:in `block in boot'
    from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `call'
    from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `main'
    from /media/Data2/mikutter/core/plugin/gtk/mainloop.rb:10:in `mainloop'
    from mikutter.rb:62:in `boot!'
    from mikutter.rb:80:in `<main>'

念の為、ログすべてをまとめたファイルも添付しておきます。


Files

ruby-gnome2-head.log (836 KB) ruby-gnome2-head.log コスモ 虹川, 2013-10-16 01:37
#1

Updated by コスモ 虹川 over 6 years ago

  • Target version changed from 0.2.2 to 3.0.0
#2

Updated by toshi_a 初音 over 6 years ago

  • プラグイン名 changed from cairo_cell_renderer_message.rb to gtk

こういった問題の対応は、Ruby-GNOME2プロジェクトがそれをリリースしてから行うことにしているので、今回もそうします。取り急ぎはバージョンを制限し、時間があれば前もってこの変更に対する対策を検討します。

#3

Updated by コスモ 虹川 over 6 years ago

承知しました。

signal_emit("leave_notify_event", e, *last_motioned)


signal_emit("motion_notify_event", e, *motioned)

の部分をコメントアウトすれば取り急ぎ落ちなくはなりますが、mikutterのUXがかなり下がってしまうのでどうしようかなぁというところです

#4

Updated by toshi_a 初音 over 6 years ago

  • Status changed from 新規 to 終了
  • Assignee changed from コスモ 虹川 to toshi_a 初音
  • Target version changed from 3.0.0 to 0.2.2

0.2.2で修正しました。

Also available in: Atom PDF