On Sun, Nov 07, 2021 at 08:08:38PM -0600, Austin Gilbert wrote:
> >Synopsis:    Ending X11 session causes incorrect keyboard variant
> >Category:    X11/xenomd
> >Environment:
>       System      : OpenBSD 7.0
>       Details     : OpenBSD 7.0 (GENERIC.MP) #1: Fri Oct 29 12:04:07 MDT 2021
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
>       When killing an X11 session using shift-alt-backspace, in the next X11 
> session, 
>       the keyboard variant is sometimes incorrect. It appears it's just not 
> being loaded? /etc/kbdtype is 
>       correct and hasn't been touched since the install date. 
> 
>       E.g. I use 'us.dvorak' and it will revert to 'us' after killing an X11 
> session. 
>       I have a xenomd and X11 log from this happening. Once triggered, I 
> generally have to reboot
>       to correct the keyboard.
> 
>         I noticed there’s an error in the log about line 40, and I’m going to 
> look into that, but I would 
>         expect the behavior to be deterministic - if the error were the 
> source of the problem, I would 
>         expect the keyboard to be wrong on boot/reboot (but it’s not).
> 
> >How-To-Repeat:
>       On a machine running x11 and xenomd, set the keyboard variant to 
> dvorak, then login graphically. 
>       Kill the X11 session using shift-alt-backspace. Test the keyboard is 
> still dvorak, the bug is the
>       keyboard switches to QWERTY. 
> 
>       It may take a few tries to get it to break.
> >Fix:
>       work around: reboot

Hopefully already fixed in current by the following commit:

        
https://github.com/openbsd/src/commit/fd87b50980a0940507b34e265fabe882b9801140

Reply via email to