unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vladimir Vukicevic <vladimir@pobox.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20527@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <CA+cAUn5Eaebr=_1ua66CfeM-pB2F11XTycdSQMuze3n7zZznJQ@mail.gmail.com> (raw)
In-Reply-To: <834mnoqnim.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1991 bytes --]

On Thu, May 7, 2015 at 1:57 PM, Eli Zaretskii <eliz@gnu.org> wrote:

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

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

[-- Attachment #2: Type: text/html, Size: 2690 bytes --]

  reply	other threads:[~2015-05-07 18:05 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
2015-05-07 18:05   ` Vladimir Vukicevic [this message]
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='CA+cAUn5Eaebr=_1ua66CfeM-pB2F11XTycdSQMuze3n7zZznJQ@mail.gmail.com' \
    --to=vladimir@pobox.com \
    --cc=20527@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).