GNU bug report logs - #203
Maximize frame does not work at startup

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>; dated Thu, 8 May 2008 16:45:03 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.
Information stored :
bug#203; Package emacs. Full text available.
Severity set to `wishlist' from `normal' Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=1.0 required=4.0 tests=SPF_HELO_PASS,
	UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 203-quiet) by emacsbugs.donarmstrong.com; 8 May 2008 16:53:41 +0000
Received: from mk-outboundfilter-3.mail.uk.tiscali.com (mk-outboundfilter-3.mail.uk.tiscali.com [212.74.114.23])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m48GrY7m029262
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu, 8 May 2008 09:53:36 -0700
X-Trace: 112322000/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108
X-SBRS: None
X-RemoteIP: 83.67.23.108
X-IP-MAIL-FROM: jasonr <at> gnu.org
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkwKABXNIkhTQxds/2dsb2JhbACBU5EgDJkq
X-IP-Direction: IN
Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108])
  by smtp.f2s.tiscali.co.uk with ESMTP; 08 May 2008 17:53:29 +0100
Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id 02C211488
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu,  8 May 2008 17:53:28 +0100 (BST)
Resent-From: Jason Rumney <jasonr <at> gnu.org>
Resent-To: 203-quiet <at> debbugs.gnu.org
Resent-Date: Thu, 8 May 2008 17:53:24 +0100
Resent-Message-Id: <48233004.50306 <at> gnu.org>
Resent-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14
X-Original-To: jasonr <at> localhost
Received: from wanchan.jasonr.f2s.com (localhost [127.0.0.1])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id 2530611C
	for <jasonr <at> localhost>; Mon, 11 Dec 2006 09:13:09 +0000 (GMT)
Received: from server0012.freedom2surf.net [194.106.56.18]
	by wanchan.jasonr.f2s.com with POP3 (fetchmail-6.3.6-rc3)
	for <jasonr <at> localhost> (single-drop); Mon, 11 Dec 2006 09:13:09 +0000 (GMT)
Received: from murder ([unix socket])
	 by imap1.freedom2surf.net (Cyrus v2.2.10-Invoca-RPM-2.2.10-8) with LMTPA;
	 Mon, 11 Dec 2006 09:12:18 +0000
X-Sieve: CMU Sieve 2.2
Received: from avs02.freedom2surf.net (avs02.freedom2surf.net [195.224.107.77])
	by imap1.freedom2surf.net (Postfix) with ESMTP id 3B4327342DB
	for <jasonr <at> f2s.com>; Mon, 11 Dec 2006 09:12:18 +0000 (GMT)
Received: from mail6.freedom2surf.net ([194.106.56.142] helo=mx2.freedom2surf.net)
	by avs02.freedom2surf.net with esmtp (Exim 4.43)
	id 1GthCF-0003QZ-6Z
	for jasonr <at> f2s.com; Mon, 11 Dec 2006 09:11:39 +0000
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
	by mx2.freedom2surf.net (Postfix) with ESMTP id CAAC21C80AA
	for <jasonr <at> f2s.com>; Thu,  7 Dec 2006 02:04:54 +0000 (GMT)
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.52)
	id 1GthCn-0005Ew-La
	for jasonr <at> gnu.org; Mon, 11 Dec 2006 04:12:13 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52)
	id 1GthCn-0002qH-1T
	for jasonr <at> gnu.org; Mon, 11 Dec 2006 04:12:13 -0500
Received: from [199.232.76.165] (helo=lists.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.52)
	id 1GthCm-0002qE-TN
	for jasonr <at> gnu.org; Mon, 11 Dec 2006 04:12:12 -0500
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1GthCm-00076H-LW
	for jasonr <at> gnu.org; Mon, 11 Dec 2006 04:12:12 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1GthCj-000761-05
	for emacs-pretest-bug <at> gnu.org; Mon, 11 Dec 2006 04:12:09 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1GthCi-00075p-4T
	for emacs-pretest-bug <at> gnu.org; Mon, 11 Dec 2006 04:12:08 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1GthCi-00075f-16
	for emacs-pretest-bug <at> gnu.org; Mon, 11 Dec 2006 04:12:08 -0500
Received: from [80.76.149.212] (helo=ch-smtp01.sth.basefarm.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GthCh-0002ol-Ik
	for emacs-pretest-bug <at> gnu.org; Mon, 11 Dec 2006 04:12:07 -0500
Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:64097
	helo=[127.0.0.1])
	by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63)
	(envelope-from <lennart.borgman.073 <at> student.lu.se>)
	id 1GthCf-0007ay-4O
	for emacs-pretest-bug <at> gnu.org; Mon, 11 Dec 2006 10:12:06 +0100
Message-ID: <457D20E6.8090801 <at> student.lu.se>
Date: Mon, 11 Dec 2006 10:12:06 +0100
From: Lennart Borgman <lennart.borgman.073 <at> student.lu.se>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: emacs-pretest-bug <at> gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0655-1, 2006-12-08), Outbound message
X-Antivirus-Status: Clean
X-Scan-Result: No virus found in message 1GthCf-0007ay-4O.
X-Scan-Signature: ch-smtp01.sth.basefarm.net 1GthCf-0007ay-4O
	ac3722754652ebcafb22aa41905321ae
Subject: -fs hides part of Emacs window behind task bar on w32
X-BeenThere: emacs-pretest-bug <at> gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for CVS Emacs." <emacs-pretest-bug.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug>,
	<mailto:emacs-pretest-bug-request <at> gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-pretest-bug>
List-Post: <mailto:emacs-pretest-bug <at> gnu.org>
List-Help: <mailto:emacs-pretest-bug-request <at> gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug>,
	<mailto:emacs-pretest-bug-request <at> gnu.org?subject=subscribe>
Sender: emacs-pretest-bug-bounces+jasonr=gnu.org <at> gnu.org
Errors-To: emacs-pretest-bug-bounces+jasonr=gnu.org <at> gnu.org

When starting with

   emacs -Q -fs

the lower part of Emacs may get hidden behind the MS Windows task bar. 
This happens because Emacs window is not really maximized. Unfortunately 
this means that Emacs' minibuffer is not visible.


In GNU Emacs 22.0.91.1 (i386-mingw-nt5.1.2600)
 of 2006-12-10
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug





Information stored:
bug#203; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Status: No, score=1.0 required=4.0 tests=MURPHY_DRUGS_REL8,
	SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 203-quiet) by emacsbugs.donarmstrong.com; 8 May 2008 16:53:11 +0000
Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m48Gr6lq029249
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu, 8 May 2008 09:53:08 -0700
X-Trace: 76977776/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108
X-SBRS: None
X-RemoteIP: 83.67.23.108
X-IP-MAIL-FROM: jasonr <at> gnu.org
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkwKABXNIkhTQxds/2dsb2JhbACBU5EgDJkq
X-IP-Direction: IN
Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108])
  by smtp.f2s.tiscali.co.uk with ESMTP; 08 May 2008 17:53:00 +0100
Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id CCDB41488
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu,  8 May 2008 17:52:59 +0100 (BST)
Resent-From: Jason Rumney <jasonr <at> gnu.org>
Resent-To: 203-quiet <at> debbugs.gnu.org
Resent-Date: Thu, 8 May 2008 17:52:55 +0100
Resent-Message-Id: <48232FE7.1080606 <at> gnu.org>
Resent-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14
X-Original-To: jasonr <at> localhost
Received: from localhost (localhost [127.0.0.1])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id 48E70DDE21
	for <jasonr <at> localhost>; Fri, 10 Jun 2005 21:22:49 +0100 (BST)
Received: from server0012.freedom2surf.net [194.106.56.18]
	by localhost with POP3 (fetchmail-6.2.5)
	for jasonr <at> localhost (single-drop); Fri, 10 Jun 2005 21:22:49 +0100 (BST)
Received: from i-194-106-33-248.freedom2surf.net ([unix socket])
	 by i-194-106-33-248.freedom2surf.net (Cyrus v2.2.10-Invoca-RPM-2.2.10-8) with LMTPA;
	 Thu, 09 Jun 2005 02:04:28 +0100
X-Sieve: CMU Sieve 2.2
Received: from i-194-106-56-142.freedom2surf.net (i-194-106-56-142.freedom2surf.net [194.106.56.142])
	by i-194-106-33-248.freedom2surf.net (8.12.11/8.12.11) with ESMTP id j5914SXV019583
	for <jasonr <at> f2s.com>; Thu, 9 Jun 2005 02:04:28 +0100
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
	by i-194-106-56-142.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j5914SDp001804
	for <jasonr <at> f2s.com>; Thu, 9 Jun 2005 02:04:28 +0100
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.34)
	id 1DgBT8-0006Ty-5k
	for jasonr <at> gnu.org; Wed, 08 Jun 2005 21:04:26 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1DgBPZ-0000eT-GG
	for jasonr <at> gnu.org; Wed, 08 Jun 2005 21:00:46 -0400
Received: from [199.232.76.165] (helo=lists.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1DgBPZ-0000eO-AY
	for jasonr <at> gnu.org; Wed, 08 Jun 2005 21:00:45 -0400
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DgBSN-0003mH-5V
	for jasonr <at> gnu.org; Wed, 08 Jun 2005 21:03:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DgBSE-0003lp-A0
	for emacs-devel <at> gnu.org; Wed, 08 Jun 2005 21:03:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DgBSC-0003ku-UO
	for emacs-devel <at> gnu.org; Wed, 08 Jun 2005 21:03:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DgBSB-0003k4-TL
	for emacs-devel <at> gnu.org; Wed, 08 Jun 2005 21:03:27 -0400
Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DgBNd-0000Wh-Ne
	for emacs-devel <at> gnu.org; Wed, 08 Jun 2005 20:58:45 -0400
Received: from [192.168.123.121] (83.249.205.77) by
	pne-smtpout1-sn1.fre.skanova.net (7.2.059.6)
	id 429C5421001D7B9D; Thu, 9 Jun 2005 02:58:23 +0200
Message-ID: <42A793B8.3020609 <at> student.lu.se>
Date: Thu, 09 Jun 2005 02:56:24 +0200
From: Lennart Borgman <lennart.borgman.073 <at> student.lu.se>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Abrahams <dave <at> boost-consulting.com>
References: <uwtpllq00.fsf <at> boost-consulting.com>
In-Reply-To: <uwtpllq00.fsf <at> boost-consulting.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: emacs-devel <at> gnu.org
Subject: Re: MS Windows Frame Maximize in .emacs (again)
X-BeenThere: emacs-devel <at> gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request <at> gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel <at> gnu.org>
List-Help: <mailto:emacs-devel-request <at> gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request <at> gnu.org?subject=subscribe>
Sender: emacs-devel-bounces+jasonr=gnu.org <at> gnu.org
Errors-To: emacs-devel-bounces+jasonr=gnu.org <at> gnu.org

David Abrahams wrote:

>I have nothing to add to
>http://lists.gnu.org/archive/html/emacs-devel/2004-12/msg00364.html
>except that it's happening for me, too.
>
>Ideas, anyone?
>
>  
>

I think the changes below should make maximized frames behave better on 
w32. They try to prevent changing the size of a frame that is maximized.

This change remove the bug that a maximized frame does not fit the whole 
screen. It also removes the bug that a maximezed frame can be moved.

At least for me there seems to be no problem now (with these patches) to 
maximize a frame on startup on w32. (But I do not know if these patches 
actually affected that.)

Could someone please try them and check them in?


Index: w32fns.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32fns.c,v
retrieving revision 1.246
diff -r1.246 w32fns.c
3651,3652c3651,3652
<               lppos->cx -= wdiff;
<               lppos->cy -= hdiff;
---
 >               //lppos->cx -= wdiff;
 >               //lppos->cy -= hdiff;
3656a3657,3658
 >                   lppos->cx -= wdiff;
 >                   lppos->cy -= hdiff;

C:\emacscvs\emacs\src>cvs diff w32term.c
Index: w32term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.224
diff -r1.224 w32term.c
3837a3838
 >         if (!IsZoomed(hwnd)){
3840a3842
 >         }


_______________________________________________
Emacs-devel mailing list
Emacs-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel




Information stored:
bug#203; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Status: No, score=1.0 required=4.0 tests=AWL,FOURLA,SPF_HELO_PASS,
	UNPARSEABLE_RELAY autolearn=no version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 203-quiet) by emacsbugs.donarmstrong.com; 8 May 2008 16:52:40 +0000
Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m48GqOaY029114
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu, 8 May 2008 09:52:37 -0700
X-Trace: 23784459/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108
X-SBRS: None
X-RemoteIP: 83.67.23.108
X-IP-MAIL-FROM: jasonr <at> gnu.org
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkwKABXNIkhTQxds/2dsb2JhbACBU5EgDJkq
X-IP-Direction: IN
Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108])
  by smtp.f2s.tiscali.co.uk with ESMTP; 08 May 2008 17:52:37 +0100
Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id C8DE31488
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu,  8 May 2008 17:52:36 +0100 (BST)
Resent-From: Jason Rumney <jasonr <at> gnu.org>
Resent-To: 203-quiet <at> debbugs.gnu.org
Resent-Date: Thu, 8 May 2008 17:52:32 +0100
Resent-Message-Id: <48232FD0.1090506 <at> gnu.org>
Resent-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14
X-Original-To: jasonr <at> localhost
Received: from localhost (localhost [127.0.0.1])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id E5A5ADDD32
	for <jasonr <at> localhost>; Sun, 27 Feb 2005 09:39:44 +0000 (GMT)
Received: from server0012.freedom2surf.net [194.106.56.18]
	by localhost with POP3 (fetchmail-6.2.5)
	for jasonr <at> localhost (single-drop); Sun, 27 Feb 2005 09:39:44 +0000 (GMT)
Received: from i-194-106-33-248.freedom2surf.net ([unix socket])
	 by i-194-106-33-248.freedom2surf.net (Cyrus v2.2.10-Invoca-RPM-2.2.10-8) with LMTPA;
	 Sun, 27 Feb 2005 09:36:13 +0000
X-Sieve: CMU Sieve 2.2
Received: from i-194-106-56-142.freedom2surf.net (i-194-106-56-142.freedom2surf.net [194.106.56.142])
	by i-194-106-33-248.freedom2surf.net (8.12.11/8.12.11) with ESMTP id j1R9aCVM016978
	for <jasonr <at> f2s.com>; Sun, 27 Feb 2005 09:36:13 GMT
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
	by i-194-106-56-142.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j1R9aC9l013614
	for <jasonr <at> f2s.com>; Sun, 27 Feb 2005 09:36:12 GMT
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.34)
	id 1D5KqS-0004WM-4D
	for jasonr <at> gnu.org; Sun, 27 Feb 2005 04:36:12 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1D5Kdy-00051S-QF
	for jasonr <at> gnu.org; Sun, 27 Feb 2005 04:23:19 -0500
Received: from [81.228.11.114] (helo=av7-2-sn1.fre.skanova.net)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1D5Kdy-00051O-E4
	for jasonr <at> gnu.org; Sun, 27 Feb 2005 04:23:18 -0500
Received: by av7-2-sn1.fre.skanova.net (Postfix, from userid 502)
	id A4ECC37E60; Sun, 27 Feb 2005 10:23:17 +0100 (CET)
Received: from smtp3-1-sn1.fre.skanova.net (smtp3-1-sn1.fre.skanova.net [81.228.11.163])
	by av7-2-sn1.fre.skanova.net (Postfix) with ESMTP id 9687A37E46
	for <jasonr <at> gnu.org>; Sun, 27 Feb 2005 10:23:17 +0100 (CET)
Received: from sedrcw11488 (t4o58p26.telia.com [195.252.57.26])
	by smtp3-1-sn1.fre.skanova.net (Postfix) with SMTP id BA08437E46
	for <jasonr <at> gnu.org>; Sun, 27 Feb 2005 10:23:16 +0100 (CET)
Message-ID: <004301c51cad$e1888e30$0200a8c0 <at> sedrcw11488>
From: "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>
To: "Jason Rumney" <jasonr <at> gnu.org>
Subject: Maximized frames gets wrong size at startup; cursors
Date: Sun, 27 Feb 2005 10:22:15 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Received-SPF: none (i-194-106-33-236.freedom2surf.net: domain of lennart.borgman.073 <at> student.lu.se does not designate permitted sender hosts)

Hi Jason,

I did report a problem to the developers list about maximizing frames at
startup. They get the wrong size. I triead the following change

*** w32term.c

void
x_set_window_size (f, change_gravity, cols, rows)
     struct frame *f;
     int change_gravity;
     int cols, rows;
{
  int pixelwidth, pixelheight;
  {
    // This tries to avoid setting size if frame is maximized. Is this
correct??? Lennart B.
    WINDOWPLACEMENT wp;
    HWND hwnd;
    hwnd = FRAME_W32_WINDOW (f);
    wp.length = sizeof (WINDOWPLACEMENT);
    GetWindowPlacement (hwnd, &wp);
    if (wp.showCmd == SW_SHOWMAXIMIZED) return;
  }

  BLOCK_INPUT;

  check_frame_size (f, &rows, &cols);
... (the rest is unchanged)


This tests if the frame is maximized and then just exits x_set_window_size.
Maybe there is a better way to do this? I am not at all sure what
x_set_window_size does.

BTW I looked a bit at the code for cursors in w32. It seems to me a lot of
things have been done, but that hourglass cursors are not used on w32. I
suggest that the builtin hourglass cursor is used. What do you think of
that?

Best wishes,
Lennart





Acknowledgement sent to "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>:
Extra info received and filed, but not forwarded. Full text available.
Information stored:
bug#203; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=1.0 required=4.0 tests=SPF_HELO_PASS,
	UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 203-quiet) by emacsbugs.donarmstrong.com; 8 May 2008 16:52:33 +0000
Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m48GqOaX029114
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu, 8 May 2008 09:52:25 -0700
X-Trace: 23784327/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108
X-SBRS: None
X-RemoteIP: 83.67.23.108
X-IP-MAIL-FROM: jasonr <at> gnu.org
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkwKABXNIkhTQxds/2dsb2JhbACBU5EgDJkq
X-IP-Direction: IN
Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108])
  by smtp.f2s.tiscali.co.uk with ESMTP; 08 May 2008 17:52:18 +0100
Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id D0D571488
	for <203-quiet <at> emacsbugs.donarmstrong.com>; Thu,  8 May 2008 17:52:17 +0100 (BST)
Resent-From: Jason Rumney <jasonr <at> gnu.org>
Resent-To: 203-quiet <at> debbugs.gnu.org
Resent-Date: Thu, 8 May 2008 17:52:13 +0100
Resent-Message-Id: <48232FBD.3070109 <at> gnu.org>
Resent-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14
X-Original-To: jasonr <at> localhost
Received: from localhost (localhost [127.0.0.1])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id C8381DE076
	for <jasonr <at> localhost>; Sat, 11 Dec 2004 13:22:08 +0000 (GMT)
Received: from server0012.freedom2surf.net [194.106.56.18]
	by localhost with POP3 (fetchmail-6.2.5)
	for jasonr <at> localhost (single-drop); Sat, 11 Dec 2004 13:22:08 +0000 (GMT)
Received: from i-194-106-33-248.freedom2surf.net ([unix socket])
	 by i-194-106-33-248.freedom2surf.net (Cyrus v2.2.8-Invoca-RPM-2.2.8-1) with LMTPA;
	 Sat, 11 Dec 2004 13:20:28 +0000
X-Sieve: CMU Sieve 2.2
Received: from i-194-106-33-236.freedom2surf.net (i-194-106-56-142.freedom2surf.net [194.106.56.142])
	by i-194-106-33-248.freedom2surf.net (8.12.11/8.12.11) with ESMTP id iBBDKS1c003613
	for <jasonr <at> f2s.com>; Sat, 11 Dec 2004 13:20:28 GMT
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
	by i-194-106-33-236.freedom2surf.net (8.12.10/8.12.10) with ESMTP id iBBDKShd008934
	for <jasonr <at> f2s.com>; Sat, 11 Dec 2004 13:20:28 GMT
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.34)
	id 1Cd76y-0005oh-Ho
	for jasonr <at> gnu.org; Sat, 11 Dec 2004 08:16:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1Cd7AT-0002zn-FB
	for jasonr <at> gnu.org; Sat, 11 Dec 2004 08:20:13 -0500
Received: from [199.232.76.165] (helo=lists.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1Cd7AT-0002zj-Ar
	for jasonr <at> gnu.org; Sat, 11 Dec 2004 08:20:13 -0500
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1Cd7KT-0005Lt-U3
	for jasonr <at> gnu.org; Sat, 11 Dec 2004 08:30:33 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1Cd7KG-0005Fy-4N
	for emacs-pretest-bug <at> gnu.org; Sat, 11 Dec 2004 08:30:20 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1Cd7KE-0005F5-2S
	for emacs-pretest-bug <at> gnu.org; Sat, 11 Dec 2004 08:30:18 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1Cd7KD-0005ER-Tt
	for emacs-pretest-bug <at> gnu.org; Sat, 11 Dec 2004 08:30:17 -0500
Received: from [81.228.11.116] (helo=av9-2-sn1.fre.skanova.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cd77s-0002Oa-Eb
	for emacs-pretest-bug <at> gnu.org; Sat, 11 Dec 2004 08:17:32 -0500
Received: by av9-2-sn1.fre.skanova.net (Postfix, from userid 502)
	id BC92237E82; Sat, 11 Dec 2004 14:17:31 +0100 (CET)
Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net
	[81.228.11.164])
	by av9-2-sn1.fre.skanova.net (Postfix) with ESMTP id AB23037E4B
	for <emacs-pretest-bug <at> gnu.org>; Sat, 11 Dec 2004 14:17:31 +0100 (CET)
Received: from sedrcw11488 (t5o58p229.telia.com [195.67.196.229])
	by smtp3-2-sn1.fre.skanova.net (Postfix) with SMTP id E88CB37E4B
	for <emacs-pretest-bug <at> gnu.org>; Sat, 11 Dec 2004 14:17:30 +0100 (CET)
Message-ID: <002501c4df83$b9850970$0200a8c0 <at> sedrcw11488>
From: "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>
To: <emacs-pretest-bug <at> gnu.org>
Date: Sat, 11 Dec 2004 14:15:40 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1409
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: Fw: Maximize frame does not work correctly in .emacs on MS Windows
	withCVS Emacs
X-BeenThere: emacs-pretest-bug <at> gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: emacs-pretest-bug.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug>,
	<mailto:emacs-pretest-bug-request <at> gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-pretest-bug>
List-Post: <mailto:emacs-pretest-bug <at> gnu.org>
List-Help: <mailto:emacs-pretest-bug-request <at> gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug>,
	<mailto:emacs-pretest-bug-request <at> gnu.org?subject=subscribe>
Sender: emacs-pretest-bug-bounces+jasonr=gnu.org <at> gnu.org
Errors-To: emacs-pretest-bug-bounces+jasonr=gnu.org <at> gnu.org
Received-SPF: pass (i-194-106-33-236.freedom2surf.net: domain of emacs-pretest-bug-bounces+jasonr=gnu.org <at> gnu.org designates 199.232.76.164 as permitted sender)

I have sent this to Emacs Devel first, but so far no response. I have also
noticed that there is a similar bug if you try to use --fullscreen when
starting Emacs. However in this case the upper right corner icon is not the
"maximized" icon, but the "normal size" icon. The window size is not normal.
It looks like the same size I see below. (Height is not full screen.)

- Lennart


----- Original Message ----- 
From: "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>
To: "Emacs Devel" <emacs-devel <at> gnu.org>
Sent: Thursday, December 09, 2004 6:23 PM
Subject: Maximize frame does not work correctly in .emacs on MS Windows
withCVS Emacs


> I have in .emacs:
>
>   (defun w32-maximize-frame ()
>     "Maximize the current frame"
>     (interactive)
>     (w32-send-sys-command 61488))
>
>   (defun w32-hook-frame-maximize (frame)
>     ;;(server-trace "ENTERING w32-hook-frame-maximize")
>     ;;(sleep-for 2)
>     (when window-system
>       (select-frame frame)
>       (if w32-feeling-max-frames (w32-maximize-frame)))
>     ;;(server-trace "EXITING w32-hook-frame-maximize")
>     )
>
>   (add-hook 'after-make-frame-functions 'w32-hook-frame-maximize)
>
>   (w32-maximize-frame)
>
> In CVS Emacs this first maximizes the frame (window in w32 parlor) and
then
> shrinks it.
> Some of the time both height and width are shrinked, but often only the
> height is changed. The small icon in the upper right corner still looks
the
> way it does when the window is maximized. The size of the window in this
> strange state is not the same as when the window is "Restored" from the
> upper left system-menu.
>
> This works as it should in current Emacs.
>
> If I use (w32-maximize-frame) later in CVS Emacs it also works as it
should
> (i e it maximize the window).



_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug




Information stored:
bug#203; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=1.0 required=4.0 tests=SPF_HELO_PASS,
	UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at quiet) by emacsbugs.donarmstrong.com; 8 May 2008 16:36:28 +0000
Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m48GaJuT023694
	for <quiet <at> emacsbugs.donarmstrong.com>; Thu, 8 May 2008 09:36:21 -0700
X-Trace: 76968889/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108
X-SBRS: None
X-RemoteIP: 83.67.23.108
X-IP-MAIL-FROM: jasonr <at> gnu.org
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkwKAG/IIkhTQxds/2dsb2JhbACBU5EgDJkh
X-IP-Direction: IN
Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108])
  by smtp.f2s.tiscali.co.uk with ESMTP; 08 May 2008 17:36:12 +0100
Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id 7996E1488
	for <quiet <at> emacsbugs.donarmstrong.com>; Thu,  8 May 2008 17:36:10 +0100 (BST)
Resent-From: Jason Rumney <jasonr <at> gnu.org>
Resent-To: quiet <at> debbugs.gnu.org
Resent-Date: Thu, 8 May 2008 17:36:05 +0100
Resent-Message-Id: <48232BF5.7040209 <at> gnu.org>
Resent-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14
X-Original-To: jasonr <at> localhost
Received: from localhost (localhost [127.0.0.1])
	by wanchan.jasonrumney.net (Postfix) with ESMTP id 7137BDDE25
	for <jasonr <at> localhost>; Sun, 13 Feb 2005 01:20:12 +0000 (GMT)
Received: from server0012.freedom2surf.net [194.106.56.18]
	by localhost with POP3 (fetchmail-6.2.5)
	for jasonr <at> localhost (single-drop); Sun, 13 Feb 2005 01:20:12 +0000 (GMT)
Received: from i-194-106-33-248.freedom2surf.net ([unix socket])
	 by i-194-106-33-248.freedom2surf.net (Cyrus v2.2.10-Invoca-RPM-2.2.10-8) with LMTPA;
	 Sun, 13 Feb 2005 01:18:07 +0000
X-Sieve: CMU Sieve 2.2
Received: from i-194-106-56-142.freedom2surf.net (i-194-106-56-142.freedom2surf.net [194.106.56.142])
	by i-194-106-33-248.freedom2surf.net (8.12.11/8.12.11) with ESMTP id j1D1I76U023802
	for <jasonr <at> f2s.com>; Sun, 13 Feb 2005 01:18:07 GMT
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
	by i-194-106-56-142.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j1D1I6Mc017908
	for <jasonr <at> f2s.com>; Sun, 13 Feb 2005 01:18:06 GMT
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.34)
	id 1D08Ku-0000Jc-NR
	for jasonr <at> gnu.org; Sat, 12 Feb 2005 20:14:08 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1D07vb-0001go-K1
	for jasonr <at> gnu.org; Sat, 12 Feb 2005 19:47:59 -0500
Received: from [199.232.76.165] (helo=lists.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1D07vb-0001gj-EH
	for jasonr <at> gnu.org; Sat, 12 Feb 2005 19:47:59 -0500
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1D088o-0001SQ-M3
	for jasonr <at> gnu.org; Sat, 12 Feb 2005 20:01:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1D086q-00015z-So
	for emacs-devel <at> gnu.org; Sat, 12 Feb 2005 19:59:37 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1D082k-0000Q3-Vc
	for emacs-devel <at> gnu.org; Sat, 12 Feb 2005 19:55:23 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1D082b-0000M0-Uy
	for emacs-devel <at> gnu.org; Sat, 12 Feb 2005 19:55:14 -0500
Received: from [81.228.9.105] (helo=av1-1-sn3.vrr.skanova.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1D07fm-0000as-0k
	for emacs-devel <at> gnu.org; Sat, 12 Feb 2005 19:31:38 -0500
Received: by av1-1-sn3.vrr.skanova.net (Postfix, from userid 502)
	id 52A0937E4E; Sun, 13 Feb 2005 01:31:37 +0100 (CET)
Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net
	[81.228.9.177])
	by av1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 3E90E37E45
	for <emacs-devel <at> gnu.org>; Sun, 13 Feb 2005 01:31:37 +0100 (CET)
Received: from sedrcw11488 (t3o58p106.telia.com [195.252.56.106])
	by smtp1-1-sn3.vrr.skanova.net (Postfix) with SMTP id 9BFDC38007
	for <emacs-devel <at> gnu.org>; Sun, 13 Feb 2005 01:31:36 +0100 (CET)
Message-ID: <016c01c51163$467abad0$0200a8c0 <at> sedrcw11488>
From: "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>
To: "Emacs Devel" <emacs-devel <at> gnu.org>
Date: Sun, 13 Feb 2005 01:30:37 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1409
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Subject: Maximize frame does not work at startup
X-BeenThere: emacs-devel <at> gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request <at> gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel <at> gnu.org>
List-Help: <mailto:emacs-devel-request <at> gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request <at> gnu.org?subject=subscribe>
Sender: emacs-devel-bounces+jasonr=gnu.org <at> gnu.org
Errors-To: emacs-devel-bounces+jasonr=gnu.org <at> gnu.org
Received-SPF: pass (i-194-106-33-236.freedom2surf.net: domain of emacs-devel-bounces+jasonr=gnu.org <at> gnu.org designates 199.232.76.164 as permitted sender)

If Emacs is started with

   emacs.exe -Q --eval "(w32-send-sys-command 61488)"

on w32 you may get a frame that is not maximized but whos system buttons (is
that the term?) in the upper left corner indicates that it should be.

This seems to be dependent on the speed of the pc.

I have previously sent in a bug report for this and had some communication
around it (which I do not remember any more) but I wonder if this bug report
was dropped?




_______________________________________________
Emacs-devel mailing list
Emacs-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel




Acknowledgement sent to "Lennart Borgman" <lennart.borgman.073 <at> student.lu.se>:
New bug report received and filed, but not forwarded. Full text available.
Report stored:
bug#203; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

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