Crash on deleting a message
Detailed description of the issue. Provide as much information as you can, potentially with images showing the issue.
Steps to reproduce:
- Open Fractal
- Enter a room or PM
- Write a message
- Delete your message
- Crash
Design Tasks
-
design tasks
Development Tasks
-
development tasks
QA Tasks
-
quality assurance tasks
Backtrace
$ RUST_BACKTRACE=1 fractal
(fractal:94727): Gtk-WARNING **: 16:47:23.457: Theme parsing error: app.css:221:13: Not using units is deprecated. Assuming 'px'.
(fractal:94727): Gtk-WARNING **: 16:47:23.457: Theme parsing error: app.css:226:12: Not using units is deprecated. Assuming 'px'.
fractal_gtk::app::backend_loop: Query error: RoomDetail(Err(MatrixError(Object({"errcode": String("M_NOT_FOUND"), "error": String("Event not found.")}))))
fractal_gtk::app::backend_loop: Query error: SentMsgRedaction(Ok(("$158215597664173lTWhi:matrix.org", "$1582156047371WIFta:matrix.org")))
thread 'main' panicked at 'Both scrolled_window and widget should be realized and share a common toplevel.', src/libcore/option.rs:1188:5
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print_fmt
at src/libstd/sys_common/backtrace.rs:84
3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
at src/libstd/sys_common/backtrace.rs:61
4: core::fmt::write
at src/libcore/fmt/mod.rs:1025
5: std::io::Write::write_fmt
at src/libstd/io/mod.rs:1426
6: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:65
7: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:50
8: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:193
9: std::panicking::default_hook
at src/libstd/panicking.rs:210
10: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:471
11: rust_begin_unwind
at src/libstd/panicking.rs:375
12: core::panicking::panic_fmt
at src/libcore/panicking.rs:84
13: core::option::expect_failed
at src/libcore/option.rs:1188
14: core::option::Option<T>::expect
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src/libcore/option.rs:348
15: fractal_gtk::widgets::room_history::get_rel_position
at fractal-gtk/src/widgets/room_history.rs:202
16: fractal_gtk::widgets::room_history::List::add_while_visible
at fractal-gtk/src/widgets/room_history.rs:186
17: fractal_gtk::widgets::room_history::List::find_all_visible_indices
at fractal-gtk/src/widgets/room_history.rs:139
18: fractal_gtk::widgets::room_history::List::find_visible_videos
at fractal-gtk/src/widgets/room_history.rs:106
19: fractal_gtk::widgets::room_history::List::update_videos
at fractal-gtk/src/widgets/room_history.rs:84
20: fractal_gtk::widgets::room_history::RoomHistory::connect_video_auto_play::{{closure}}::{{closure}}::{{closure}}::{{closure}}
at fractal-gtk/src/widgets/room_history.rs:330
21: core::option::Option<T>::map
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src/libcore/option.rs:450
22: fractal_gtk::widgets::room_history::RoomHistory::connect_video_auto_play::{{closure}}::{{closure}}::{{closure}}
at fractal-gtk/src/widgets/room_history.rs:329
23: glib::source::trampoline
at ./_build/target/cargo-home/registry/src/github.com-1ecc6299db9ec823/glib-0.8.1/src/source.rs:105
24: <unknown>
25: g_main_context_dispatch
26: <unknown>
27: g_main_context_iteration
28: g_application_run
29: <O as gio::application::ApplicationExtManual>::run
at ./_build/target/cargo-home/registry/src/github.com-1ecc6299db9ec823/gio-0.7.0/src/application.rs:23
30: fractal_gtk::main
at fractal-gtk/src/main.rs:69
31: std::rt::lang_start::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src/libstd/rt.rs:67
32: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:52
33: std::panicking::try::do_call
at src/libstd/panicking.rs:292
34: __rust_maybe_catch_panic
at src/libpanic_abort/lib.rs:28
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.