GNU bug report logs - #950
CVS Emacs on Windows XP fails to draw contents of new frame

Previous Next

Packages: w32, emacs;

Reported by: Francis Litterio <flitterio <at> gmail.com>

Date: Tue, 9 Sep 2008 17:35:03 UTC

Severity: normal

Merged with 1748, 2524

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 950 in the body.
You can then email your comments to 950 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, emacs-devel <at> gnu.org, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#950; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Francis Litterio <flitterio <at> gmail.com>:
New bug report received and forwarded. Copy sent to emacs-devel <at> gnu.org, Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Francis Litterio <flitterio <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: CVS Emacs on Windows XP fails to draw contents of new frame
Date: Tue, 09 Sep 2008 12:51:22 -0400
CVS Emacs on Windows XP sometimes fails to draw the contents of a new
frame.  To reproduce, run "emacs -q", and evaluate this form:

    (let ((frame (make-frame)))
      (make-frame-invisible frame)
      (make-frame-visible frame))

The new frame's contents will not be drawn.  Typing "C-l" in the new
frame does not cause its contents to be drawn.  You have to switch focus
to another window and back again before the frame's contents are drawn.
--
Fran





bug reassigned from package `emacs' to `emacs,w32'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 10 Sep 2008 20:55:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com:
bug#950; Package emacs,w32. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com. Full text and rfc822 format available.

Message #12 received at 950 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Francis Litterio <flitterio <at> gmail.com>, 950 <at> debbugs.gnu.org
Subject: Re: bug#950: CVS Emacs on Windows XP fails to draw contents of new
 frame
Date: Thu, 11 Sep 2008 10:54:05 +0200
> CVS Emacs on Windows XP sometimes fails to draw the contents of a new
> frame.  To reproduce, run "emacs -q", and evaluate this form:
>
>     (let ((frame (make-frame)))
>       (make-frame-invisible frame)
>       (make-frame-visible frame))
>
> The new frame's contents will not be drawn.

Works here (on Windows XP).

> Typing "C-l" in the new
> frame does not cause its contents to be drawn.  You have to switch focus
> to another window and back again before the frame's contents are drawn.

But the new frame is visible and in the foreground, I suppose.  What are
your focus-follows-mouse settings?

martin





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com:
bug#950; Package emacs,w32. Full text and rfc822 format available.

Acknowledgement sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com. Full text and rfc822 format available.

Message #17 received at 950 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "martin rudalics" <rudalics <at> gmx.at>,
        "Francis Litterio" <flitterio <at> gmail.com>,
        950 <at> debbugs.gnu.org
Subject: Re: bug#950: CVS Emacs on Windows XP fails to draw contents of new frame
Date: Thu, 11 Sep 2008 14:15:55 +0200
>> The new frame's contents will not be drawn.
>
> Works here (on Windows XP).

I see the bug (Windows XP Home SP3).

It doesn't happen every time, though. I just did a few tests; in one,
the non-displaying behavior happened once, of twenty frames created.
In the very next run, it happened about one in three times.

   Juanma




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com:
bug#950; Package emacs,w32. Full text and rfc822 format available.

Acknowledgement sent to Francis Litterio <flitterio <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com. Full text and rfc822 format available.

Message #22 received at 950 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Francis Litterio <flitterio <at> gmail.com>
To: 950 <at> debbugs.gnu.org
Subject: Re: bug#950: CVS Emacs on Windows XP fails to draw contents of new frame
Date: Thu, 11 Sep 2008 10:34:03 -0400
martin rudalics wrote:

>> CVS Emacs on Windows XP sometimes fails to draw the contents of a new
>> frame.  To reproduce, run "emacs -q", and evaluate this form:
>>
>>     (let ((frame (make-frame)))
>>       (make-frame-invisible frame)
>>       (make-frame-visible frame))
>>
>> The new frame's contents will not be drawn.
>
> Works here (on Windows XP).
>
>> Typing "C-l" in the new
>> frame does not cause its contents to be drawn.  You have to switch focus
>> to another window and back again before the frame's contents are drawn.
>
> But the new frame is visible and in the foreground, I suppose.

Yes, it appears on top of the existing Emacs frame, but about 20 or 30
pixels to the right.

> What are
> your focus-follows-mouse settings?

focus-follows-mouse is nil.
--
Fran




Forcibly Merged 950 1748 2524. Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 02 Mar 2009 22:55:04 GMT) Full text and rfc822 format available.

Reply sent to Jason Rumney <jasonr <at> gnu.org>:
You have taken responsibility. (Sun, 15 Mar 2009 15:00:06 GMT) Full text and rfc822 format available.

Notification sent to Francis Litterio <flitterio <at> gmail.com>:
bug acknowledged by developer. (Sun, 15 Mar 2009 15:00:06 GMT) Full text and rfc822 format available.

Message #29 received at 950-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: 950-done <at> debbugs.gnu.org
Subject: Re: bug#950: CVS Emacs on Windows XP fails to draw contents of new
 frame
Date: Sun, 15 Mar 2009 22:51:54 +0800
> CVS Emacs on Windows XP sometimes fails to draw the contents of a new
> frame.

This bug (also reported as bug#1748 and bug#2524) should be fixed now. 
It was due to a poorly implemented redraw optimization within Windows, 
which I have worked around by using a non-standard paint message 
internally in Emacs.






Reply sent to Jason Rumney <jasonr <at> gnu.org>:
You have taken responsibility. (Sun, 15 Mar 2009 15:00:07 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sun, 15 Mar 2009 15:00:07 GMT) Full text and rfc822 format available.

Reply sent to Jason Rumney <jasonr <at> gnu.org>:
You have taken responsibility. (Sun, 15 Mar 2009 15:00:07 GMT) Full text and rfc822 format available.

Notification sent to Eli Zaretskii <eliz <at> gnu.org>:
bug acknowledged by developer. (Sun, 15 Mar 2009 15:00:07 GMT) Full text and rfc822 format available.

Message #40 received at 950-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Jason Rumney'" <jasonr <at> gnu.org>, <950-done <at> debbugs.gnu.org>
Subject: RE: bug#950: CVS Emacs on Windows XP fails to draw contents of new frame
Date: Sun, 15 Mar 2009 10:42:35 -0700
> From: Jason Rumney Sent: Sunday, March 15, 2009 7:52 AM
> > CVS Emacs on Windows XP sometimes fails to draw the 
> > contents of a new frame.
> 
> This bug (also reported as bug#1748 and bug#2524) should be 
> fixed now. It was due to a poorly implemented redraw optimization
> within Windows, which I have worked around by using a
> non-standard paint message internally in Emacs.

This will be great - thanks. Looking forward to it.

 - Drew





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 13 Apr 2009 14:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 122 days ago.

Previous Next


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