you have to press ESC twice in far2l in kernel console

Bug #2077270 reported by Unxed
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
far2l (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

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.

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)

Revision history for this message
Unxed (unxed) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package far2l - 2.6.3~beta+ds-1ubuntu1

---------------
far2l (2.6.3~beta+ds-1ubuntu1) oracular; urgency=medium

  * Backport upstream patch to fix file selection from keyboard on Wayland
    (LP: #2076972).
  * Backport upstream patch to enable esc expiration in kernel console
    (LP: #2077270).
  * Backport upstream patch to fix build on armhf with 64-bit time_t.

 -- Dmitry Shachnev <email address hidden> Tue, 20 Aug 2024 23:28:50 +0300

Changed in far2l (Ubuntu):
status: New → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

please fix the description to follow the SRU template

Revision history for this message
Unxed (unxed) wrote :

done!

description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Unxed, or anyone else affected,

Accepted far2l into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/far2l/2.6.0~beta+ds-1ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in far2l (Ubuntu Noble):
status: New → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Unxed (unxed) wrote :

Tested 2.6.0~beta+ds-1ubuntu0.2, fix confirmed.

Unxed (unxed)
tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package far2l - 2.6.0~beta+ds-1ubuntu0.2

---------------
far2l (2.6.0~beta+ds-1ubuntu0.2) noble; urgency=medium

  * Backport upstream patch to fix file selection from keyboard on Wayland
    (LP: #2076972).
  * Backport upstream patch to enable esc expiration in kernel console
    (LP: #2077270).
  * Backport upstream patch to fix broken osc52 in VT (LP: #2078844).

 -- Dmitry Shachnev <email address hidden> Sun, 08 Sep 2024 20:02:37 +0300

Changed in far2l (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for far2l has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.