GNU bug report logs - #69321
AltGr not working with external keyboard on Android emacs-30.0.50-29-arm64-v8a

Previous Next

Package: emacs;

Reported by: Emilia Blåsten <emilia.blasten <at> iki.fi>

Date: Fri, 23 Feb 2024 10:05:01 UTC

Severity: normal

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69321 in the body.
You can then email your comments to 69321 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Fri, 23 Feb 2024 10:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Emilia Blåsten <emilia.blasten <at> iki.fi>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 Feb 2024 10:05:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Emilia Blåsten <emilia.blasten <at> iki.fi>
To: bug-gnu-emacs <at> gnu.org
Subject: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Fri, 23 Feb 2024 11:57:00 +0200
The AltGr button does not seem to be recognized properly on Scandinavian
external keyboard layouts, wether connected by USB or Bluetooth. This
happens in Emacs version 30.0.50 on Android, filename
emacs-30.0.50-29-arm64-v8a.apk from

https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/


Steps to reproduce:

1) Connect an external keyboard to the Android device

2) Set the layout to Scandinavian (e.g. in Android 11, settings ->
system -> language and input -> physical keyboard -> name of the
keyboard -> setup keyboard layouts -> remove all layouts except Finnish)

3) Open emacs with the "emacs -Q" option

4) in *scratch* press down the AltGr-key (right side of the space bar),
then the 2-key, then release both, then press the a-key.

Expected behaviour: you should have typed "@a"

Actual behaviour: you typed "aa"

The keyboard behaves like expected in Termux and Android text fields.


Is there an option to fix this already, or is this a bug?


Best regards,
Emilia




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Sat, 24 Feb 2024 02:35:01 GMT) Full text and rfc822 format available.

Message #8 received at 69321 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Emilia Blåsten <emilia.blasten <at> iki.fi>
Cc: 69321 <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Sat, 24 Feb 2024 10:03:27 +0800
Emilia Blåsten <emilia.blasten <at> iki.fi> writes:

> The AltGr button does not seem to be recognized properly on Scandinavian
> external keyboard layouts, wether connected by USB or Bluetooth. This
> happens in Emacs version 30.0.50 on Android, filename
> emacs-30.0.50-29-arm64-v8a.apk from
>
> https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/
>
>
> Steps to reproduce:
>
> 1) Connect an external keyboard to the Android device
>
> 2) Set the layout to Scandinavian (e.g. in Android 11, settings ->
> system -> language and input -> physical keyboard -> name of the
> keyboard -> setup keyboard layouts -> remove all layouts except Finnish)
>
> 3) Open emacs with the "emacs -Q" option
>
> 4) in *scratch* press down the AltGr-key (right side of the space bar),
> then the 2-key, then release both, then press the a-key.
>
> Expected behaviour: you should have typed "@a"
>
> Actual behaviour: you typed "aa"
>
> The keyboard behaves like expected in Termux and Android text fields.
>
>
> Is there an option to fix this already, or is this a bug?

It's a bug which I've just fixed.  Prebuilts should be available soon.
Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Wed, 28 Feb 2024 14:52:01 GMT) Full text and rfc822 format available.

Message #11 received at 69321 <at> debbugs.gnu.org (full text, mbox):

From: Emilia Blåsten <emilia.blasten <at> iki.fi>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 69321 <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Wed, 28 Feb 2024 16:50:30 +0200
Po Lu <luangruo <at> yahoo.com> writes:

> It's a bug which I've just fixed.  Prebuilts should be available soon.
> Thanks.

Thank you! It works for most of the keys now. There is still a key which
does not work, in fact at all:

The key two jumps to the right from P, which is used for diacritics

Expected behaviour:

the key, then a: ä
the key, then o: ö
the key, then u: ü
shift & the key, then o: ô
altgr & the key, then n: ñ
altgt & the key, then space: ~


Current behaviour (event after the AltGr fix):

The key does nothing,

the key, then a: a
the key, then o: o
the key, then u: u
shift & the key, then o: o
altgr & the key, then n: n
altgt & the key, then space:  


Kindest regards,
Emilia




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Thu, 29 Feb 2024 01:58:02 GMT) Full text and rfc822 format available.

Message #14 received at 69321 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Emilia Blåsten <emilia.blasten <at> iki.fi>
Cc: 69321 <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Thu, 29 Feb 2024 09:56:50 +0800
Emilia Blåsten <emilia.blasten <at> iki.fi> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> It's a bug which I've just fixed.  Prebuilts should be available soon.
>> Thanks.
>
> Thank you! It works for most of the keys now. There is still a key which
> does not work, in fact at all:
>
> The key two jumps to the right from P, which is used for diacritics

I'm sorry I don't follow--which key is that, and what label is printed
on top?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Fri, 01 Mar 2024 12:21:01 GMT) Full text and rfc822 format available.

Message #17 received at 69321 <at> debbugs.gnu.org (full text, mbox):

From: Emilia Blåsten <emilia.blasten <at> iki.fi>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 69321 <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Fri, 01 Mar 2024 14:19:24 +0200
Po Lu <luangruo <at> yahoo.com> writes:

> I'm sorry I don't follow--which key is that, and what label is printed
> on top?

Sorry for the confusing description. You can see it on the following picture:

https://i.stack.imgur.com/fwaAb.png

It has labels for "^" and "¨" and "~". In the picture above it's
between Å and ENTER.

Kindest regards,
Emilia





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Sat, 02 Mar 2024 06:07:02 GMT) Full text and rfc822 format available.

Message #20 received at 69321 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Emilia Blåsten <emilia.blasten <at> iki.fi>
Cc: 69321 <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Sat, 02 Mar 2024 14:05:08 +0800
Emilia Blåsten <emilia.blasten <at> iki.fi> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> I'm sorry I don't follow--which key is that, and what label is printed
>> on top?
>
> Sorry for the confusing description. You can see it on the following picture:
>
> https://i.stack.imgur.com/fwaAb.png
>
> It has labels for "^" and "¨" and "~". In the picture above it's
> between Å and ENTER.
>
> Kindest regards,
> Emilia

Thanks, should be fixed now.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69321; Package emacs. (Tue, 05 Mar 2024 10:45:01 GMT) Full text and rfc822 format available.

Message #23 received at 69321 <at> debbugs.gnu.org (full text, mbox):

From: Emilia Blåsten <emilia.blasten <at> iki.fi>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 69321 <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Tue, 05 Mar 2024 12:44:11 +0200
It works! Thank you for fixing these so fast!

Best regards,
Emilia

Po Lu <luangruo <at> yahoo.com> writes:

> Thanks, should be fixed now.




Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Tue, 05 Mar 2024 12:23:02 GMT) Full text and rfc822 format available.

Notification sent to Emilia Blåsten <emilia.blasten <at> iki.fi>:
bug acknowledged by developer. (Tue, 05 Mar 2024 12:23:02 GMT) Full text and rfc822 format available.

Message #28 received at 69321-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Emilia Blåsten <emilia.blasten <at> iki.fi>
Cc: 69321-done <at> debbugs.gnu.org
Subject: Re: bug#69321: AltGr not working with external keyboard on Android
 emacs-30.0.50-29-arm64-v8a
Date: Tue, 05 Mar 2024 20:20:54 +0800
Emilia Blåsten <emilia.blasten <at> iki.fi> writes:

> It works! Thank you for fixing these so fast!

Thanks, closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Apr 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.