[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17120: Fwd: Error displaying a frame modified with (tool-bar-lines .

From: Juanma Barranquero
Subject: bug#17120: Fwd: Error displaying a frame modified with (tool-bar-lines . 0)
Date: Thu, 27 Mar 2014 16:28:04 +0100

Package: emacs
Severity: minor
X-Debbugs-CC: address@hidden

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)))
  (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:


This happens on a Ubuntu 13.10:

GNU Emacs (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 via email to

[Prev in Thread] Current Thread [Next in Thread]