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#16028: 24.3.50; Latest build completely breaks my thumnail frames code Date: Thu, 12 Dec 2013 18:38:35 +0200 Message-ID: <8361qu6n3o.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1386866418 9088 80.91.229.3 (12 Dec 2013 16:40:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Dec 2013 16:40:18 +0000 (UTC) Cc: 16028@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 12 17:40:23 2013 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 1Vr9JG-0004u6-RP for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 17:40:22 +0100 Original-Received: from localhost ([::1]:37521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr9JG-0000vE-9O for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 11:40:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr9J2-0000mF-EO for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 11:40:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr9Ix-0002D2-4q for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 11:40:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr9Ix-0002Cu-2S for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 11:40:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vr9Iw-0000Ut-IE for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2013 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16028 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16028-submit@debbugs.gnu.org id=B16028.13868663481819 (code B ref 16028); Thu, 12 Dec 2013 16:40:02 +0000 Original-Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 16:39:08 +0000 Original-Received: from localhost ([127.0.0.1]:45935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr9I3-0000TH-Ss for submit@debbugs.gnu.org; Thu, 12 Dec 2013 11:39:08 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44290) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr9I1-0000T7-DL for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 11:39:06 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXP00400CEEX300@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 18:38:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP004VPCWBQ0A0@a-mtaout22.012.net.il>; Thu, 12 Dec 2013 18:38:35 +0200 (IST) In-reply-to: <52A98D4A.5000000@gmx.at> 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:81823 Archived-At: > Date: Thu, 12 Dec 2013 11:17:46 +0100 > From: martin rudalics > CC: Eli Zaretskii , 16028@debbugs.gnu.org > > The trap your code fell into can be roughly described as follows: > > (1) You ask for changing the pixel size of a frame by setting the font > size. Emacs passes the request on to the window manager but on > Windows it does _not_ store the new pixel size of the frame. > > (2) You ask for changing the pixel size of a frame by setting the > scrollbar width. > > Now before my changes, (2) asked the window manager to change the pixel > size of the frame based on its line/column sizes multiplied by the > default font sizes. After my changes, (2) asks to change the pixel size > of the frame directly from the previously calculated pixel sizes. > However, since on Windows (1) does not record the change of the pixel > size caused by setting the font size, the request in (2) will be based > on the pixel size of the frame before (1) was issued. Since we can now resize a frame pixelwise with an explicit request (right?), would it be possible to fix the above by (3) Ask for change of the frame size by giving explicit dimensions in pixel units. ? If not, why not?