lapce / lapce

Lightning-fast and Powerful Code Editor written in Rust
http://lapce.dev
Apache License 2.0
33.58k stars 1k forks source link

Lapce unresponsive after launch #2902

Open kdwk opened 5 months ago

kdwk commented 5 months ago

Lapce Version

0.3.1

System information

Fedora Silverblue 39 (Flatpak from Flathub)

Describe the bug

Lapce is completely unresponsive when launched. After a few seconds, the 'Quit unresponsive app' dialog from the system appears.

Additional information

There is no message when launched from the terminal. I am using an Nvidia graphics card with Nvidia proprietary drivers.

RickeyWard commented 5 months ago

I have the same experience on windows 11.

jgardona commented 5 months ago

Same on windows 10

manfredlotz commented 5 months ago

Just tested with lapce 0.3.1 on Linux EndeavourOS with wayland and have the same experience.

fallaciousreasoning commented 5 months ago

When you launch with -w I get an error message saying

Failed to load from "/home/<user>/.config/lapce-stable/keymaps.toml": no keymaps
Segmentation fault (core dumped)
manfredlotz commented 5 months ago

Interesting. When I launch with -w I get

2024-01-29T06:15:24.534409Z ERROR lapce_app::keypress: Failed to load from "/home/manfred/.config/lapce-stable/keymaps.toml": no keymaps

but no segmentation fault.

alexjg commented 5 months ago

Pretty sure the keymaps stuff is a red herring. Commenting out the code which causes the error makes the log go away but otherwise makes no difference for me. I also don't get a segfault though.

alexjg commented 5 months ago

I think this is probably an issue with Floem rather than Lapce specifically. I raised an issue there https://github.com/lapce/floem/issues/298

panekj commented 4 months ago

For everyone with this issue, you might want to try running lapce with FLOEM_FORCE_TINY_SKIA = "1" environment variable set

kdwk commented 4 months ago

For everyone with this issue, you might want to try running lapce with FLOEM_FORCE_TINY_SKIA = "1" environment variable set

Unfortunately the issue remains

alexjg commented 4 months ago

For me this does allow Lapce to run. Obviously it's not ideal because the CPU rendering is pretty slow and also has a noticeable affect on fan noise :sweat_smile: .

johnyc90 commented 4 months ago

Same problem here