-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic on editing appearance #187
Comments
Additionally, if multiple [koranir@korepc-lin ~]$ thread 'main' panicked at src/terminal_box.rs:356:58:
IndexSet: index out of bounds
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::option::expect_failed
3: <cosmic_term::terminal_box::TerminalBox<Message> as iced_core::widget::Widget<Message,cosmic::theme::Theme,iced_renderer::Renderer>>::draw::{{closure}}::BgRect::fill
4: cosmic_term::terminal::Terminal::with_buffer
5: <cosmic_term::terminal_box::TerminalBox<Message> as iced_core::widget::Widget<Message,cosmic::theme::Theme,iced_renderer::Renderer>>::draw
6: <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::draw
7: iced_widget::pane_grid::content::Content<Message,Theme,Renderer>::draw
8: <iced_widget::pane_grid::PaneGrid<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::draw
9: <iced_widget::row::Row<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::draw
10: <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::draw
11: iced_runtime::user_interface::UserInterface<Message,Theme,Renderer>::draw
12: iced_winit::multi_window::run_instance::{{closure}}
13: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
14: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::pump_events
15: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_on_demand
16: iced_winit::multi_window::run
17: cosmic::app::run
18: cosmic_term::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. (Background opacity also just turns the background black when turned up, which might not be intended behaviour) |
Changing the zoom steps or the light/dark color schemes just crashes all instances instantly with the same backtrace. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running on EndeavourOS Hyprland using the cosmic-term-git AUR package, built around an hour ago.
Issue happens when changing any appearance setting, some better some worse.
If I switch the theme by:
Ctrl+,
->Appearance
->Theme
-> Selecting the theme (Match Desktop
,Dark
,Light
), the application panics and crashes all instances.The panic only occurred when switching from
Dark
->Match Desktop
and vice versa, and switching toLight
and back from the other themes had no issues.Backtrace:
The text was updated successfully, but these errors were encountered: