BUG: IE7 mistakes two clicks on a SELECT element as a double-click

Discussion in 'Internet Explorer' started by Mikko Noromaa, Oct 27, 2006.

  1. BUG: IE7 mistakes two clicks on a SELECT element as a double-click

    To reproduce:

    Open the test HTML page at the bottom of this post with IE7, and do the

    1. Click the SELECT element with the mouse to open the drop-down list.

    2. Type the letter 's' to move selection to the "Second choice" item.

    3. Click the SELECT element again to close the drop-down list.

    Perform the above steps quickly enough, and observe the following:

    4. The SELECT element reads "Second choice", but if you click it again to
    open the list, you see that "First choice" is still selected in the list.
    Also, the value of the SELECT element is still the first item (you can
    verify this by clicking the Show value button).

    This behaviour probably happens because IE7 mistakes the two clicks on the
    SELECT element as a double-click even when there is other input between the
    clicks. If you have trouble reproducing the steps, try increasing the
    double-click time in Control Panel.

    This bug causes severe problems for users who use the above combination
    (click+letter+click) to use SELECT boxes. The users see the value changing
    correctly, but when they try to save the page, the new value will not be
    saved! Depending on application, this may have severe consequences.

    Work-arounds: None found.

    This bug was reproduced in the released version of IE7 (7.0.5730.11).

    This bug doesn't exist in IE 6.0.

    Test HTML follows.


    function showval() {
    var el=document.all('sel');
    alert('Currently selected: '+el.options[el.selectedIndex].text);

    <SELECT NAME="sel">
    <OPTION VALUE="1">First choice
    <OPTION VALUE="2">Second choice
    <BUTTON ONCLICK="showval();">Show value</BUTTON>
    Mikko Noromaa, Oct 27, 2006
    1. Advertisements

  2. Mikko Noromaa, Oct 27, 2006
    1. Advertisements

  3. Mikko Noromaa

    Galen Guest

    In Mikko Noromaa had this to say:

    My reply is at the bottom of your sent message:
    *points up*

    This is IE5.gen.discussion...


    For IE7questions please see:

    In a newsreader:

    On the web:

    No, no I don't know your answer.

    Galen - MS MVP - Windows (Shell/User & IE)
    http://dts-l.org/ http://kgiii.info/

    "Chance has put in our way a most singular and whimsical problem, and
    its solution is its own reward." - Sherlock Holmes
    Galen, Oct 27, 2006
  4. Hi,
    Yes, the value updates when you expand the dropdown second time.
    The problem was reported to me by a real user, who was very frustrated about
    her changes being saved only sporadically. She was used to using keyboard to
    select values from drop-down boxes with the click+letter+click method. She
    said that her changes were lost more than 75% of time. She has a decent
    computer too (no older than 2 years).

    Also, the problem will be a lot worse for people who have configured longer
    double-click times in Control Panel.
    Mikko Noromaa, Oct 27, 2006
  5. Mikko Noromaa

    Gene K Guest

    I tried your test and experienced no problem what so ever. That indicates
    you have other causes for what you describe.
    Gene K, Oct 27, 2006
  6. Robert Aldwinckle, Oct 27, 2006
  7. Robert Aldwinckle, Oct 27, 2006
  8. Hi,
    I am 95% sure she didn't have Nvidia add-on software installed. Anyway, I am
    100% sure I did't have it when reproducing the bug on my own computer.

    Also, I just created a fresh WinXP Home installation inside a virtual
    machine, and installed IE7 onto it. The bug reproduced on this clean
    installation as well. So I think we can rule out any 3rd party add-ons.

    Also, the other link you posted didn't seem relevant at all. If you think
    otherwise, can you please clarify?
    Mikko Noromaa, Oct 28, 2006

  9. The point is only that other users have reported a related symptom
    (unexpected behaviour when pressing and holding Ctrl- while left clicking in a list)
    which has been attributed to third-party software.

    Robert Aldwinckle, Oct 29, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.