unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vladimir Vukicevic <vladimir@pobox.com>
Cc: 20527@debbugs.gnu.org
Subject: bug#20527: 24.5; [w32] resizing window from bottom-left/top-right corner causes broken	resizing
Date: Thu, 07 May 2015 20:57:05 +0300	[thread overview]
Message-ID: <834mnoqnim.fsf@gnu.org> (raw)
In-Reply-To: <CA+cAUn4BvvnyEdpMY3ju=y67sCiwDaA3PtEvLP+tYeHzVCUg1Q@mail.gmail.com>

> Date: Thu, 7 May 2015 09:10:31 -0400
> From: Vladimir Vukicevic <vladimir@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.





  reply	other threads:[~2015-05-07 17:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07 13:10 bug#20527: 24.5; [w32] resizing window from bottom-left/top-right corner causes broken resizing Vladimir Vukicevic
2015-05-07 17:57 ` Eli Zaretskii [this message]
2015-05-07 18:05   ` Vladimir Vukicevic
2015-05-07 18:40     ` Eli Zaretskii
2015-05-10 12:30     ` martin rudalics
2015-05-10 14:45       ` Eli Zaretskii
2015-05-11 10:08         ` martin rudalics
2015-05-20  9:48     ` 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=834mnoqnim.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20527@debbugs.gnu.org \
    --cc=vladimir@pobox.com \
    /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).