From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <834mnoqnim.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1431021505 6019 80.91.229.3 (7 May 2015 17:58:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 17:58:25 +0000 (UTC) Cc: 20527@debbugs.gnu.org To: Vladimir Vukicevic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 07 19:58:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YqQ3o-00085B-VK for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 19:58:13 +0200 Original-Received: from localhost ([::1]:52387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqQ3o-00072j-Dz for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 13:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqQ3k-0006zj-3c for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 13:58:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqQ3e-00062J-NF for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 13:58:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqQ3e-00062F-Jm for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 13:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YqQ3e-0002x8-5n for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 13:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 May 2015 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20527 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20527-submit@debbugs.gnu.org id=B20527.143102142511283 (code B ref 20527); Thu, 07 May 2015 17:58:02 +0000 Original-Received: (at 20527) by debbugs.gnu.org; 7 May 2015 17:57:05 +0000 Original-Received: from localhost ([127.0.0.1]:38049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqQ2j-0002vu-8X for submit@debbugs.gnu.org; Thu, 07 May 2015 13:57:05 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:55308) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqQ2f-0002vL-44 for 20527@debbugs.gnu.org; Thu, 07 May 2015 13:57:02 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NNZ00C00R3FFB00@a-mtaout23.012.net.il> for 20527@debbugs.gnu.org; Thu, 07 May 2015 20:56:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNZ00C5SR6TEZ10@a-mtaout23.012.net.il>; Thu, 07 May 2015 20:56:54 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102579 Archived-At: > Date: Thu, 7 May 2015 09:10:31 -0400 > From: Vladimir Vukicevic > > 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.