Won't select multiple selects

Bug #245103 reported by JoseLVG
12
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

A page containing a select with multiple selectable options won't work.

The options are selected by clicking on them but they are deselected as soon as you click out of the select widget or do the submit. The result is that NO options are ever selected when the form is submitted, rendering the form useless.

This DOES NOT happen in Windows Firefox 3.0. I guess is not a Ubuntu bug but a firefox-3-linux one, but could not find where to report to Mozilla directly.

Revision history for this message
JoseLVG (josvazg) wrote :

I forgot.

I user Kubuntu 8.04.

Revision history for this message
JoseLVG (josvazg) wrote :

I meant I "use" Kubuntu 8.04.

Revision history for this message
Rui Boon (ruiboon) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Could you please try to start firefox with a new profile by following the instructions on https://wiki.ubuntu.com/MozillaTeam/Bugs (under 'Try with a new profile).

Also, please answer these questions:
Does this happens on all websites or only some of them? If so, could you gives us a link to it?
Which Firefox extensions do you have installed?

This will greatly aid us in tracking down your problem.

Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
JoseLVG (josvazg) wrote : Re: [Bug 245103] Re: Won't select multiple selects

Confirmed. It does the same in an empty profile.

2008/7/3 Rui Boon <email address hidden>:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Could you please try to start firefox with a new profile
> by following the instructions on
> https://wiki.ubuntu.com/MozillaTeam/Bugs (under 'Try with a new
> profile).
>
> Also, please answer these questions:
> Does this happens on all websites or only some of them? If so, could you
> gives us a link to it?
> Which Firefox extensions do you have installed?
>
> This will greatly aid us in tracking down your problem.
>
> ** Changed in: firefox-3.0 (Ubuntu)
> Status: New => Incomplete
>
> --
> Won't select multiple selects
> https://bugs.launchpad.net/bugs/245103
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Alexander Sack (asac) wrote :

On Thu, Jul 03, 2008 at 11:20:32AM -0000, JoseLVG wrote:
> Confirmed. It does the same in an empty profile.
>

I cannot reproduce this issue with the info provided.

Can you please provide a simple step by step instruction to reproduce
your issue, like:

1. I do this
2. I do that
Expected Result: This is what i expect to happen
Result: This is what happens

 status incomplete

 - Alexander

Revision history for this message
JoseLVG (josvazg) wrote :

Hi,

Here are the steps:

1) Save this as *select.html*:
<html>
  <head>
    <title></title>
    <meta content="">
    <style></style>
  </head>
  <body>

*<select multiple="multiple" class="rw" id="binCreate_bin_languageStrings"
size="7" name="bin.languageStrings">
    <option selected="selected" value="es">Español (es)</option>
    <option selected="selected" value="en">English (en)</option>
    <option value="pt">Português (pt)</option>
</select>
*
</body>
</html>

2) This is a multiple select input widget, you shuld be able to select all
languages, 2, 1 or none.

*EXPECTED RESULT:* Open *select.html* it with konqueror or Firefox 2 and you
will see the *correct/expected behavior; when you select one, two or three
options and click outside the select widget the options you selected remains
selected*. Note as well that 2 options (Español and English) are selected
when you load the page.

*RESULT:* Open it now with Firefox 3.0 to see the error; *you can select
multiple options as before but they get deselected as the form loses focus
(or you click outside)*. Note as well that the 2 options that should be
preselected when you load the form are NOT preselected.

This happens in a kubuntu 8.04:
$ uname -a
Linux TyS14LNX 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686
GNU/Linux

$ apt-cache policy firefox
firefox:
  Instalados: 3.0+nobinonly-0ubuntu0.8.04.1
  Candidato: 3.0+nobinonly-0ubuntu0.8.04.1
  Tabla de versión:
 *** 3.0+nobinonly-0ubuntu0.8.04.1 0
        500 http://archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     3.0~b5+nobinonly-0ubuntu3 0
        500 http://archive.ubuntu.com hardy/main Packages

Thanks for your quick responses,

Jose

2008/7/3 Alexander Sack <email address hidden>:

> On Thu, Jul 03, 2008 at 11:20:32AM -0000, JoseLVG wrote:
> > Confirmed. It does the same in an empty profile.
> >
>
> I cannot reproduce this issue with the info provided.
>
> Can you please provide a simple step by step instruction to reproduce
> your issue, like:
>
> 1. I do this
> 2. I do that
> Expected Result: This is what i expect to happen
> Result: This is what happens
>
>
> status incomplete
>
> - Alexander
>
> --
> Won't select multiple selects
> https://bugs.launchpad.net/bugs/245103
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
JoseLVG (josvazg) wrote :

The bug is marked still as "incomplete".
Couldn't it be reproduced by my previous instructions?
What else more do you need to know about this bug?

Revision history for this message
JoseLVG (josvazg) wrote :

Easier reproduction steps:

1) To see the proper behaviour open this URL with konqueror or firefox 2:

http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html

Select for instance "mushrooms" AND "peppers" AND "onions" and click submit, you'll see you selected the 3 vegetables.

2) Now open the same URL with Firefox 3 (http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html)

Select the same 3 vegetables or any other combination and click submit, before the submit is executed the selections you made are deleted or reseted and cleared.

It seems that the options are submitted in the end, but the selections are visually deleted so the user might think they are unselected.

Revision history for this message
JoseLVG (josvazg) wrote :

This bug maybe only present at the ubuntu packaged version for KDE (with KDE look & feel)

In the same machine a version downloaded from Firefox website DOES NOT present this problem and selected items don't get unmarked.

It also seems that checkboxes don't get grey when they get the focus in this Firefox provided version (3.0.1) (BUT the 3.0.1 at Kubuntu's does have the problem though)

Revision history for this message
JoseLVG (josvazg) wrote :

Definitely it's a widget-set problem on Kubuntu.

At work I installed the 32bit version of Firefox 3.0.1 from the Firefox site and the problem persists (the one I tested in my previous comment was the 64bit version at home)

The only difference between the 64bit version that works and the 32bit that fails (both from Mozilla corp. and from kubuntu) is that for some reason the 64bit defaults to a ugly widget-set (with suqare button edges) that RENDERS the selections and checkboxes correctly while the 32bit uses the same Kubuntu provided look & feel (round-nice button edges) than the Kubuntu installed version, so it fails to render selections and checkboxes correctly when focused.

And I mean the widget-set, not the theme. If I download and set a different theme the shape of the buttons, scrollbars... (the widgets) does not change, only the icons change but the problem persists if the widget-set is the Kubuntu one.

So... (while this gets fixed, if it's ever done...)

How do I change Firefox widget set?

Revision history for this message
alastairb (alastair-burt) wrote :

I have just discovered this bug - Kubuntu Hardy with a Firefox binary (3.01) direct from mozilla.org (the standard Kubuntu build of Firefox keeps freezing on me). I went to the KDE Control Center -> Appearance &Themes -> GTK Styles and Fonts, and changed the settings from "Use my KDE style in GTK applications" to "Use another style" (which I set to QT). When I restarted Firefox the problem went away.

Revision history for this message
JoseLVG (josvazg) wrote :

Good, I should have realised that.

Anyway I moved to Ubuntu (which does not have this problem once you force it
to use its themes instead of the kde inherited ones) myself.

Jose

2008/7/31 alastairb <email address hidden>

> I have just discovered this bug - Kubuntu Hardy with a Firefox binary
> (3.01) direct from mozilla.org (the standard Kubuntu build of Firefox
> keeps freezing on me). I went to the KDE Control Center -> Appearance
> &Themes -> GTK Styles and Fonts, and changed the settings from "Use my
> KDE style in GTK applications" to "Use another style" (which I set to
> QT). When I restarted Firefox the problem went away.
>
> --
> Won't select multiple selects
> https://bugs.launchpad.net/bugs/245103
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
DanW (launchpad-daniel) wrote :

Conformed bug, and that the workaround that alistairb suggested corrects the problem.

Revision history for this message
Luke Boland (magilla) wrote :

This bug also exists in Firefox 3.0.4 under Windows XP (32bit) SP3.

Revision history for this message
Luke Boland (magilla) wrote :

Sorry, need to add that the preselection issue exists, but not the loss of focus issue.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

We were wondering if this is still an issue for you. Can you try with the latest firefox version? Thanks in advance.

Revision history for this message
Bob Distler (bob-bobdistler) wrote :
Download full text (5.4 KiB)

I have the same issue.....

Was also posted in Kubuntu's forum
My question is:
Why when I run Firefox as 'user' selected highlighting WILL NOT work?
but when I run Firefox (same file) as 'Root' selected highlighting WILL work?

This project is for a "Community Food/Clothing Bank"
with 11 units in a network using WinXP/Firefox - if I can get this
highlighting fixed I can move all 11 to KDE-Kubuntu/Firefox.

I have made a test Web page, from one of the check-out-desks pages
with 3 HTML '...<select><option>...' as columns
when you click on a 'option' it is highlighted BUT it
will NOT stay highlighted when you click a 'option' in one of the
other columns or outside of the columns when you run:

usr/lib/firefox-3.0.5/firefox as 'user'.

When you run the same file as 'Root' all selected options stay highlighted.
(Note: Firefox's 'skin' is not the same when run as 'user' or 'Root')

I am new to KDE-Kubuntu and I think something in the setup needs to changed
but what and where I do not know, and that is what I need help with.

Here is data I have that looks to me - it is the same as 'user' or 'Root'
Run as 'user' Firefox Help/About shows:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5)
Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

Run as 'root' Firefox Help/About shows:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5)
Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

Run as 'user' Web site shows:
[HTTP_USER_AGENT] => Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

Run as 'root' Web site shows:
[HTTP_USER_AGENT] => Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

From 'log' file:
[ 0.000000] Linux version 2.6.24-22-generic (buildd@vernadsky)
 (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7))
 #1 SMP Mon Nov 24 18:32:42 UTC 2008 (Ubuntu 2.6.24-22.45-generic)

From Help - About
KDE 3.5.10
K Desktop environment 3.5.10

Here is a test Web site and the code used on it

URL for online test
[url=http://www.bobdistler.com/ccs_test/test_select.html]http://www.bobdistler.com/ccs_test/test_select.html[/url]

Code used on test page 'test_select.html'.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

    <title>
      Test Firefox select-option-highlighted
    </title>
  </head>
<body>

<form id="postForm" name="postForm" action="" method="get">
  <table id="tSelect" name="tSelect">
    <tbody>
      <tr>
        <td>
          <select name="tCatalog" size="17">
            <option selected="yes"> Select </option>
            <option>Adult</option>
            <option>Boy</option>
            <option>Boy Infant</option>
            <option>Boy Toddler</option>
            <option>Child</option>
            <option>Girl</option>
            <option>Girl Infant</option>
            <option>Girl Juniors</option>
            <option>Girl Teenager</option>
            <option>Girl Toddler</option>
            <option>Household</option>
            <option>Male Teenager</option>
            <option>Mens</option>
            <option>Misses</...

Read more...

Revision history for this message
Karoly Negyesi (karoly) wrote :

alastairb's fix https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/245103/comments/11 works , i go to system settings - appearance - GTK styles and fonts and pick QTcurve which works. QT does not stick. If you do not check back you might think the fix does not work. It does but your change did not save.

Revision history for this message
JoseLVG (josvazg) wrote : hey~

Dear friend,
Last week,My relative gives me a website : www.elecls.com
<http://www.elecls.com>。
It mainly sell electronic products。 the website is promoting their
products。it is very cheap and I get it in 5 days。Its quality is very
good。The promotion only has 45 days。 So , if you are interested in 。
you can spend several minutes to have a look. I think you will be very
surprise。
Greetings!

Revision history for this message
Monkey (monkey-libre) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in firefox-3.0 (Ubuntu):
status: Incomplete → Invalid
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.