emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#15174: closed (24.3.50; frame shrinks vertically w


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15174: closed (24.3.50; frame shrinks vertically when enlarge or shrink it horizontally)
Date: Wed, 31 Dec 2014 18:38:01 +0000

Your message dated Wed, 31 Dec 2014 19:37:02 +0100
with message-id <address@hidden>
and subject line Re: bug#15174: 24.3.50; frame shrinks vertically when enlarge 
or shrink it horizontally
has caused the debbugs.gnu.org bug report #15174,
regarding 24.3.50; frame shrinks vertically when enlarge or shrink it 
horizontally
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15174: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15174
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; frame shrinks vertically when enlarge or shrink it horizontally Date: Fri, 23 Aug 2013 20:22:27 -0700 (PDT)
This bug is very old.  Dunno whether I have reported it before (e.g.,
before the bug tracker was added).  Dunno whether it is related to the
recently reported bug #14627, which reminded me of it.

emacs -Q

Just to make it easier:

(defun enlarge-frame-horizontally (&optional increment frame)
  "Increase the width of FRAME (default: selected-frame) by INCREMENT.
INCREMENT is in columns (characters).
Interactively, it is given by the prefix argument."
  (interactive "p")
  (set-frame-width frame (+ (frame-width frame) increment)))

(global-set-key [(control meta right)] 'enlarge-frame-horizontally)

Choose any frame that is showing a menu bar.  Doesn't matter whether it
is also showing a tool bar.

Use the mouse to make the frame narrow enough that the menu bar wraps to
a second line.

Now try C-M-<right> one or more times.  The frame widens each time, but
it also shrinks vertically (the bug).

The same thing happens if you shrink the frame horizontally - same
uncalled-for vertical shrinking.

Dunno whether this is MS Windows-specific.  It is quite annoying for
someone who both (a) has multiple menu-bar menus and (b) adjusts frame
sizes using the keyboard, which I do.  I guess I've adjusted to the
annoyance over the years - I probably automatically avoid resizing
frames horizontally when they are already narrow enough to make the
menu-bar wrap.

FWIW - There used to be a somewhat similar bug that made the frame move
downward when you resized it.  That was finally fixed long ago.  Dunno
whether this problem or its solution might be related to that one.  That
one too was old enough that there was no bug number for it.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-08-23 on ODIEONE
Bzr revision: 113986 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'



--- End Message ---
--- Begin Message --- Subject: Re: bug#15174: 24.3.50; frame shrinks vertically when enlarge or shrink it horizontally Date: Wed, 31 Dec 2014 19:37:02 +0100
Should be fixed now with revision 118172 on trunk.

Bug closed.

Thanks, martin





--- End Message ---

reply via email to

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