Bug 248968

Summary: Installer keymap test underflow
Product: Base System Reporter: garritfranke
Component: binAssignee: Alfonso S. Siciliano <asiciliano>
Status: New ---    
Severity: Affects Only Me CC: asiciliano, clear.screen, debdrup, emaste, garritfranke, ricky.tigg
Priority: ---    
Version: 12.1-RELEASE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Installer underflow none

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. ***