From unknown Mon Jun 23 13:13:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7278: 24.0.50; gail tooltip warning Resent-From: Daiki Ueno Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Oct 2010 09:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7278 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7278@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128799894517893 (code B ref -1); Mon, 25 Oct 2010 09:30:03 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2010 09:29:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAJMW-0004eY-NM for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:29:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAJMT-0004eB-AT for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:29:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAJQJ-0004RK-P0 for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:33:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:49658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAJQJ-0004Qy-LR for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:32:59 -0400 Received: from [140.186.70.92] (port=40496 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAJQH-0006Ad-6Z for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 05:32:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAJGy-0002ej-FI for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 05:23:22 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]:57693) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PAJGx-0002eD-Vv for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 05:23:20 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Mon, 25 Oct 2010 18:23:15 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o9P9NEWZ032689 for ; Mon, 25 Oct 2010 18:23:14 +0900 Message-ID: From: Daiki Ueno Date: Mon, 25 Oct 2010 18:26:42 +0900 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.7 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) --=-=-= Content-Type: text/plain If I start emacs with GTK+ accessibility support enabled, I get the following warnings: ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. To reproduce, set GTK_MODULES=gail:atk-bridge, start emacs from a terminal, make sure x-gtk-use-system-tooltips is t, place the mouse pointer on a toolbar button, and wait a second. After quick search I found a similar issue in Pidgin (solved): http://developer.pidgin.im/ticket/2723 I'm attaching a patch based on this. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gail-tooltip-warning.diff === modified file 'src/gtkutil.c' --- src/gtkutil.c 2010-10-01 13:56:33 +0000 +++ src/gtkutil.c 2010-10-25 09:11:18 +0000 @@ -670,6 +670,7 @@ if (x->ttip_window) { BLOCK_INPUT; + gtk_window_set_title (x->ttip_window, ""); gtk_window_move (x->ttip_window, root_x, root_y); gtk_widget_show_all (GTK_WIDGET (x->ttip_window)); UNBLOCK_INPUT; --=-=-= Content-Type: text/plain In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2010-10-25 on localhost.localdomain Windowing system distributor `Fedora Project', version 11.0.10900000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t which-function-mode: t recentf-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o C-a C-g x g n u s SPC n o SPC SPC y L m C-x k x r e p o r t SPC e m Recent messages: Loading /home/ueno/.emacs.d/init.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Quit Saving file /home/ueno/.newsrc-dribble... Wrote /home/ueno/.newsrc-dribble [2 times] Gnus auto-save file exists. Do you want to read it? (y or n) y Reading /home/ueno/.newsrc.eld... Checking new news... Reading active file via nndraft...done Checking new news...done Load-path shadows: ~/.emacs.d/custom hides /usr/local/share/emacs/24.0.50/lisp/custom ~/.emacs.d/socks hides /usr/local/share/emacs/24.0.50/lisp/net/socks /usr/local/share/emacs/24.0.50/site-lisp/skk/leim-list hides /usr/local/share/emacs/24.0.50/leim/leim-list Features: (shadow sort mail-extr emacsbug gnus-cite gnus-topic nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime password-cache dig mailcap nntp gnus-cache nnir gnus-sum gnus-group time-date gnus-undo nnmail mail-source format-spec nnoo gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr ccc finder-inf package uniquify deal which-func imenu recentf tree-widget wid-edit easymenu iswitchb cus-start cus-load regexp-opt advice help-fns advice-preload skk-setup skk-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=-=-=-- From unknown Mon Jun 23 13:13:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Daiki Ueno Subject: bug#7278: closed (Re: bug#7278: 24.0.50; gail tooltip warning) Message-ID: References: <4CC6710D.8070809@swipnet.se> X-Gnu-PR-Message: they-closed 7278 X-Gnu-PR-Package: emacs Reply-To: 7278@debbugs.gnu.org Date: Tue, 26 Oct 2010 06:08:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1288073282-25463-1" This is a multi-part message in MIME format... ------------=_1288073282-25463-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7278: 24.0.50; gail tooltip warning which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7278@debbugs.gnu.org. --=20 7278: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7278 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1288073282-25463-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7278-done) by debbugs.gnu.org; 26 Oct 2010 06:07:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAchA-0006cW-22 for submit@debbugs.gnu.org; Tue, 26 Oct 2010 02:07:40 -0400 Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAch8-0006cP-4Y for 7278-done@debbugs.gnu.org; Tue, 26 Oct 2010 02:07:39 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 75429E91D1 for <7278-done@debbugs.gnu.org>; Tue, 26 Oct 2010 08:11:40 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicuAIcOxkxV4S1kPGdsb2JhbAChUwwBAQEBNS2/EoVIBI1T X-IronPort-AV: E=Sophos;i="4.58,239,1286143200"; d="scan'208";a="143581954" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 26 Oct 2010 08:11:26 +0200 Received: from [172.20.199.14] (zeplinf [172.20.199.14]) by coolsville.localdomain (Postfix) with ESMTPSA id D0B117FA05A; Tue, 26 Oct 2010 08:11:25 +0200 (CEST) Message-ID: <4CC6710D.8070809@swipnet.se> Date: Tue, 26 Oct 2010 08:11:25 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.11) Gecko/20101004 Thunderbird/3.1.5 MIME-Version: 1.0 To: Daiki Ueno Subject: Re: bug#7278: 24.0.50; gail tooltip warning References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 7278-done Cc: 7278-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Daiki Ueno skrev 2010-10-25 11.26: > If I start emacs with GTK+ accessibility support enabled, I get the > following warnings: > > ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. > ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. > ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. > > To reproduce, set GTK_MODULES=gail:atk-bridge, start emacs from a > terminal, make sure x-gtk-use-system-tooltips is t, place the mouse > pointer on a toolbar button, and wait a second. > > After quick search I found a similar issue in Pidgin (solved): > http://developer.pidgin.im/ticket/2723 > I'm attaching a patch based on this. I have set title to "" in another place. Seems like a bug that ATK cares about the title, it can actually be useful to have titles on tooltips for debugging. Jan D. ------------=_1288073282-25463-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Oct 2010 09:29:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAJMW-0004eY-NM for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:29:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAJMT-0004eB-AT for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:29:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAJQJ-0004RK-P0 for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:33:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:49658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAJQJ-0004Qy-LR for submit@debbugs.gnu.org; Mon, 25 Oct 2010 05:32:59 -0400 Received: from [140.186.70.92] (port=40496 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAJQH-0006Ad-6Z for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 05:32:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAJGy-0002ej-FI for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 05:23:22 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]:57693) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PAJGx-0002eD-Vv for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 05:23:20 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Mon, 25 Oct 2010 18:23:15 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o9P9NEWZ032689 for ; Mon, 25 Oct 2010 18:23:14 +0900 Message-ID: From: Daiki Ueno To: bug-gnu-emacs@gnu.org Subject: 24.0.50; gail tooltip warning Date: Mon, 25 Oct 2010 18:26:42 +0900 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) --=-=-= Content-Type: text/plain If I start emacs with GTK+ accessibility support enabled, I get the following warnings: ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. To reproduce, set GTK_MODULES=gail:atk-bridge, start emacs from a terminal, make sure x-gtk-use-system-tooltips is t, place the mouse pointer on a toolbar button, and wait a second. After quick search I found a similar issue in Pidgin (solved): http://developer.pidgin.im/ticket/2723 I'm attaching a patch based on this. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gail-tooltip-warning.diff === modified file 'src/gtkutil.c' --- src/gtkutil.c 2010-10-01 13:56:33 +0000 +++ src/gtkutil.c 2010-10-25 09:11:18 +0000 @@ -670,6 +670,7 @@ if (x->ttip_window) { BLOCK_INPUT; + gtk_window_set_title (x->ttip_window, ""); gtk_window_move (x->ttip_window, root_x, root_y); gtk_widget_show_all (GTK_WIDGET (x->ttip_window)); UNBLOCK_INPUT; --=-=-= Content-Type: text/plain In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2010-10-25 on localhost.localdomain Windowing system distributor `Fedora Project', version 11.0.10900000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t which-function-mode: t recentf-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o C-a C-g x g n u s SPC n o SPC SPC y L m C-x k x r e p o r t SPC e m Recent messages: Loading /home/ueno/.emacs.d/init.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Quit Saving file /home/ueno/.newsrc-dribble... Wrote /home/ueno/.newsrc-dribble [2 times] Gnus auto-save file exists. Do you want to read it? (y or n) y Reading /home/ueno/.newsrc.eld... Checking new news... Reading active file via nndraft...done Checking new news...done Load-path shadows: ~/.emacs.d/custom hides /usr/local/share/emacs/24.0.50/lisp/custom ~/.emacs.d/socks hides /usr/local/share/emacs/24.0.50/lisp/net/socks /usr/local/share/emacs/24.0.50/site-lisp/skk/leim-list hides /usr/local/share/emacs/24.0.50/leim/leim-list Features: (shadow sort mail-extr emacsbug gnus-cite gnus-topic nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime password-cache dig mailcap nntp gnus-cache nnir gnus-sum gnus-group time-date gnus-undo nnmail mail-source format-spec nnoo gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr ccc finder-inf package uniquify deal which-func imenu recentf tree-widget wid-edit easymenu iswitchb cus-start cus-load regexp-opt advice help-fns advice-preload skk-setup skk-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=-=-=-- ------------=_1288073282-25463-1--