caps lock warning behaviour on 14.04

Bug #1606165 reported by Jacques
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

As suggested by another user, I post here what I've first asked in the "Answers" section(https://answers.launchpad.net/ubuntu/+source/gtk+3.0/+question/299444)

Hello,

I wonder if the caps lock warning on password fields behaviour introduced in 2.16 is the one that's expected (at least on 14.04) :
The warning label only appears when you press the caps lock. Once the key released it disappears. You then must press another key (a letter for example) to see the warning logo again. Then it stays. Also if you don't release the caps lock key it stays displayed.
Why can't it be persistent after pressing/releasing the caps lock key the first time?

Is this the "correct" behaviour? Or is my system configuration guilty?
If it is the expected behaviour I must say this can lead to incorrect interpretation for non-IT users, the caps lock warning should be displayed right after the caps lock key is pressed/released.

Thanks

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could give an example of UI/screenshot showing the issue? Version "2.16" of what component is having the issue?

Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jacques (caramba696) wrote :

The component having the issue is libgtk-3-0 (3.10.8-0ubuntu1.6).
It concerns a feature which was initially added in version 2.16: showing an alert icon when using the caps lock.

Enclosed are 3 screenshots of an application using libgtk3. The field is a password field.

- caps_lock_key_pressed_not_released shows the state when I presse the caps lock key but I don't release it (and I mean the caps lock, not the shift key!)
- caps_lock_key_pressed_and_released shows the state after releasing the caps lock key (of course you don't keep it pressed). You see that the warning logo disappear. It must stay instead
- first_letter_in_captital shows that de warning logo comes back and stays (as long as you don't press the caps lock a second time) but only after you've pressed the first key (letter, etc.)

This behaviour happens also in the middle of a password. Not just for the first character.

Thanks

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, the behaviour you describe seems buggy indeed but I can't confirm it here. Does it happen in a guest session as well?

Revision history for this message
Jacques (caramba696) wrote :

Well I don't use the guest session at all.

But I can tell you it happens in all of my sessions (root and users).
It also happens in the login screen (LightDM Greeter).

(in fact in anything that uses libgtk-3-0 and displays a password field)

Revision history for this message
Sebastien Bacher (seb128) wrote :

does it do it in polkit dialog (unity-control-center -> user -> unlock)? what keyboard layout do you use?
you don't use guest session but you could start one just to see if you get the issue there?

Revision history for this message
Jacques (caramba696) wrote :

it doesn't matter the keyboard layout.
I'm using the French fr-latin9 layout but it also happens in qwerty GB layout.

I don't use the GNOME desktop, so I haven't Unity (I use Fluxbox).

I'll try with the guest session and keep you updated but since it already happens in the login screen (lightdm-gtk-greeter) as well, I think it can already be considered as a bug.

Revision history for this message
Jacques (caramba696) wrote :

well, it seems that libgtk is not be the culprit here...

My OS was in a virtual machine (virtualbox).
I tried directly on the host (with same OS) and the behaviour is correct...

Sorry for the disturbance.
You can close the issue.

Regards

Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, I guess virtualbox handles the key in a special way and that confuses the gtk code

affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
status: Incomplete → Invalid
affects: ubuntu → gtk+3.0 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.