Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2021 15:09:47 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        Jakob Alvermark <jakob@alvermark.net>
Cc:        Guido Falsi <mad@madpilot.net>, Alexey Dokuchaev <danfe@freebsd.org>, x11@freebsd.org
Subject:   Re: 'End' key stopped working (xfce)
Message-ID:  <20210126150947.6b3f7285@bsd64.grem.de>
In-Reply-To: <a5c1e9d9-baeb-d472-4598-bf585fbcbddb@alvermark.net>
References:  <43713fc4-ea9b-1e77-0bb7-5b3f20ff3900@alvermark.net> <7210540F-BC2D-4EB8-BF56-C754450938C1@grem.de> <a5c1e9d9-baeb-d472-4598-bf585fbcbddb@alvermark.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 26 Jan 2021 14:33:40 +0100
Jakob Alvermark <jakob@alvermark.net> wrote:

> On 1/26/21 1:58 PM, Michael Gmelin wrote:
> > =20
> >> On 26. Jan 2021, at 13:55, Jakob Alvermark <jakob@alvermark.net>
> >> wrote:
> >>
> >> =EF=BB=BFOn 1/26/21 11:01 AM, Guido Falsi wrote: =20
> >>>> On 26/01/21 10:45, Jakob Alvermark wrote:
> >>>>
> >>>> On 1/21/21 9:25 AM, Guido Falsi wrote: =20
> >>>>> On 21/01/21 09:10, Jakob Alvermark wrote: =20
> >>>>>> On 1/21/21 8:54 AM, Alexey Dokuchaev wrote: =20
> >>>>>>> On Thu, Jan 21, 2021 at 08:49:39AM +0100, Jakob Alvermark
> >>>>>>> wrote: =20
> >>>>>>>> ...
> >>>>>>>> Something strange is going on here.
> >>>>>>>>
> >>>>>>>> I changed one shortcut, next time I restarted xfce my
> >>>>>>>> up-arrow key doesn't work.
> >>>>>>>>
> >>>>>>>> I changed one shortcut without restarting xfce and the
> >>>>>>>> up-arrow works again... =20
> >>>>>>> You might find reading the discussion in the following
> >>>>>>> bugzilla PR useful (esp. comment #54):
> >>>>>>> https://bugs.freebsd.org/244290.
> >>>>>>>
> >>>>>>> ./danfe =20
> >>>>>> Thanks for the suggestion, applying the change suggested in
> >>>>>> #54 seems to have fixed the issue.=20
> >>>>> What change exactly? If there is a change that reliably
> >>>>> mitigates the issue it could be included in the ports tree, but
> >>>>> I'm not sure I understand what to change exaclty.
> >>>>>
> >>>>> It looks like removing the "ungrab" code line causes other
> >>>>> regressions, so I'm not sure is a good candidate. =20
> >>>>
> >>>> The change that worked was adding back the ungrab line that was
> >>>> removed in that commit.=20
> >>> Thanks for the feedback.
> >>>
> >>> If that change really works for most users it's a good candidate
> >>> for inclusion in the ports tree. I'd also try to get it back
> >>> upstream.
> >>>
> >>> I followed up to bug 244290 about this.
> >>>
> >>> But since I'm not experiencing the issue myself I can't test
> >>> this. So I'm asking for consensus from users.=20
> >> By chance I discovered that it seems it only happens when you have
> >> UDEV option on xorg-server.
> >>
> >> (Which I do. Tracking -current all pkgs was upgraded when -current
> >> was bumped to 14, and the binary package of xorg-server does not
> >> have udev enabled)=20
> > Any chance that your keymap config is simply wrong/doesn=E2=80=99t match
> > libinput? (You can check that by using setxkbmap to set the correct
> > keymap explicitly). Maybe you could share your X11 config
> > files/your .xinitrc. =20
>=20
>=20
> It was working fine before the upgrade of libxfce4menu. It is working=20
> fine now after I have patched in the removed line discussed in the
> above PR.
>=20
>=20
> $ setxkbmap -query
> rules:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 evdev
> model:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pc105
> layout:=C2=A0=C2=A0=C2=A0=C2=A0 se

That looks sane.

>=20
> I have no special X11 config files, except for some settings for my=20
> touchpad.
>=20
> My .xinitrc just contains a single line: 'xfce4-session'
>=20
>=20
> I had a look a x11-servers/xorg-server because I felt it should have=20
> UDEV enabled by default, and found why it is not:
>=20
> In the Makefile there is this:
>=20
> OPTIONS_DEFAULT_FreeBSD_11=3D=C2=A0=C2=A0=C2=A0=C2=A0 DEVD
> OPTIONS_DEFAULT_FreeBSD_12=3D=C2=A0=C2=A0=C2=A0=C2=A0 UDEV
> OPTIONS_DEFAULT_FreeBSD_13=3D=C2=A0=C2=A0=C2=A0=C2=A0 UDEV
> OPTIONS_DEFAULT+=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ${OPTIONS_DEFAULT=
_${OPSYS}_${OSREL:R}}
>=20
>=20
> There is no OPTIONS_DEFAULT_FreeBSD_14=3D=C2=A0=C2=A0=C2=A0=C2=A0 UDEV

That's actually quite funny.

I created a PR to address this:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253020

Cheers,
Michael

--=20
Michael Gmelin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210126150947.6b3f7285>