Bug 248968 - Installer keymap test underflow
Summary: Installer keymap test underflow
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Alfonso S. Siciliano
URL:
Keywords:
: 257338 263745 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-28 13:23 UTC by garritfranke
Modified: 2022-05-03 18:39 UTC (History)
6 users (show)

See Also:


Attachments
Installer underflow (8.96 KB, image/png)
2020-08-28 13:23 UTC, garritfranke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description garritfranke 2020-08-28 13:23:44 UTC
Created attachment 217589 [details]
Installer underflow

In the "Test Keymap" Mask of the installer, when testing the german keyboard and using the "äöü" keys, the letters do not get displayed. They do however get inputted, given that I can "delete" them anyway, which results in an underflow of the mask (see attachment).

Repro:
1. Open installer
2. Select german keymap
3. Test keymap layout
4. Enter n * "ä" (or "ö" or "ü" for that matter)
5. backspace n times
6. Observe
Comment 1 Ed Maste freebsd_committer freebsd_triage 2020-09-07 17:23:36 UTC
Can you confirm that this occurs also with dialog(1) used outside of the installer? e.g.

% dialog --inputbox Test 8 60
Comment 2 garritfranke 2020-09-08 16:28:41 UTC
(In reply to Ed Maste from comment #1)

Yes, reproducible outside of installer.
Comment 3 Alfonso S. Siciliano freebsd_committer freebsd_triage 2022-02-03 22:08:20 UTC
Thank you for the report,

An effort to import a new solution for the installer and TUI utils is in progress.

The form should support wide characters, please could you confirm?

% git clone https://gitlab.com/alfix/bsddialog.git
% cd bsddialog
% make
% ./bsddialog --inputbox Test 8 60
Comment 4 Daniel Ebdrup Jensen freebsd_committer freebsd_triage 2022-02-04 14:41:29 UTC
*** Bug 257338 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Ebdrup Jensen freebsd_committer freebsd_triage 2022-02-04 15:01:20 UTC
I've built bsddialog from github as mentioned in comment #3 and verified that wide unicode support works:
https://people.freebsd.org/~debdrup/wide_unicode.png

The three tmux panes are, respectively, bsddialog built as of 46c95c06b61ddd (cloned today), as well as bsdconfig in FreeBSD 14-CURRENT commit 133180557479cd, and the terminal emulator called alacritty in Sway+Wayland.
Comment 6 Alfonso S. Siciliano freebsd_committer freebsd_triage 2022-05-03 18:39:38 UTC
*** Bug 263745 has been marked as a duplicate of this bug. ***