unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: 17120@debbugs.gnu.org
Cc: robert@capuchin.co.uk
Subject: bug#17120: Fwd: Error displaying a frame modified with (tool-bar-lines . 0)
Date: Thu, 27 Mar 2014 16:28:04 +0100	[thread overview]
Message-ID: <CAAeL0SS72O0ZGdN72bcfRxq5UGRxwACb4L52nMfgxRPSQ19j9A@mail.gmail.com> (raw)
In-Reply-To: <CAAeL0SSHbEutKMJe+dE15uBCUB6Z1grTL9R-vzKebV5LXthDnA@mail.gmail.com>

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 <at> 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





       reply	other threads:[~2014-03-27 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAAeL0SSHbEutKMJe+dE15uBCUB6Z1grTL9R-vzKebV5LXthDnA@mail.gmail.com>
2014-03-27 15:28 ` Juanma Barranquero [this message]
     [not found]   ` <5336BC84.5050306@swipnet.se>
2014-03-29 13:25     ` bug#17120: Fwd: Error displaying a frame modified with (tool-bar-lines . 0) Robert Marshall
2014-03-31 12:48     ` Robert Marshall
2021-05-02  8:47   ` martin rudalics
2021-05-19  8:13     ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAeL0SS72O0ZGdN72bcfRxq5UGRxwACb4L52nMfgxRPSQ19j9A@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=17120@debbugs.gnu.org \
    --cc=robert@capuchin.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).