Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95831 - gaim-2.0.0-beta3-r1 doesn't clear tab alerts (gray/red name) when scrolling among tabs in unfocused IM window
Summary: gaim-2.0.0-beta3-r1 doesn't clear tab alerts (gray/red name) when scrolling a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 21:29 UTC by Drew Winstel
Modified: 2006-10-14 07:27 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 Drew Winstel 2005-06-11 21:29:08 UTC
In <net-im/gaim-1.3.1, when you roll the scroll wheel with the pointer over the
row of tabs, the IM window would change forward or backward by the number of
clicks of the wheel, clearing all message alerts (contact alias/nickname in
red/gray reset to black or theme default).  In gaim 1.3.1, the scrolling resets
the "red" alerts (message received from contact), but not the "gray" alerts
(system message).  There is no mention of this change in the changelog.

Reproducible: Always
Steps to Reproduce:
1. Open a conversation window with multiple tabs.
2. Receive a system message in an inactive tab.
3. Move the mouse pointer to the row of tabs and scroll in the direction of that
tab (overshooting is okay).
4. Verify that the system alert (gray user name) is not cleared.

Repeat, only with receiving an actual message and verify that the message alert
(red user name) is cleared.

Actual Results:  
The system alert was not cleared, but the message alert is cleared.

Expected Results:  
Gaim should have cleared both alerts (reset both contact names to black/theme
default).

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-ck8-r1 i686)
=================================================================
System uname: 2.6.11-ck8-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 19:41:05)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=i686 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=i686 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox
sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/
http://mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bonobo
cdparanoia cdr clisp cpudetection crypt cups curl directfb divx4linux dvd dvdr
dvdread eds emboss encode esd f77 fam fbcon fbdev ffmpeg flac foomaticdb fortran
gcj gd gdbm gif gimpprint glx gnome gpm gtk gtk2 i8x0 imagemagick imlib java
jpeg junit kde kdeenablefinal kdexdeltas ldap libg++ libwww mad mikmod mmx mmx2
mmxext mng motif mozilla mozsvg mp3 mpeg mysql nas ncurses nls nvidia offensive
ogg oggvorbis ooo-kde opengl oss pam pcre pda pdflib perl png ppds python qt
quicktime readline real rtc ruby samba sdl slang speex spell sse sse2 ssl svg
svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode
userlocales visualization vorbis wifi win32codecs wmf xanim xfs xine xinerama
xml xml2 xmms xprint xscreensaver xv xvid zlib linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

/var/db/pkg/x11-plugins # ls |grep gaim
gaim-encryption-2.37
gaim-extprefs-0.3

/var/db/pkg/net-im # ls |grep gaim
gaim-1.3.1
Comment 1 Drew Winstel 2005-06-11 21:51:43 UTC
Clarification on steps to reproduce: This only occurs when gaim does NOT have
focus.  Running Fluxbox 0.9.13-r1.
Comment 2 Don Seiler (RETIRED) gentoo-dev 2005-08-24 11:09:38 UTC
Is this still occuring in gaim-1.5.0?
Comment 3 Drew Winstel 2005-08-24 16:32:39 UTC
(In reply to comment #2)
> Is this still occuring in gaim-1.5.0?

Yes, it is still present.  Running GTK+ 2.6.7.
Comment 4 Kathryn Kulick (RETIRED) gentoo-dev 2006-06-30 08:58:23 UTC
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.
Comment 5 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-06 12:00:09 UTC
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.
Comment 6 Drew Winstel 2006-08-21 09:16:43 UTC
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
Comment 7 Drew Winstel 2006-08-21 11:31:56 UTC
Confirmed that this still exists in 2.0.0-beta3.1 as well.
Comment 8 Aaron Sheldon 2006-08-22 13:51:54 UTC
(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.
Comment 9 Aaron Sheldon 2006-08-30 18:53:44 UTC
This is now fixed upstream in trunk as of revision 17028.

Also, Gaim has nothing to do with Gnome. The component is totally weird.
Comment 10 Drew Winstel 2006-08-30 19:00:10 UTC
(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?
Comment 11 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-12 16:10:01 UTC
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
Comment 12 Drew Winstel 2006-10-12 16:33:28 UTC
(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.
Comment 13 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-12 16:41:44 UTC
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.
Comment 14 Aaron Sheldon 2006-10-14 05:29:13 UTC
(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.
Comment 15 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-14 06:39:15 UTC
I'll test that here today and make a revision in the patch if'n it works here :)
Comment 16 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-14 07:27:17 UTC
Still not working the way I'm taking it you want it to work.