GNU bug report logs - #20527
24.5; [w32] resizing window from bottom-left/top-right corner causes broken resizing

Previous Next

Package: emacs;

Reported by: Vladimir Vukicevic <vladimir <at> pobox.com>

Date: Thu, 7 May 2015 15:41:05 UTC

Severity: normal

Tags: moreinfo

Found in version 24.5

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20527 <at> debbugs.gnu.org (full text, mbox):

From: Vladimir Vukicevic <vladimir <at> pobox.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20527 <at> debbugs.gnu.org
Subject: Re: bug#20527: 24.5; [w32] resizing window from bottom-left/top-right
 corner causes broken resizing
Date: Thu, 7 May 2015 14:05:36 -0400
[Message part 1 (text/plain, inline)]
On Thu, May 7, 2015 at 1:57 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Date: Thu, 7 May 2015 09:10:31 -0400
> > From: Vladimir Vukicevic <vladimir <at> pobox.com>
> >
> > Trying to resize the Emacs window on win32 using the bottom-left or
> > top-right corner causes broken resizing to happen, as described below.
> > This has happened in a number of previous versions of emacs as well,
> > from at least 24.3, and possibly earlier. Verified using -Q as well.
> >
> > From the bottom-left:
> > - If the mouse is moved left/right, the window will resize horizontally
> > mostly properly, but will start shrinking vertically from the top
> > - If the mouse is moved up, the bottom of the window will resize
> > properly, but the window will rapidly shrink from the top
> > - If the mouse is moved down, the window tends to just be moved along
> > with the mouse, not resized.
> >
> > Similarly from the top-right. Resizing using the top-left and
> bottom-right
> > window corners works properly. It almost looks like some calculation
> > for the new window size (in lines) is rounding in the wrong direction,
> > so the window keeps constantly shrinking. Toggling menubar or toolbar
> > on or off doesn't make a difference in behaviour.
>
> Either I don't understand your description, or I cannot reproduce what
> you describe.  All I see here is expected: Emacs just tries to keep
> the frame and the windows at integral multiple of character size.  I
> see no other unwarranted resizing.
>
> If that's what you see, you may wish to try setting
> frame-resize-pixelwise and maybe also window-resize-pixelwise to
> non-nil values, perhaps you will like the results better.
>
> If you see something else, try to describe it in more details, or
> perhaps post a screencast.
>

Hmm.. interesting. I just put a screencast up on
http://screencast.com/t/7tYMRdYpo1RA

Setting frame-resize-pixelwise to non-nil fixes the problem though!  So it
still feels like an issue due to the rounding.

    - Vlad
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 65 days ago.

Previous Next


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