GNU bug report logs - #1348
set-frame-width and set-frame-position seem buggy on at least MSWindows

Previous Next

Package: emacs;

Reported by: "Themba Fletcher" <themba <at> shirleymachine.com>

Date: Fri, 14 Nov 2008 22:55:04 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: grischka <grishka <at> gmx.de>
Cc: 1348 <at> debbugs.gnu.org
Subject: bug#1348: set-frame-width and set-frame-position seem buggy on at	least MSWindows
Date: Sun, 30 Nov 2008 10:19:38 +0100
>> I have never looked into that code.  IIUC one problem is flickering when
>> a frame gets redrawn too often.  Moreover, it's not always safe to
>> redraw frames.
>
> Redraw? Isn't this about resize rather than redraw?

You can, in one command, issue a number of resize requests.  I doubt we
want each of them cause a redisplay/redraw before the command completes.

>> ... In any case, it seems we still
>> wouldn't know how many lines the menubar occupies, or am I missing
>> something?
>
> Well, whatever the answer to this question is, I'm afraid it wouldn't
> help to understand the bug.  It happens with no menubar as well.

The wrapping menubar problem is one of the w32 API - it's nothing we can
do about.  Personally, I considered Jason's reaction too drastic.  So
maybe we should make it conditional on the presence of a menubar.  Also,
I see other applications truncate the menubar in a similar situation.

Anyway - I don't have much of an idea what to do here.  If you can
provide any patches I'll be happy to test them.

martin





This bug report was last modified 10 years and 296 days ago.

Previous Next


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