7 inputfields and transparency in firefox for windows

There are alot of bugs related to wmode= transparancy or opaque for firefox in windows, in linux it doesn’t seems to work at all. This particular bug is that you can’t write @ on a swedish keyboard in input textfields. Normaly you write @ with Alt Gr+2, but if you try a normal 2 is written. Faults happends for most Alt Gr codes as £${[]}. A quick workaround is to use the english Shift+2 but most people don’t know that. Or you can paste it in from elsewhere. Another workaround a friend of mine gave me is to pretype the @ in the textfield and let the user write his email around it. There are some other workarounds, but none of them was nice enough.

without the fix

with the fix

My solution registers a keyListener if a textfield is Selected and stores the key-code sequences in a keybuffer. If 17, 18, 50 is pressed an @ is written instead of the 2. 17, 18 is for Alt Gr and 50 is for the 2 key. Other key-code sequences are mapped to other signs. If another textfield or something else is in focus the listeners are removed. The class might need some localisation changes to work on different keyboard layouts.

The class has a very simple setup.


Once initialized it works on all textfields in the application. One important thing is that you have to import the font for the numbers even if you not is going to use them. It the chars are missing the onChanged event on the textfield are not executed.

A preferred solution is to send the browser as a flashvars and only initialize it for firefox for windows.

source: text, package

7 Comments to “inputfields and transparency in firefox for windows”
  1. salvation diet review, on November 6th, 2015 at 03:03:56, said:

    You will be able to keep your metabolism working to burn fat by eating more meals
    every day. I even hate that word diets, because it is linked to feelings
    of restriction and unhappiness but what I do believe in is a sensible nutrition plan which allows you to eat five to six enjoyable small
    meals a day. Chlorogenic acid is a naturally-occurring phytochemical found mainly in fruits,
    vegetables, and coffee.

  2. resep diet cepat, on January 2nd, 2016 at 01:49:51, said:

    I’m very happy to discover this web site. I want to to thank you for ones time due to
    this wonderful read!! I definitely savored every little bit of it and i also have you book-marked to see new
    stuff on your web site.

  3. JLP Abbotts Barton, on January 28th, 2016 at 08:14:39, said:

    Usually there are some models of cartridges thoug that comes in 2 sizes.
    Therefore, quality printing will imorove
    the public image of your company to its customers and hence customer satisfaction. The
    OEM consumables are sold at very high rates evrn as the printer units
    are becoming cheaper with some priced at hundred dollars or even lower.

  4. iphone cases, on February 1st, 2016 at 19:11:48, said:

    If some one wants expert view concerning blogging andd site-building after thaqt
    i propose him/her to paay a visit this website,
    Keep up the good job.

  5. whole home automation, on March 11th, 2016 at 08:27:02, said:

    The vet says to hose the injured leg for 20 mins to half an hour
    every day. It is prominent in the retail industry by including various aspects of
    modern life and has thus catered in compelling the new age lifestyle.
    They have been achieving the success for many years that proven by consumers trust in this product
    and come back for more.

  6. cheap jerseys green, on August 31st, 2017 at 16:08:34, said:

    Great place to order cheap jerseys shop by Paypal.
    cheap jerseys green

  7. fußballtrikots Günstige, on September 21st, 2018 at 17:19:54, said:

    Wow because this is extremely excellent work! Congrats and keep it up.

Comment on this post below

You can leave a response, or trackback from your own site.