From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#17120: Fwd: Error displaying a frame modified with (tool-bar-lines . 0) Date: Thu, 27 Mar 2014 16:28:04 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1395934216 24087 80.91.229.3 (27 Mar 2014 15:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2014 15:30:16 +0000 (UTC) Cc: robert@capuchin.co.uk To: 17120@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 27 16:30:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTCG4-0007pp-DN for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Mar 2014 16:30:20 +0100 Original-Received: from localhost ([::1]:54315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCG3-00043D-PJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Mar 2014 11:30:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCEx-00022t-G5 for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 11:29:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTCEp-0002hh-FR for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 11:29:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCEp-0002hd-C5 for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 11:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WTCEo-0001V9-OJ; Thu, 27 Mar 2014 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: robert@capuchin.co.uk, bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Mar 2014 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17120 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs X-Debbugs-Original-Xcc: robert@capuchin.co.uk Original-Received: via spool by submit@debbugs.gnu.org id=B.13959341325751 (code B ref -1); Thu, 27 Mar 2014 15:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Mar 2014 15:28:52 +0000 Original-Received: from localhost ([127.0.0.1]:52917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTCEd-0001Ug-FW for submit@debbugs.gnu.org; Thu, 27 Mar 2014 11:28:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34107) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTCEa-0001UW-UA for submit@debbugs.gnu.org; Thu, 27 Mar 2014 11:28:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTCEZ-0002fs-Mq for submit@debbugs.gnu.org; Thu, 27 Mar 2014 11:28:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCEZ-0002fl-8G for submit@debbugs.gnu.org; Thu, 27 Mar 2014 11:28:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCEY-0001EK-6Z for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 11:28:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTCEX-0002fA-47 for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 11:28:46 -0400 Original-Received: from mail-yh0-x232.google.com ([2607:f8b0:4002:c01::232]:57734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCEW-0002f4-Vc for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 11:28:45 -0400 Original-Received: by mail-yh0-f50.google.com with SMTP id c41so3708816yho.37 for ; Thu, 27 Mar 2014 08:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=3iy8g4dvC2x6w1CaVlMtJ8wk/BGn1Tu0IALdcLinHHE=; b=E04gzTgd3JUtOfOHYrOAfGxawf6gP8vORh7T8m7/JFvYJXUyZ+cvb5WgwXn4AsA3F7 fVj9pUEL0Tkx2i0hhrM9tZsTw5IvbSeHdWDiBrPhFYR1LES67DUre4CJFIXqO24vYZ/N eQgFJplIXDOwu5itAYfyN2THHdK8B3UsKHEqPKG+osseRsQl4LgG74q7oWdcFCjaS77Q ALy7FXSg0SLlSOSqkG9eKQPhN1j1vXOgdnpqNOKSN4QgzR8ytjVUU7keZ0z3b7NeJDSV DdheSHWRHf43Yf26n4bspJ4p098kiM4GFXQzy4i/15UZg+IXbp/k+5itKkuAs0d1LMC4 3OjQ== X-Received: by 10.236.149.2 with SMTP id w2mr2224285yhj.114.1395934124511; Thu, 27 Mar 2014 08:28:44 -0700 (PDT) Original-Received: by 10.170.163.3 with HTTP; Thu, 27 Mar 2014 08:28:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:87454 Archived-At: Package: emacs Severity: minor X-Debbugs-CC: robert@capuchin.co.uk This is the underlying bug with GTK and Emacs that caused bug#17046. It's minor because it's unlikely that modifying frames' heights with tool-bar-lines = 0 be a common operation. emacs -Q -l bug.el with bug.el: ;;; bug.el (let* ((default-frame-alist nil) (frame (make-frame '((width . 80) (height . 20)))) (lines (frame-parameter frame 'tool-bar-lines))) (discard-input) (read-event nil nil 2) (modify-frame-parameters frame '((tool-bar-lines . 0) (width . 60) (height . 25))) (modify-frame-parameters frame `((tool-bar-lines . ,lines)))) ;;, end causes the frame to be redisplayed incorrectly (the trigger being the (tool-bar-lines . 0) parameter: http://debbugs.gnu.org/cgi/bugreport.cgi?msg=26;filename=emacs-sshot.png;att=1;bug=17046 This happens on a Ubuntu 13.10: GNU Emacs 24.3.50.2 (i686-pc-linux-gnu, GTK+ Version 3.8.6) of 2014-03-14 on poulenc Repository revision: 116756 rudalics gmx.at-20140314103846-ytcz7b30ocmzo8jh Windowing system distributor `The X.Org Foundation', version 11.0.11405000 System Description: Ubuntu 13.10 Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix