From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: gtk toolbar bug Date: Tue, 30 Jun 2009 16:42:16 +0200 Message-ID: <4A4A2448.2070401@swipnet.se> References: <7b501d5c0906060758n3113b6cdr37a5635b389428b8@mail.gmail.com> <8763f6g61q.fsf@uwakimon.sk.tsukuba.ac.jp> <7b501d5c0906080759wba474b4re93ecbfdf94c9629@mail.gmail.com> <873aaag1wf.fsf@cyd.mit.edu> <871vpug0np.fsf@uwakimon.sk.tsukuba.ac.jp> <87prdebsvd.fsf@cyd.mit.edu> <7b501d5c0906080928jde3c545o67a1731680f1dace@mail.gmail.com> <7b501d5c0906100217w62516bd8o4f5905665135a2a9@mail.gmail.com> <87prdcccha.fsf@cyd.mit.edu> <80eit38dse.fsf_-_@tiny.isode.net> <7b501d5c0906291049g4365d83cg931e42e8d18f7968@mail.gmail.com> <803a9i7s7k.fsf@tiny.isode.net> <80ljna67rm.fsf@tiny.isode.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246373898 28882 80.91.229.12 (30 Jun 2009 14:58:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2009 14:58:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bruce Stephens Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 30 16:58:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward1.uio.no ([129.240.10.70]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLelz-0002KX-7F for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 16:57:27 +0200 Original-Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1MLeg8-0001iZ-HX for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 16:51:24 +0200 Original-Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1MLeg8-0001iW-GO for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 16:51:24 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MLeg7-00077Q-3n for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 16:51:24 +0200 Original-Received: from localhost ([127.0.0.1]:36221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLeg5-000052-MV for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2009 10:51:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLeXP-0006bL-Md for emacs-devel@gnu.org; Tue, 30 Jun 2009 10:42:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLeXM-0006WE-20 for emacs-devel@gnu.org; Tue, 30 Jun 2009 10:42:23 -0400 Original-Received: from [199.232.76.173] (port=46796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLeXL-0006Vx-Oy for emacs-devel@gnu.org; Tue, 30 Jun 2009 10:42:19 -0400 Original-Received: from mtah31.telenor.se ([213.150.131.4]:52108) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLeXL-0005RE-4f for emacs-devel@gnu.org; Tue, 30 Jun 2009 10:42:19 -0400 Original-Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by mtah31.telenor.se (Postfix) with ESMTP id E20EA59090 for ; Tue, 30 Jun 2009 16:42:17 +0200 (CEST) X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuWQABfBSUpV4S1uPGdsb2JhbACBUYgUjxQBAQEBN7VFhA8F X-IronPort-AV: E=Sophos;i="4.42,316,1243807200"; d="scan'208";a="25158161" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph1.telenor.se with ESMTP; 30 Jun 2009 16:42:17 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 222547FA07B; Tue, 30 Jun 2009 16:42:17 +0200 (CEST) User-Agent: Thunderbird 2.0.0.22 (X11/20090608) In-Reply-To: <80ljna67rm.fsf@tiny.isode.net> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=_URIID_) X-UiO-Scanned: 5AA4653693DBEB3BCEC74DF2EF20CA0C3A124E30 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 80 minaction 2 bait 0 mail/h: 41 total 102093 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:111831 Archived-At: Thanks for the hint. It solves this particular problem, but introduces others. I can see the problem, I'm working on a solution now. Jan D. Bruce Stephens skrev: > Bruce Stephens writes: > > [...] > >> Anyway, I hope the information that it occurs with gtk but not with >> lucid might suggest what's happening. > > This seems to fix it for me. (I offer this more as further information > that might suggest a proper resolution than as a proposed patch; > presumably the function call is there for a good reason.) > > --- a/src/gtkutil.c > +++ b/src/gtkutil.c > @@ -733,7 +733,7 @@ xg_frame_set_char_size (f, cols, rows) > Turn wm hints (min/max size and size increments) of temporarly. > It interferes too much, when for example adding or removing the > menu/tool bar. */ > - x_wm_size_hint_off (f); > + /* x_wm_size_hint_off (f);*/ > gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), > pixelwidth, pixelheight); >