← Back to team overview

desktop-packages team mailing list archive

[Bug 1292796] Re: AltGr modifier key triggers "blur" event

 

Sorry for the status change!

1) Nautilus: I have try out to make a folder and name it "abc@abc". All works fine in Nautilus.
2) Chromium: All works fine!
3) Firefox (34.0): If I type in "@abc" in the input field (string starting with @) all works fine and the blur event was not fired. If I type in "abc@" the blur event was fired on hit key ALT-GR.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1292796

Title:
  AltGr modifier key triggers "blur" event

Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  While typing a text in an input field, every use of the AltGr modifier (ie. AltGr+Q = @ on German layout) triggers a "blur" event on the input field and the whole document.
  This can lead to issues with websites, since the user actually didn't leave the input and is continuously typing.

  Testcase: Enter in the interactive console:
  document.addEventListener("focus", function(){ console.log("focus "+new Date().getMilliseconds()) })
  document.addEventListener("blur", function(){ console.log("blur "+new Date().getMilliseconds()) })
  document.addEventListener("keydown", function(){ console.log("keydown "+new Date().getMilliseconds()) })

  For a normal key (like Q) I only get the keydown event.

  When hitting the AltGr key, I get this:
  "blur 358"
  "focus 363"
  "keydown 369"

  This happens also for the Super and Alt keys. But while the Alt key
  doesn't work as modifier (Alt+Q does not give @), the AltGr key does
  not work for operating system shortcuts. Its use is purely as keyboard
  modifier.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: firefox 28.0~b2+build1-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  andreas    2431 F.... pulseaudio
   /dev/snd/controlC0:  andreas    2431 F.... pulseaudio
  BuildID: 20140226081007
  Channel: Unavailable
  CurrentDesktop: Unity
  Date: Sat Mar 15 08:46:14 2014
  EcryptfsInUse: Yes
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions:
   English (South Africa) Language Pack - langpack-en-ZA@xxxxxxxxxxxxxxxxxxx
   English (GB) Language Pack - langpack-en-GB@xxxxxxxxxxxxxxxxxxx
   Deutsch (DE) Language Pack - langpack-de@xxxxxxxxxxxxxxxxxxx
   Default - {972ce4c6-7e08-4474-a285-3208198ce6fd}
  InstallationDate: Installed on 2014-02-02 (40 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140201)
  IpRoute:
   default via 192.168.178.1 dev wlan0  proto static
   192.168.178.0/24 dev wlan0  proto kernel  scope link  src 192.168.178.33  metric 9
  MostRecentCrashID: bp-09f2e31c-4075-486b-a99d-c6b752140203
  Plugins:
   Shockwave Flash - /usr/lib/flashplugin-installer/libflashplayer.so
   Gnome Shell Integration - /usr/lib/mozilla/plugins/libgnome-shell-browser-plugin.so (gnome-shell)
   iTunes Application Detector - /usr/lib/mozilla/plugins/librhythmbox-itms-detection-plugin.so (rhythmbox-mozilla)
   Java(TM) Plug-in 10.51.2 - /opt/Oracle_Java/jre1.7.0_51/lib/amd64/libnpjp2.so
  PrefSources:
   prefs.js
   [Profile]/extensions/{b9db16a4-6edc-47ec-a1f4-b86292ed211d}/defaults/preferences/prefs-dwhelper.js
   /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@xxxxxxxxxx/defaults/preferences/001ubuntu-gnome-mods.js
  Profiles: Profile0 (Default) - LastVersion=28.0/20140226081007 (In use)
  RelatedPackageVersions:
   gnome-shell       3.10.4-0ubuntu4
   rhythmbox-mozilla 3.0.1-1ubuntu13
  RunningIncompatibleAddons: True
  SourcePackage: firefox
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/31/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 76CN31WW
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: Yoga2
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058STD
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga 2 Pro
  dmi.modalias: dmi:bvnLENOVO:bvr76CN31WW:bd10/31/2013:svnLENOVO:pn20266:pvrLenovoYoga2Pro:rvnLENOVO:rnYoga2:rvr31900058STD:cvnLENOVO:ct10:cvrLenovoYoga2Pro:
  dmi.product.name: 20266
  dmi.product.version: Lenovo Yoga 2 Pro
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1292796/+subscriptions