Selection using Multiply (*) key not working under Wayland session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
far2l (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
User can not use *, + and - keys of numeric keypad for selection operations as most of Linux terminals send char * on both star key and multiply key presses.
Under X11 session far2l uses X11-specific technique to distinguish such keys. It is called ttyxi mode (xi for XInput it uses). But under Wayland this technique is not working due to Wayland security model, and disabled by default (see bug 2063919).
[ Test plan ]
1. Install far2l in Ubuntu 24.04:
apt install far2l
2. Run far2l:
far2l
3. Press Multiply (*) key of numeric keypad. Char * will appear in command line and no selection operations will be performed.
[ Where problems could occur ]
The fix is already in master branch of upstream far2l, it is also presents in far2l ppa and no problems were found during testing by enthusiasts
This patch (from upstream) fixes an issue (also attached as a file below):
https:/
[ Other info ]
n/a
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: far2l 2.6.0~beta+
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckM
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 14 04:21:54 2024
InstallationDate: Installed on 2024-04-29 (107 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-
XDG_RUNTIME_
SourcePackage: far2l
UpgradeStatus: No upgrade log present (probably fresh install)
tags: |
added: verification-done verification-done-noble removed: verification-needed verification-needed-noble |
This bug was fixed in the package far2l - 2.6.3~beta+ ds-1ubuntu1
--------------- beta+ds- 1ubuntu1) oracular; urgency=medium
far2l (2.6.3~
* 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