Bug 257338

Summary: BSD installer | Malfunction of the password tool when handling Scandinavian characters.
Product: Base System Reporter: Ricky Tigg <ricky.tigg>
Component: binAssignee: freebsd-sysinstall (Nobody) <sysinstall>
Status: New ---    
Severity: Affects Many People    
Priority: ---    
Version: 13.0-STABLE   
Hardware: amd64   
OS: Any   
Description Flags
Broken password field frame
Malfunction while long-pressing Scandinavian character none

Description Ricky Tigg 2021-07-22 14:57:17 UTC
Created attachment 226615 [details]
Broken password field frame

Tested in virtual machine in qcow2 format on QEMU/KVM via virt-manager 3.2.0 with engine libvirt 7.0.0.

Host | OS: Fedora Desktop 34; Kernel: 5.13.4-200.fc34.x86_64
Guest | OS: OPNSence 21.7 (installatoon source: OPNsense-21.7.r1-OpenSSL-dvd-amd64.iso) ; OS model: FreeBSD 13.0; RAM: 2048 MiB; vCPU:2; Disk size: 8 GiB; Chipset: i440FX; Firmware: UEFI x86_64.

XML file:

    <type arch="x86_64" machine="pc-i440fx-5.2">hvm</type>
    <loader readonly="yes" type="pflash">/usr/share/edk2/ovmf/OVMF_CODE.fd</loader>
    <boot dev="hd"/>
<channel type="spicevmc">
  <target type="virtio" name="com.redhat.spice.0"/>

In guest | To reproduce while installing:
1. Log in as user "installer" with password "opnsense".
2. Select 'finnish' as keymap then test insertion of Scandinavian characters. (Tested with Finnish-standardized keyboard - characters ä, ö, å).

Actuals results:

Short-pressed key not converted into the insertion of its equivalent character; the field remains blank;
Once the previous operation has been accomplished, short-pressing ← does break the left-sided bar composing the frame of the field, indicating then that a character had been inserted and had not been made visible. Illustration when ä, ö, å have been pressed each once, then ← pressed till there is nothing left to delete.

See 1.png

Long-pressing – 2–3 seconds – ä does insert invisible character(s) followed by a serial composed of its equivalent characters, exactly as long as follows.

See 2.png

Short-pressing ← does not delete characters;
Long-pressing – 2–3 seconds – ← does delete characters, still breaking the left-sided bar composing the frame of the field when kept pressed,
Comment 1 Ricky Tigg 2021-07-22 15:00:41 UTC
Created attachment 226616 [details]
Malfunction while long-pressing Scandinavian character