Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227949 - www-client/mozilla-firefox-3.0 .selected = true not supported.
Summary: www-client/mozilla-firefox-3.0 .selected = true not supported.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 23:20 UTC by Alex Barker
Modified: 2008-06-19 16:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2008-06-17 23:20:04 UTC
Ok this is a bit difficult to explain so please be patient.   The gentoo version of firefox 3.0 rc3 and probably final if its the same ebuild does some thing to break the following javascript statement 'domSelect[0].selected = true;'.

You can test the problem at the following url:  http://www.mattkruse.com/javascript/selectbox/
Go all the way to the bottom, change the value for 'Select Matching Options:' to ^.*$ and click on select.  It should have selected all the information in the box as do every other browser but instead it does nothing except for deselect everything in the box.

I have verified that other FF3 installs work fine on both Windows and Linux (rc3 and final), this seems to be a gentoo specific issue or an issue specific to my system.



Reproducible: Always




# emerge --info

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Tue, 17 Jun 2008 18:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ rsync://cudlug.cudenver.edu/gentoo"
LINGUAS="en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage_dev"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bzip2 cdr cli cracklib crypt cups curl dbus dri dvd dvdread firefox flac flash fortran ftp gdbm gpm gtk iconv isdnlog java jpeg jpg jpg2k kde kdeenablefinal mad midi mmx mmx2 mmxext moznoxft mp3 mpeg mudflap musepack ncurses nls nptl nptlonly nsplugin opengl openmp oss pam pcre pdf perl pppd python qt qt3 qt4 readline real reflection samba seamonkey session speex spell spl sse sse2 sse3 ssl ssse3 tcpd tiff unicode usb videos wav win32codecs x86 xorg xscreensaver xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alex Barker 2008-06-17 23:46:02 UTC
Confirmed with firefox 3.0 src final ebuild.  Same issue.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-06-18 02:09:10 UTC
FWIW, I do not see this bug; .selected works fine here.

Emerged mozilla-firefox-3 with USE="dbus gnome ipv6 java mozdevelop startup-notification xulrunner"

Portage 2.1.5.6 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4.6 x86_64)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-18 03:55:31 UTC
_rc3 has left the tree. Reopen please if the final version exhibits the same issue.
Comment 4 Alex Barker 2008-06-18 04:11:51 UTC
Reopened final version still exhibits bug.  Tested on two of my boxs (x86 and amd64) with use flags as follows:  dbus java xulrunner 
Comment 5 Alex Barker 2008-06-18 04:21:32 UTC
Just noticed that it is selecting the information but it is not repainting it (or something like that).  After modifying the filer and clicking select nothing happens but if i click on the scroll arrows the selection magically appears (repaint issued?).

It should probably also be noted that I am using KDE not gnome.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-06-18 09:21:45 UTC
WFM as well
Comment 7 Rafał Mużyło 2008-06-18 09:34:42 UTC
Seems it's either you only or something KDE related.
Here (no Gnome/KDE, just ROX/openbox) it seems to work.
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2008-06-18 09:41:24 UTC
I'm using KDE and i don't see that problem
Comment 9 Alex Barker 2008-06-18 17:11:00 UTC
Ok i have narrowed this down a bit.  I am using x11-themes/gtk-engines-qt to camouflage my gtk applications in kde.  When my style is set to Plastik and GTK Style is set to 'Use my KDE style' or 'Qt' it does not work.  If i change my style to 'Ralelgh' the problem goes away.  I tired removing my .mozilla folder in hopes of resetting my profile but that did not help.

I am not sure if this is going to be a firefox issue or a gtk-engines-qt issue.  I know this is not a place for support but if there are any ideas out there please let me know.

Comment 10 Robin Bankhead 2008-06-19 10:13:18 UTC
It's a gtk-engines-qt issue. I reproduce it only when using "Use my KDE style in GTK Applications" (KDE style: Domino). The selection is executed but not painted. When using GTK ThinIce theme, selection is visible immediately.

There are quite a few rendering imperfections when using gtk-engines-qt, both in on-page form controls (TEXTAREA and INPUT TYPE="text" are not rendered, SELECT have gaps in the chrome for the button, no border transparency on anything) and some in the browser chrome as well. Either the engine needs fixing yet again, or some KDE themes do.

Alex, are you seeing any of these other symptoms, and does it occur across all the themes you've tried?

Oh, there's another one: checkboxes not redrawing when checked/unchecked, be it by mouse or keyboard. Correct graphic appears as soon as the element is blurred, but that's very poor :/
Comment 11 Alex Barker 2008-06-19 16:06:50 UTC
(In reply to comment #10)
> It's a gtk-engines-qt issue. I reproduce it only when using "Use my KDE style
> in GTK Applications" (KDE style: Domino). The selection is executed but not
> painted. When using GTK ThinIce theme, selection is visible immediately.
> 
> There are quite a few rendering imperfections when using gtk-engines-qt, both
> in on-page form controls (TEXTAREA and INPUT TYPE="text" are not rendered,
> SELECT have gaps in the chrome for the button, no border transparency on
> anything) and some in the browser chrome as well. Either the engine needs
> fixing yet again, or some KDE themes do.
> 
> Alex, are you seeing any of these other symptoms, and does it occur across all
> the themes you've tried?
> 
> Oh, there's another one: checkboxes not redrawing when checked/unchecked, be it
> by mouse or keyboard. Correct graphic appears as soon as the element is
> blurred, but that's very poor :/
> 

This issue still occurs in 1.1 so I have gone ahead and filed an upstream bug wth gtk-engines-qt http://gtk-qt.ecs.soton.ac.uk/trac/ticket/76