lem icon indicating copy to clipboard operation
lem copied to clipboard

Unable to call commands by name with `M-x` in SDL2 interface

Open ryan-carpenter opened this issue 10 months ago • 2 comments

  1. Update to lem 2.2.0-99a53db2
  2. Run make sdl2-ncurses*
  3. Run lem -i SDL2
  4. Press M-x (Alt-x)
  5. Keypress does not activate the interactive pop-up and no commands can be executed by name.

The popup works as expected in ncurses and worked previously in SDL2 using a version from several months ago. My config and init files are empty except for a font-size setting and (in-package :lem-user) and the current environment is shown here: https://github.com/lem-project/lem/issues/1561#issuecomment-2964805676.

Potentially related: https://github.com/lem-project/lem/issues/917

*After commenting out libncursesw.so.6 as described here: https://github.com/lem-project/lem/issues/330#issuecomment-2964449047

ryan-carpenter avatar Jun 12 '25 02:06 ryan-carpenter

This happens if lem is built/run with sdl2-compat. With real SDL2 library this problem doesn't exist.

tomaneo avatar Jun 17 '25 15:06 tomaneo

see this issue: https://github.com/lem-project/lem/issues/1800

The pull request that is referenced in 1800 fixes the bug on my system.

ethanxxxl avatar Jun 18 '25 09:06 ethanxxxl

This issue is a duplicate of https://github.com/lem-project/lem/issues/1800, and is solved by PR https://github.com/lem-project/lem/pull/1811/commits/92a7810a0de65d289a96f7865654718c34c34842

ryan-carpenter avatar Jun 18 '25 22:06 ryan-carpenter