プロジェクト

全般

プロフィール

バグ #1534

完了

gtk3: トゥートを削除すると完了後にクラッシュする

Shibafu Midorino さんが2年以上前に追加. 2年以上前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
プラグイン名:
クラッシュする:
はい

説明

gtk3環境でトゥートを削除すると、削除完了後にmikutterがクラッシュします。
複数選択している場合、最初の1つ目の削除ダイアログが閉じた後にクラッシュするため、2つ目以降については何もできませんでした。

バックトレース

/home/shibafu/git/mikutter-gtk3/plugin/gtk3/widget/timeline.rb:119:in `block in bulk_remove': undefined method `uri' for [mastodon-status(https://social.mikutter.hachune.net/@shibafu528/107212406523281474 test)]:Array (NoMethodError)
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/widget/timeline.rb:118:in `map'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/widget/timeline.rb:118:in `bulk_remove'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/widget/timeline.rb:19:in `block in remove_rows'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/widget/timeline.rb:18:in `each'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/widget/timeline.rb:18:in `remove_rows'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/listener.rb:25:in `call'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/event.rb:241:in `block (2 levels) in call_all_listeners'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/event.rb:240:in `each'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/event.rb:240:in `block in call_all_listeners'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/event.rb:239:in `catch'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/event.rb:239:in `call_all_listeners'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/pluggaloid-1.7.0/lib/pluggaloid/event.rb:62:in `block in call'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/delayer-1.2.1/lib/delayer/procedure.rb:26:in `run'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/delayer-1.2.1/lib/delayer/extend.rb:126:in `run_once_without_pop_reserve'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/delayer-1.2.1/lib/delayer/extend.rb:117:in `run_once'
        from /home/shibafu/git/mikutter-gtk3/vendor/bundle/ruby/3.0.0/gems/delayer-1.2.1/lib/delayer.rb:38:in `method_missing'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/mainloop.rb:23:in `block (2 levels) in mainloop'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/mainloop.rb:12:in `loop'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/mainloop.rb:12:in `block in mainloop'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/mainloop.rb:10:in `catch'
        from /home/shibafu/git/mikutter-gtk3/plugin/gtk3/mainloop.rb:10:in `mainloop'
        from mikutter.rb:79:in `boot!'
        from mikutter.rb:115:in `<main>'

再現手順

  1. 信頼を失うようなトゥートをする
  2. そのトゥートを削除する

Shibafu Midorino さんが2年以上前に更新

  • ステータス分類待ち から 実装待ち に変更
  • 担当者Shibafu Midorino にセット

Shibafu Midorino さんが2年以上前に更新

  • ステータス実装待ち から レビュー待ち に変更
  • 担当者 を削除 (Shibafu Midorino)
  • ブランチtopic/1534-fix-lost-trust-and-process にセット

Izumi Tsutsui さんが2年以上前に更新

  • ステータスレビュー待ち から マージ待ち に変更

git merge topic/1534-fix-lost-trust-and-process で削除テストしてOKっぽいです

Shibafu Midorino さんが2年以上前に更新

  • ステータスマージ待ち から 終了 に変更

merged

他の形式にエクスポート: Atom PDF