Summary: | gaim-2.0.0-beta3-r1 doesn't clear tab alerts (gray/red name) when scrolling among tabs in unfocused IM window | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Drew Winstel <winstel> |
Component: | [OLD] GNOME | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | asheldon |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Drew Winstel
2005-06-11 21:29:08 UTC
Clarification on steps to reproduce: This only occurs when gaim does NOT have focus. Running Fluxbox 0.9.13-r1. Is this still occuring in gaim-1.5.0? (In reply to comment #2) > Is this still occuring in gaim-1.5.0? Yes, it is still present. Running GTK+ 2.6.7. Is this bug still an issue? Please let me know and I'll try to get it resolved along with the few other bugs that remain from the previous maintainer. Due to no responses, I am going to presume that the issue is no longer present and close the bug. If I am wrong, please feel free to re-open. Sorry, I was in Spain and unable to use my Gentoo box all summer. Anyway, here are some more detailed steps for how to reproduce it: emerge "=x11-wm/fluxbox-1.0_rc2-r2" "net-im/gaim-2.0.0_beta3-r1" "=x11-libs/gtk+-2.8.20-r1" Launch X with Fluxbox as your window manager. Launch Gaim, opening up two IM tabs (I'll refer to them as Alex and Bob). Leave the Alex tab active. Launch Firefox (or any non-gaim application) and let it contain focus. Receive a message in the _inactive_ tab (Bob). Observe that Bob's title turns red and bold. Without clicking in the IM window, use your mouse's scroll wheel to scroll over to Bob. Note that Gaim does not assume focus and that Bob's title is still red and bold. The alert should have reset itself upon scrolling. Activating plugins has no bearing on the result. Updated emerge --info: Portage 2.1.1_pre5-r2 (default-linux/amd64/2005.1, gcc-4.1.1/amd64-vanilla, glib c-2.4-r3, 2.6.17-ck1-r2 x86_64) ================================================================= System uname: 2.6.17-ck1-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.4 Last Sync: Mon, 21 Aug 2006 04:20:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache confcache distlocks fixpackages metadata-transfer offensive parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aac acpi akode alsa ao audiofile avahi avi bash-completion berkdb bitmap-fonts bonjour bzip2 cairo cdda cddb cdparanoia cdr cli clisp cpudetection crypt cups curl dbus directfb divx4linux dlloader dri dts dvd dvdr dvdread eds elf elibc_glibc emacs emboss encode exif expat exscalibar extrafilters f77 fbcon fbdev ffmpeg fftw firefox flac font-server foomaticdb fortran fuse gcj gdbm gif gimpprint glx gnome gnutls gpm gtk gtk2 howl howl-compat i8x0 ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_vmmouse isdnlog java javascript jpeg justify kde kdeenablefinal kernel_linux lcms linguas_en lm_sensors logrotate lzw lzw-tiff mad mmx2 mng mono motif mozcalendar mozilla mozsvg mp3 mpeg mplayer msn multiuser musepack musicbrainz ncurses network new-clx nls nptl nptlonly nsplugin nvidia offensive ogg ooo-kde openal opengl pam pam_console pam_timestamp pcre pda pdf pdflib perl plotutils png ppds pppd python qt qt3 qt4 quicktime rar readline reflection rtc samba sasl screen sdl session skins sndfile snmp speex spell spl sqlite ssl startup-notification subtitles svg tcl tcltk tcpd theora tiff tk truespeech truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga visualization vorbis vorbis-psy vv wifi wmf wxwindows xanim xcomposite xfs xine xinerama xml xml2 xmms xorg xpm xprint xscreensaver xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Confirmed that this still exists in 2.0.0-beta3.1 as well. (In reply to comment #7) > Confirmed that this still exists in 2.0.0-beta3.1 as well. > gtkconv.c - 7358 /* 7359 * Only set "unseen" to "none" if the window has focus 7360 */ 7361 if (gaim_gtk_conv_window_has_focus(win)) 7362 gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE); If we remove the "if" statement, the behavior desired by the original poster is achieved. I'm not sure there's a good reason for the if statement there in the 2.0 series yet. This is now fixed upstream in trunk as of revision 17028. Also, Gaim has nothing to do with Gnome. The component is totally weird. (In reply to comment #9) > This is now fixed upstream in trunk as of revision 17028. > > Also, Gaim has nothing to do with Gnome. The component is totally weird. > Yeah, I know... I'm not sure who assigned it there. Doesn't Gentoo have a dedicated Gaim assignee? Please check your focus model and select MouseFocus and let me know if the problem still persists. I'm trying out a few options and that seemed to remove the problem you are having here. If that doesn't solve it I'll get a patch to remove the mentioned part of gtkconv.c (In reply to comment #11) > Please check your focus model and select MouseFocus and let me know if the > problem still persists. I'm trying out a few options and that seemed to remove > the problem you are having here. If that doesn't solve it I'll get a patch to > remove the mentioned part of gtkconv.c > Setting to MouseFocus cleared the problem, as I would expect, given that the window gains focus at the time of mouseover. Well, I've tested removing the section from the gtkconv.c and setting the focus model to other options and it does nothing to affect gaim. The names still stay red/grey. (In reply to comment #13) > Well, I've tested removing the section from the gtkconv.c and setting the focus > model to other options and it does nothing to affect gaim. The names still stay > red/grey. > Only one line should be removed from gtkconv.c to get the effect desired. 7361 if (gaim_gtk_conv_window_has_focus(win)) Line 7362 needs to still be there. Sorry that was not clear. I'll test that here today and make a revision in the patch if'n it works here :) Still not working the way I'm taking it you want it to work. |