GNU bug report logs - #14471
24.1.50; GTK3 shows resize handle which cannot be disabled

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Peter Feigl <peter.feigl@HIDDEN>; dated Sat, 25 May 2013 15:35:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 14471 <at> debbugs.gnu.org:


Received: (at 14471) by debbugs.gnu.org; 26 May 2013 08:04:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 26 04:04:04 2013
Received: from localhost ([127.0.0.1]:35204 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UgVvv-0000tM-PA
	for submit <at> debbugs.gnu.org; Sun, 26 May 2013 04:04:04 -0400
Received: from mailout.melmac.se ([62.20.26.67]:62948)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1UgVvt-0000sk-1M
	for 14471 <at> debbugs.gnu.org; Sun, 26 May 2013 04:04:02 -0400
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id C8B47D91B
	for <14471 <at> debbugs.gnu.org>; Sun, 26 May 2013 10:02:48 +0200 (CEST)
Received: (qmail 21247 invoked by uid 89); 26 May 2013 08:02:11 -0000
Received: from unknown (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@176.10.223.235)
	by mail01.melmac.se with ESMTPA; 26 May 2013 08:02:11 -0000
Received: from [172.20.199.13] (unknown [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 6E2FD1A1E19;
	Sun, 26 May 2013 08:02:48 +0000 (UTC)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
Subject: Re: bug#14471: 24.1.50;
	GTK3 shows resize handle which cannot be disabled
From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <87a9njkraw.fsf@HIDDEN>
Date: Sun, 26 May 2013 10:02:55 +0200
Content-Transfer-Encoding: 7bit
Message-Id: <8A20E6EE-4DC2-4FD9-9C55-4677016E08B5@HIDDEN>
References: <87a9njkraw.fsf@HIDDEN>
To: Peter Feigl <peter.feigl@HIDDEN>
X-Mailer: Apple Mail (2.1503)
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 14471
Cc: 14471 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

Hello.

25 maj 2013 kl. 17:33 skrev Peter Feigl <peter.feigl@HIDDEN>:

> Start "emacs -Q" that was compiled with --with-x-toolkit=gtk3 from bzr.
> You should see a resizing triangle button in the lower right-hand
> corner, as in http://www.nexoid.at/tmp/emacs-triangle.jpg
> 
> This resizing button is useless on all tiling window managers. If you
> remove the check for GTK 3 from gtkutil.c (~ line 1159), things work
> fine again (and I believe this check is erroneous anyway, why only
> disable it on GTK != 3?). After recompiling, the resulting emacs -Q
> looks like this: http://www.nexoid.at/tmp/emacs-no-triangle.jpg
> 

The reason for disabling for Gtk+ 2 is clearly explained in the comment.

> It would be great if this could be fixed in emacs bzr.

You can try to disable it with css, that seems to work for some people:

In ~/.config/gtk-3.0/gtk.css insert the following:

* {
    -GtkWindow-resize-grip-default: false;
}

> 
> The machine I'm sending this bug report from is *not* the same machine I
> tested this on.
> 

Why?

	Jan D.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14471; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 May 2013 15:34:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 25 11:34:57 2013
Received: from localhost ([127.0.0.1]:34260 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UgGUi-00021A-Cm
	for submit <at> debbugs.gnu.org; Sat, 25 May 2013 11:34:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41125)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peter.feigl@HIDDEN>) id 1UgGUf-00020V-7q
	for submit <at> debbugs.gnu.org; Sat, 25 May 2013 11:34:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peter.feigl@HIDDEN>) id 1UgGTW-0006c9-9Q
	for submit <at> debbugs.gnu.org; Sat, 25 May 2013 11:33:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:53520)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter.feigl@HIDDEN>) id 1UgGTW-0006c3-6O
	for submit <at> debbugs.gnu.org; Sat, 25 May 2013 11:33:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52459)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter.feigl@HIDDEN>) id 1UgGTQ-00007O-Bz
	for bug-gnu-emacs@HIDDEN; Sat, 25 May 2013 11:33:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peter.feigl@HIDDEN>) id 1UgGTL-0006ZM-ER
	for bug-gnu-emacs@HIDDEN; Sat, 25 May 2013 11:33:36 -0400
Received: from mout.gmx.net ([212.227.17.20]:51532)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter.feigl@HIDDEN>) id 1UgGTL-0006ZA-52
	for bug-gnu-emacs@HIDDEN; Sat, 25 May 2013 11:33:31 -0400
Received: from mailout-de.gmx.net ([10.1.76.17]) by mrigmx.server.lan
	(mrigmx002) with ESMTP (Nemesis) id 0LvOyj-1UGWIF2KqB-010cPd for
	<bug-gnu-emacs@HIDDEN>; Sat, 25 May 2013 17:33:28 +0200
Received: (qmail invoked by alias); 25 May 2013 15:33:28 -0000
Received: from www.nexoid.at (EHLO mail.nexoid.at) [178.79.130.240]
	by mail.gmx.net (mp017) with SMTP; 25 May 2013 17:33:28 +0200
X-Authenticated: #4563876
X-Provags-ID: V01U2FsdGVkX19VnHlIRwJV1ArH9ueM9AttzV38vz1bxuKunJ4w02
	Jta+TJ8apjPei5
Received: from nexoid (localhost [127.0.0.1])
	by mail.nexoid.at (Postfix) with ESMTP id 95C30E36C
	for <bug-gnu-emacs@HIDDEN>; Sat, 25 May 2013 17:33:27 +0200 (CEST)
From: Peter Feigl <peter.feigl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.1.50; GTK3 shows resize handle which cannot be disabled
User-Agent: Notmuch/0.11+77~gad6d0d5 (http://notmuchmail.org) Emacs/24.1.50.2
	(i686-pc-linux-gnu)
Date: Sat, 25 May 2013 17:33:27 +0200
Message-ID: <87a9njkraw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

Start "emacs -Q" that was compiled with --with-x-toolkit=gtk3 from bzr.
You should see a resizing triangle button in the lower right-hand
corner, as in http://www.nexoid.at/tmp/emacs-triangle.jpg

This resizing button is useless on all tiling window managers. If you
remove the check for GTK 3 from gtkutil.c (~ line 1159), things work
fine again (and I believe this check is erroneous anyway, why only
disable it on GTK != 3?). After recompiling, the resulting emacs -Q
looks like this: http://www.nexoid.at/tmp/emacs-no-triangle.jpg

It would be great if this could be fixed in emacs bzr.

The machine I'm sending this bug report from is *not* the same machine I
tested this on.

Thanks!

Peter


In GNU Emacs 24.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-04-13 on nexoid
Configured using:
 `configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var'
 '--libexecdir=/usr/lib' '--mandir=/usr/share/man' '--without-sound'
 '--with-xft' '--with-x-toolkit=gtk' 'CFLAGS=-march=i686 -mtune=generic
 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
 -D_FORTIFY_SOURCE=2'
 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu''

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_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: rcirc

Minor modes in effect:
  csv-field-index-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  rcirc-track-minor-mode: t
  global-auto-revert-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Features:
(shadow emacsbug vcard dabbrev jka-compr tramp-cache etags org-colview
cal-iso bookmark cal-move parse-time tabify image-file org-capture
org-mks calculator newcomment cal-china lunar solar cal-dst cal-bahai
cal-islam cal-hebrew cal-julian org-indent org-w3m org-wl org-vm
org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html
org-info org-id org-gnus org-docview org-bibtex bibtex mailalias
smtpmail sendmail qp mail-extr multi-isearch gnutls url-queue shr-color
color shr mule-util hl-line disp-table network-stream starttls paredit
gedcom-ext gedcom wc-mode image-dired dired server package
tabulated-list quail help-mode view wgrep grep multiple-cursors
mc-separate-operations rectangular-region-mode mc-mark-more
mc-cycle-cursors mc-edit-lines multiple-cursors-core rect expand-region
cc-mode-expansions org-mode-expansions ruby-mode-expansions
nxml-mode-expansions html-mode-expansions expand-region-custom
expand-region-core rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok skeleton
flymake zencoding-mode iy-go-to-char ob-R color-theme-solarized
color-theme slime-autoloads org-latex org-export-latex org-beamer
org-exp ob-exp org-exp-blocks find-func footnote holidays hol-loaddefs
tfs org-ical org-notmuch notmuch notmuch-message notmuch-maildir-fcc
notmuch-hello notmuch-show notmuch-print notmuch-crypto notmuch-mua
notmuch-address notmuch-wash coolj notmuch-query json goto-addr
icalendar notmuch-lib tex dbus ebib csv-mode sort compile csharp-mode
cc-langs mediawiki url-cache url-http tls url-auth url-gw amazon mm-url
xml org-bbdb bbdb-anniv diary-lib diary-loaddefs cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine ledger esh-arg
esh-util time edict edict-japanese edict-english edict-morphology
edict-edit dui-registry dui tempo url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
url-vars xml-parse doxymacs w3m-load org-agenda org ob-emacs-lisp
ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys
ob ob-eval org-pcomplete org-list org-faces org-compat org-entities
org-macs noutline outline cal-menu calendar cal-loaddefs org-install
scheme epa-file epa epg tramp tramp-compat auth-source eieio
tramp-loaddefs ess-toolbar ess-mouse mouseme ess-menu ess-swv ess-noweb
noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a
executable shell pcomplete ess-arc-d ess-vst-d ess-xls-d ess-lsp-l
ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp5-d
ess-sp3-d ess-r-d ess-r-args assoc ess-s-l ess-inf ess-utils ess-mode
noweb-mode ess ess-custom ess-compat ess-site bbdb-sms ido bbdb-com crm
bbdb timezone warnings slime-fancy slime-fontifying-fu slime-package-fu
slime-references slime-scratch slime-presentations slime-fuzzy
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-parse slime-repl slime byte-opt bytecomp byte-compile cconv
macroexp derived hideshow pp hyperspec thingatpt browse-url ruby-mode
psvn log-edit pcvs-util add-log diff-mode easy-mmode rcirc help-at-pt
autorevert cus-start cus-load gnus-art mm-uu mml2015 epg-config
password-cache mm-view mml-smime smime cl comint regexp-opt ansi-color
ring dig mailcap gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader
gnus-util wid-edit edmacro kmacro gnus-alias advice help-fns
advice-preload message idna 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
tex-site auto-loads time-date paren iswitchb 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
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)




Acknowledgement sent to Peter Feigl <peter.feigl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#14471; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.