Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324493 - Can't select windows in xfce4-panel that have modal windows opened while running Openbox
Summary: Can't select windows in xfce4-panel that have modal windows opened while runn...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 17:03 UTC by Longpoke
Modified: 2010-07-21 17:41 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 Longpoke 2010-06-17 17:03:41 UTC
I'm running xfce-base/xfce4-panel-4.6.2 and x11-wm/openbox-3.4.11.1 on two amd64 machines. On both of them, if a "modal" (popup that stays on top of the window, some let you click buttons behind the popup, the bug happens in either case) window is opened in a program, I can't select the program's window from the panel. It will just cause the bar on the panel representing the window to start glowing from blue to white.

Steps to reproduce:
1. $ X &
2. $ export DISPLAY=:0
3. $ openbox &
4. $ xfce4-panel &
5. Open any program with a window other than Firefox, keep it unminimized (I tested with gnome-terminal and with pcmanfm)
6. Open Firefox, type the following in the address bar: javascript:alert("HI")
7. Select the window other program you opened.
8. Select Firefox

Expected results:
The Firefox window should be sent to the foreground of the desktop.

Actual Results:
Step 8 will not cause Firefox to be the foreground window, instead the Firefox bar on the panel will start glowing, and if you have the Firefox window visible, you'll notice that alert popupbox is flashing. See http://i.imgur.com/DVoPJ.png

If you have only multiple Firefox windows open, the window switching works fine. Similarly, if you minimize all programs besides Firefox, it will also work fine. Note that this isn't a Firefox issue; anything that opens a modal window will cause the bug. Try opening an about window in any program instead of alertbox in firefox, or try the search box in gedit.

Maybe this has something to do with it, almost every time a window is opened in anything (be it a main window of a program, or a popup box), xfce4-panel outputs this message:
(xfce4-panel:23433): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
Comment 1 Longpoke 2010-06-17 17:04:53 UTC
emerge --info of both PCs

PC1:
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5750_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 16 Jun 2010 13:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox severe sfperms strict suidctl unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo http://gentoo.arcticnetwork.ca/ http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/tree"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cjk cli cracklib crypt cups cxx dbus djvu dri dts flac gdbm gpm gtk hal iconv ipv6 jpeg json live mad midi mmx modules mp3 mudflap multilib ncurses nptl nptlonly ogg opengl openmp pam pcre png pppd python qt3support quicktime readline reflection session smp spell spl sse sse2 sse3 ssl ssse3 svg sysfs tcpd theora truetype unicode vorbis wma x264 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="ide java mobility profile php cnd nb apisupport dlight enterprise harness profiler websvccommon" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


PC2:
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 16 Jun 2010 13:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.lecl.net/pub/gentoo/ http://gentoo.in.th/ http://ftp.daum.net/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://10.0.0.1/gentoo-portage"
USE="X a52 aac acl alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx djvu dri dts flac fortran gdbm gpm gtk iconv ipv6 jpeg live mad mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python quicktime readline reflection session spl sse sse2 sse3 ssl ssse3 svg sysfs tcpd unicode vorbis wma x264 xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Longpoke 2010-06-17 17:05:56 UTC
I'm testing with other combinations of window managers and panels. These will all be done on PC2. My previous post has PC2's emerge --info. I already tested xfce4-panel + metacity, and can confirm the problem doesn't happen in that case.
Comment 3 Longpoke 2010-06-17 18:54:13 UTC
Clearly seems to be some interop problem in openbox or xfce4-panel.

Window Manager  Panel        BUG?
openbox         xfce4-panel  YES
metacity        xfce4-panel  NO
sawfish         xfce4-panel  NO
xfwm4           xfce4-panel  NO
openbox         pypanel      NO
metacity        pypanel      NO
sawfish         pypanel      NO
xfwm4           pypanel      NO
openbox         tint2        NO
metacity        tint2        NO
sawfish         tint2        NO
xfwm4           tint2        NO
openbox         lxpanel      NO
openbox         fspanel      NO

Versions I tested with:
x11-wm/openbox-3.4.11.1
xfce-base/xfce4-panel-4.6.2
x11-wm/metacity-2.28.1
x11-wm/sawfish-1.3.3
xfce-base/xfwm4-4.6.1
x11-misc/pypanel-2.4
x11-misc/tint2-0.9
x11-misc/fspanel-0.8_beta1-r2
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-07-21 17:41:22 UTC
xfce4-panel is for the xfce desktop, if you want it to support something else, be prepared to write a patch and submit to upstream

then come back here :)