After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784553 - On Ubuntu, pressing Alt or AltGr makes email recipient address field in mail composer lose focus and hence an unwanted comma is added while typing
On Ubuntu, pressing Alt or AltGr makes email recipient address field in mail ...
Status: RESOLVED INCOMPLETE
Product: evolution
Classification: Applications
Component: Composer
3.22.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-07-05 16:01 UTC by Raffael Krebs
Modified: 2019-11-12 19:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Raffael Krebs 2017-07-05 16:01:40 UTC
Using Evolution 3.22.6-1ubuntu1 amd64 on a Ubuntu 17.04

When I compose a new message and enter an email address that is not (yet) a known contact, when I type the @ symbol an additional comma is inserted, too.

What I typed:

support@gmx.de

What ended up in the recipient field:

support, @gmx.de

The problem only occurs when using a German (Switzerland) keyboard layout. With that keyboard layout, the @ symbol is typed using the key combination [Alt Gr]+[2]. The unwanted comma appears immediately when I start pressing the [Alt Gr] key. 

The comma also appears when I press the [Alt] key. 

The issue occurs in all three recipient fields of the email composer.

I have not found any other input fields or keys that are affected by this issue. (Didn't search very thoroughly, though.)

The issue has been around for a couple months now.
Comment 1 André Klapper 2017-07-05 17:12:14 UTC
Going to "Region & Language" in the GNOME Control Center and adding "German (Switzerland)" as an Input Method, and using Super + Space to switch to that, I can NOT reproduce the problem on Fedora 25.
Have you reported this problem to Ubuntu's bugtracker and their input methods?
Comment 2 Raffael Krebs 2017-07-05 19:03:18 UTC
Thank you André for your lightning fast response!

Excellent idea, I found a comprehensive report on Ubuntu's bugtracker:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1501004

On Ubuntu the input fields seem to lose focus and immediately regain it when [Alt] or [Alt Gr] are pressed. And Evolution indiscriminately adds a comma when gaining focus. Both of these behaviours combined produce this unfortunate bug.

Personally I'd like the recipient fields to not add commas ever. But I understand that some people quite like the automatic addition of a comma.

What do you think about adding a comma upon focus gain only when the field already contains a valid email address?
Comment 3 André Klapper 2017-07-05 20:19:22 UTC
> On Ubuntu the input fields seem to lose focus and immediately regain it 
> when [Alt] or [Alt Gr] are pressed.

Cannot reproduce in GNOME on Fedora. Bluntly speaking, Ubuntu could fix its window manager or patch Evolution in Ubuntu...? As I cannot reproduce any behavior in Evolution here that I'd consider a bug. Hence proposing to decline this ticket as "RESOLVED NOTGNOME".

(For the records, I can reproduce the problem on Fedora when actively pressing Super+Space to change the input method while entering an email address. But that is a different problem and not the behavior you're describing here...)
Comment 4 Milan Crha 2017-07-10 10:08:36 UTC
This can be related to bug #777141, which landed for 3.24.0 only.
Comment 5 André Klapper 2017-08-24 13:09:39 UTC
I could not reproduce when I was on 3.22.

Setting status to NEEDINFO as this needs to be retested on Ubuntu with 3.24 or newer.
Comment 6 Alexandre Franke 2019-11-12 19:10:31 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!