We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've tried both, one compiled from git repo ( lapce-9999-r4 on my Gentoo) and the binary that I downloaded from your site. Both panic at the same spot
Gentoo, profile default/linux/amd64/23.0/hardened/selinux Using sway+wayland on radeon graphics (amdgpu)
lapce silently panics on start. I compiled it in debug mode and left binaries unstripped, so that I can get the stack. So "lapce -w" gets me:
2024-05-01T19:28:07.545881Z ERROR lapce_app::panic_hook: thread main panicked at | file://.//var/tmp/portage/app-editors/lapce-9999-r4/work/cargo_home/gentoo/floem-cosmic-text/src/buffer_line.rs:192:41 0: lapce_app::app::panic_hook::{{closure}} 1: std::panicking::rust_panic_with_hook 2: std::panicking::begin_panic_handler::{{closure}} 3: std::sys_common::backtrace::__rust_end_short_backtrace 4: rust_begin_unwind 5: core::panicking::panic_fmt 6: core::option::expect_failed 7: floem_cosmic_text::buffer_line::TextLayoutLine::shape 8: floem_cosmic_text::buffer_line::TextLayoutLine::layout 9: floem_cosmic_text::buffer::TextLayout::shape_until 10: floem_cosmic_text::buffer::TextLayout::set_text 11: floem_cosmic_text::buffer::TextLayout::new 12: floem_reactive::signal::ReadSignal::with_untracked 13: <floem_reactive::effect::Effect<T,F> as floem_reactive::effect::EffectTrait>::run 14: floem_reactive::scope::with_scope 15: floem_reactive::effect::run_initial_effect 16: floem_reactive::effect::create_effect 17: floem_reactive::scope::with_scope 18: lapce_app::window_tab::WindowTabData::new 19: lapce_app::window::WindowData::new 20: lapce_app::app::AppData::app_view 21: core::ops::function::FnOnce::call_once{{vtable.shim}} 22: floem_reactive::scope::with_scope 23: floem::window_handle::WindowHandle::new 24: floem::app_handle::ApplicationHandle::new_window 25: lapce_app::app::launch 26: std::sys_common::backtrace::__rust_begin_short_backtrace 27: std::rt::lang_start::{{closure}} 28: std::rt::lang_start_internal 29: main 30: 31: __libc_start_main 32: _start
It looks like floem_cosmic_text fails to set the default font shape. Do I need to have some specific font package installed ? 🙄
The text was updated successfully, but these errors were encountered:
I just managed to make it work by emerging media-fonts/freefont (homepage: https://savannah.nongnu.org/projects/freefont/ )
Sorry, something went wrong.
No branches or pull requests
Lapce Version
I've tried both, one compiled from git repo ( lapce-9999-r4 on my Gentoo) and the binary that I downloaded from your site.
Both panic at the same spot
System information
Gentoo, profile default/linux/amd64/23.0/hardened/selinux
Using sway+wayland on radeon graphics (amdgpu)
Describe the bug
lapce silently panics on start.
I compiled it in debug mode and left binaries unstripped, so that I can get the stack.
So "lapce -w" gets me:
2024-05-01T19:28:07.545881Z ERROR lapce_app::panic_hook: thread main panicked at | file://.//var/tmp/portage/app-editors/lapce-9999-r4/work/cargo_home/gentoo/floem-cosmic-text/src/buffer_line.rs:192:41
0: lapce_app::app::panic_hook::{{closure}}
1: std::panicking::rust_panic_with_hook
2: std::panicking::begin_panic_handler::{{closure}}
3: std::sys_common::backtrace::__rust_end_short_backtrace
4: rust_begin_unwind
5: core::panicking::panic_fmt
6: core::option::expect_failed
7: floem_cosmic_text::buffer_line::TextLayoutLine::shape
8: floem_cosmic_text::buffer_line::TextLayoutLine::layout
9: floem_cosmic_text::buffer::TextLayout::shape_until
10: floem_cosmic_text::buffer::TextLayout::set_text
11: floem_cosmic_text::buffer::TextLayout::new
12: floem_reactive::signal::ReadSignal::with_untracked
13: <floem_reactive::effect::Effect<T,F> as floem_reactive::effect::EffectTrait>::run
14: floem_reactive::scope::with_scope
15: floem_reactive::effect::run_initial_effect
16: floem_reactive::effect::create_effect
17: floem_reactive::scope::with_scope
18: lapce_app::window_tab::WindowTabData::new
19: lapce_app::window::WindowData::new
20: lapce_app::app::AppData::app_view
21: core::ops::function::FnOnce::call_once{{vtable.shim}}
22: floem_reactive::scope::with_scope
23: floem::window_handle::WindowHandle::new
24: floem::app_handle::ApplicationHandle::new_window
25: lapce_app::app::launch
26: std::sys_common::backtrace::__rust_begin_short_backtrace
27: std::rt::lang_start::{{closure}}
28: std::rt::lang_start_internal
29: main
30:
31: __libc_start_main
32: _start
Additional information
It looks like floem_cosmic_text fails to set the default font shape. Do I need to have some specific font package installed ? 🙄
The text was updated successfully, but these errors were encountered: