done! ** Description changed:
- 1. Open kernel console (Ctrl+Alt+F3) - 2. log in - 3. run far2l - 4. press F1 - 5. press ESC - 6. press ESC once again + [ Impact ] - Expected behavior: one ESC press is enough to close help - Observed behavior: you have to press ESC twice + This bug affects users of the far2l console file manager on Ubuntu. + Users need to press ESC twice instead of once while working in kernel + console. This behavior is unexpected and can be annoying, disrupting the + user's workflow. - This issue has already been fixed upstream: - https://github.com/elfmz/far2l/pull/2314/files + The upstream patch (https://github.com/elfmz/far2l/pull/2314/files) + addresses this issue by correcting the ESC key handling logic, ensuring + that a single press of the ESC key work as intended. Backporting this + fix to the stable release will improve the user experience for far2l + users by eliminating this small but frustrating bug. + + [ Test Plan ] + + Reproduce the bug: + + 1. Open a kernel console (Ctrl+Alt+F3). + 2. Log in. + 3. Run far2l. + 4. Press F1 to open the help screen. + 5. Press ESC once. Observe that the help screen does not close. + 6. Press ESC a second time. The help screen should now close. + + Apply the patch and rebuild the package. Verify the fix: + + Repeat steps 1-5 from the "Reproduce the bug" section. + + Observe that pressing ESC once now successfully closes the help screen. + + [ Where problems could occur ] + + The patch code utilizes ioctl to determine the kernel console mode. In + rare cases, the ioctl call might return an unexpected value, which could + lead to enabling "esc expiration" mode in environments where it is not + needed (e.g. in ttyxi mode). This may lead to small delays in ESC key + handling in those environments. + + [ Other Info ] + + User impact: This bug is a minor annoyance rather than a major blocker, + however, it is a common use case and fixing it will improve the overall + user experience. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: far2l 2.6.0~beta+ds-1ubuntu0.1 ProcVersionSignature: User Name 6.8.0-31.31-generic 6.8.1 Uname: Linux 6.8.0-31-generic x86_64 ApportVersion: 2.28.1-0ubuntu2 Architecture: amd64 CasperMD5CheckMismatches: ./boot/grub/grub.cfg CasperMD5CheckResult: fail CurrentDesktop: ubuntu:GNOME Date: Sun Aug 18 13:34:22 2024 InstallationDate: Installed on 2024-04-29 (111 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> SourcePackage: far2l UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077270 Title: you have to press ESC twice in far2l in kernel console To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/far2l/+bug/2077270/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs