[MASTER] checking radio buttons or checkboxes doesn't work correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
firefox-3.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
gtk-qt-engine (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
gtk-qt-engine-kde4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when selecting a check box or radio button, they show up as "active" but not as checked. I've made a quick video to illustrate what I mean. this is a real pain in the end of the back because when you quickly "eye-check" if you've accepted the terms and conditions (checkbox!) or so you're gonna clear that one by accident etc.
sorry the video was made with pyvnc2swf so it's an swf object. if someone has problems viewing it create a html file with the following in it: {gonna be long...}
<script language=
/* Jesse Ruderman
* July 18, 2004
*
* Remaining problems:
* IE sometimes crashes on exit after using the this script.
* In IE, it is a little ugly because IE doesn't support border-radius.
* In IE, it does not work at standalone Flash URLs.
*/
function setupSeekBar() {
setTimeout(
function initFlashControls()
{
var count = 0;
function tt(elem)
{
if (typeof elem.TotalFrames != "undefined") /* do not coerce elem.StopPlay to bool, because that breaks IE */
{
addFlashC
++count;
}
}
var i, x;
for (i = 0; x = document.
tt(x);
for (i = 0; x = document.
tt(x);
}
function addFlashControl
{
var controlsDiv = document.
/* Put the controls under the Flash.
*
* If the Flash is an <embed> in an <object>, we do not want to touch the <object>, because that would make
* Mozilla re-test whether the <object> is broken and reset the <embed>. So in that case, we put the controls
* under the <object>.
*/
var where = flash;
while (where.
where = where.parentNode;
where.
/* Construct controls using DOM2 instead of innerHTML.
* In Mozilla, innerHTML= is like innerText= at standalone flash URLs.
*/
var table = document.
controlsDiv.
var row = table.insertRow
var pauseButton = document.
pauseButton.
var buttonCell = row.insertCell(-1);
buttonCell.
var slider = row.insertCell(-1);
slider.width = "100%";
var visibleSlider = document.
visibleSlider
visibleSlider
visibleSlider
visibleSlider
visibleSlider
slider.
var thumb = document.
thumb.
thumb.
thumb.style.width = "10px";
thumb.style.top = "-5px";
thumb.
thumb.
visibleSlider
var sliderWidth;
var paused = false;
var dragging = false;
table.width = Math.max(
addEvent(
addEvent(slider, "mousedown", drag);
addEvent(slider, "drag", function() { return false; }); /* For IE */
window.
function pauseUnpause()
{
paused = !paused;
pauseButton
if (paused)
flash.
else
flash.Play();
}
function update()
{
sliderWidth = parseInt(
if (!paused && !dragging)
thumb.
}
function dragMousemove(e)
{
var pageX = e.clientX + document.
var pos = bounds(0, pageX - getX(slider) - 5, sliderWidth);
var frame = bounds(1, Math.ceil(
thumb.
flash.
}
function release(e)
{
removeEvent
removeEvent
if (!paused)
flash.Play();
dragging = false;
}
function drag(e)
{
addEvent(
addEvent(
dragging = true;
dragMousemo
}
/* Boring functions, some of which only exist to hide differences between IE and Mozilla. */
function bounds(min, val, max)
{
return Math.min(
}
function totalFrames()
{
/* This is weird. TotalFrames differs between IE and Mozilla. CurrentFrame does not. */
if (typeof flash.TotalFrames == "number")
return flash.TotalFrames; /* IE */
else if (typeof flash.TotalFrames == "function")
return flash.TotalFram
else
return 1; /* Partially loaded Flash in IE? */
}
function getWidth(elem)
{
if (document.
return parseFloat(
else
return parseFloat(
}
function getX(elem)
{
if (!elem) return 0;
return (elem.offsetLeft) + getX(elem.
}
function addEvent(elem, eventName, fun)
{
if (elem.addEventL
elem.
else /* IE */
elem.
}
function removeEvent(elem, eventName, fun)
{
if (elem.addEventL
elem.
else
elem.
}
}
}
</script>
</head>
<body onload=
<h1>clickingact
<hr noshade><center>
<object classid=
codebase="http://
<param name="movie" value="
<param name="play" value="true">
<param name="loop" value="True">
<param name="quality" value="low">
<embed src="clickingac
loop="True" quality="low" type="applicati
pluginspage="http://
</embed>
Changed in firefox-3.0: | |
status: | Invalid → Incomplete |
this has been confirmed on several other computers running kubuntu 8.04 (fresh installs as well as upgrades). even when booting from the live cd and running firefox the check boxes, radio buttons etc. show this behavior.
there is one upgraded computer to my knowledge that does not show this behavior. i still haven't figured out what might be causing it though i've noticed that other gtk applications (firestarter) seem to "hang" a bit when first started after booting. has anybody else observed this?