#873126 keepass2: cannot enter characters with Alt-Gr modifier at startup

#873126#5
Date:
2017-08-24 18:18:27 UTC
From:
To:
Dear Maintainer,

Since one or two weeks (i.e since about mid-august 2017), I cannot enter
any characters with Alt-Gr modifier in keepass2 text fields just after
login.

If I try to type such a character for example in the master password
textfield to unlock the master database, no '*' appear. The '*'
character does appear for all other characters (i.e. characters that
do not require the Alt-Gr modifier). This happens in gnome-shell with
a French setting and two keyboards configured: fr1 (named "Français
(variante)")
and fr2 (named "Français, Bépo, ergonomique, façon Dvorak)", where fr1
is the default setting selected at login.

When this happens (i.e. always just after login), I can workaround
by following the steps below:

 1) close the keepass2 application that failed
 2) in the desktop top gnome-shell bar, select
    the other keyboard (i.e fr2, Bépo)
 3) in the desktop top gnome-shell bar, select
    back the first keyboard (i.e fr1, Français variante)
 4) launch again Keepass2

With this procedure, which changes the keybord once and changes
it back immediately, the Alt-Gr characters can be typed into Keepass2
testfield.

When this started to happen, I checked for both Keepass2 and Mono
changes, but saw really nothing. I guess this is due to a change in a
deeper library. However, this wrong behaviour appears *only* with
Keepass2. For all other applications I checked, Alt-Gr characters
can be typed right after login without any problems.

#873126#10
Date:
2017-09-15 11:31:22 UTC
From:
To:
Here is a small update on the workaround for this bug.

In order to be able to enter characters with Alt-Gr modifier
just after login, I have to first launche Keepass2, then
close it, then open it a second time. So switching between
keyboards layout as presented in my initial bug report is
not really needed. The importat thing is to open Keepass2
and close it once.

best regards,

Luc