From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#8919: 24.0.50; Ever-changing frame size for GTK3 toolkit on a KDE4 desktop Date: Thu, 23 Jun 2011 19:48:26 +0200 Message-ID: <4E037C6A.9010807@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308851377 13742 80.91.229.12 (23 Jun 2011 17:49:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 17:49:37 +0000 (UTC) Cc: 8919@debbugs.gnu.org To: Dirk Ullrich Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 23 19:49:32 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZo1z-0004Kz-KK for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 19:49:31 +0200 Original-Received: from localhost ([::1]:55163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZo1y-0005QG-G8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 13:49:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZo1Z-0005PJ-E8 for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2011 13:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZo1X-0000Ps-CZ for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2011 13:49:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZo1W-0000Pl-Uy for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2011 13:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QZo1V-0001B4-UJ; Thu, 23 Jun 2011 13:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jun 2011 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8919 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8919-submit@debbugs.gnu.org id=B8919.13088513184480 (code B ref 8919); Thu, 23 Jun 2011 17:49:01 +0000 Original-Received: (at 8919) by debbugs.gnu.org; 23 Jun 2011 17:48:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZo17-0001AC-Hw for submit@debbugs.gnu.org; Thu, 23 Jun 2011 13:48:37 -0400 Original-Received: from smtprelay-b22.telenor.se ([195.54.99.213]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZo15-00019t-31 for 8919@debbugs.gnu.org; Thu, 23 Jun 2011 13:48:36 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id 0F1DAEB63E for <8919@debbugs.gnu.org>; Thu, 23 Jun 2011 19:48:28 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai5TAMB7A05V4S1kPGdsb2JhbABSpycLAQEBATcyiHXALoYtBJZXiys X-IronPort-AV: E=Sophos;i="4.65,414,1304287200"; d="scan'208";a="23845146" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb3.telenor.se with ESMTP; 23 Jun 2011 19:48:28 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B13027FA05A; Thu, 23 Jun 2011 19:48:27 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.18) Gecko/20110613 Thunderbird/3.1.11 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 23 Jun 2011 13:49:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47420 Archived-At: Hi. We have had shrinking on KDE before GTK3. It comes and goes. GTK3 now sets wm size hits behind our backs, it is probably that that tri= ggers it. Jan D. Dirk Ullrich skrev 2011-06-22 13.04: > This bug report will be sent to the Free Software Foundation, > not to your local site managers! > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Please check that the From: line gives an address where you can be reac= hed. > Your report will be posted to the bug-gnu-emacs@gnu.org mailing list > and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug. If you can, give > a recipe starting from `emacs -Q': > > 1. Compile Emacs from Bzr repository with the GTK3 toolkit. > 2. Start Emacs on a KDE4 desktop. > 3. Starting to use Emacs dimish its frame size, and the frame size is > changing with nearly every command. > > Remark: Using the GTK2 toolkit avoids this bug. Maybe it is caused by > the following change reported in `src/ChangeLog': > 2011-06-14 Jan Dj=E4rv > > * xfns.c (x_set_scroll_bar_default_width): Remove argument to > xg_get_default_scrollbar_width. > > * gtkutil.c: Include emacsgtkfixed.h if HAVE_GTK3. > (int_gtk_range_get_value): Move to the scroll bar part of the file. > (style_changed_cb): Call update_theme_scrollbar_width and call > x_set_scroll_bar_default_width and xg_frame_set_char_size for > all frames (Bug#8505). > (xg_create_frame_widgets): Call emacs_fixed_new if HAVE_GTK3 (Bug#8505= ). > Call gtk_window_set_resizable if HAVE_GTK3. > (x_wm_set_size_hint): Call emacs_fixed_set_min_size with min width > and height if HAVE_GTK3 (Bug#8505). > (scroll_bar_width_for_theme): New variable. > (update_theme_scrollbar_width): New function. > (xg_get_default_scrollbar_width): Move code to > update_theme_scrollbar_width, just return scroll_bar_width_for_theme. > (xg_initialize): Call update_theme_scrollbar_width. > > * gtkutil.h (xg_get_default_scrollbar_width): Remove argument. > > * emacsgtkfixed.c, emacsgtkfixed.h: New files. > > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > For information about debugging Emacs, please read the file > /usr/share/emacs/24.0.50/etc/DEBUG. > > > In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.0.11) > of 2011-06-22 on red > Windowing system distributor `The X.Org Foundation', version 11.0.11002= 000 > configured using `configure '--prefix=3D/usr' '--sysconfdir=3D/etc' > '--localstatedir=3D/var' '--libexecdir=3D/usr/lib' > '--mandir=3D/usr/share/man' '--without-sound' '--with-x-toolkit=3Dgtk3' > 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe' > 'LDFLAGS=3D-Wl,--hash-style=3Dgnu -Wl,--as-needed'' > > 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: de_DE.UTF-8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: Lisp Interaction > > Minor modes in effect: > 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: > M-x r e p o r t > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > > Load-path shadows: > /usr/share/emacs/site-lisp/coq-db hides > /usr/share/emacs/site-lisp/ProofGeneral/coq/coq-db > /usr/share/emacs/site-lisp/coq-syntax hides > /usr/share/emacs/site-lisp/ProofGeneral/coq/coq-syntax > /usr/share/emacs/site-lisp/coq hides > /usr/share/emacs/site-lisp/ProofGeneral/coq/coq > > Features: > (shadow sort gnus-util time-date mail-extr message idna sendmail > regexp-opt format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies > mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util > mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug 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 europea= n > ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help > simple abbrev minibuffer loaddefs button faces cus-face files > text-properties overlay sha1 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) > >