[Bug 257338] BSD installer | Malfunction of the password tool when handling Scandinavian characters.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jul 2021 14:57:17 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257338

            Bug ID: 257338
           Summary: BSD installer | Malfunction of the password tool when
                    handling Scandinavian characters.
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs_at_FreeBSD.org
          Reporter: ricky.tigg_at_gmail.com

Created attachment 226615
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226615&action=edit
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:

  <os>
    <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"/>
  </os>
(...)
<channel type="spicevmc">
  <target type="virtio" name="com.redhat.spice.0"/>
</channel>

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,

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Jul 22 2021 - 14:57:17 UTC

Original text of this message