When using the chrono formatting options, satty hangs and crashes. I used --output-filename /home/aviva/screenshots/%Y-%b/%a-%H:%M:%S:%1f.png (probably change to be appropriate on your system?) and when I click the save button, satty locks up. If you wait long enough it seems to die, but the following trace is from when I killed satty.
thread 'main' panicked at library/alloc/src/fmt.rs:612:32:
a formatting trait implementation returned an error: Error
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: alloc::fmt::format::format_inner
4: satty::sketch_board::SketchBoard::handle_save
5: relm4::component::sync::traits::Component::update_with_view
6: glib::main_context_futures::<impl glib::auto::main_context::MainContext>::spawn_local_with_priority::{{closure}}
7: glib::main_context::<impl glib::auto::main_context::MainContext>::with_thread_default
8: glib::main_context_futures::TaskSource::dispatch
9: g_main_dispatch
10: g_main_context_iterate_unlocked.isra.0
11: g_main_context_iteration
12: g_application_run
13: gio::application::ApplicationExtManual::run_with_args
14: relm4::app::RelmApp<M>::run
15: satty::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Please let me know if there are any reproduction issues—I'm not sure if the formatting is supposed to be used in this way, but even if it isn't, a hang and eventual crash is not great.
If it ends up being relevant, I'm using river and the command is running inside fish. I expect this would reproduce under other circumstances but I haven't tried it.
When using the chrono formatting options, satty hangs and crashes. I used
--output-filename /home/aviva/screenshots/%Y-%b/%a-%H:%M:%S:%1f.png
(probably change to be appropriate on your system?) and when I click the save button, satty locks up. If you wait long enough it seems to die, but the following trace is from when Ikill
ed satty.same deal but "full" backtrace:
Please let me know if there are any reproduction issues—I'm not sure if the formatting is supposed to be used in this way, but even if it isn't, a hang and eventual crash is not great.
If it ends up being relevant, I'm using river and the command is running inside fish. I expect this would reproduce under other circumstances but I haven't tried it.