From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs 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 Message-ID: <49325AAA.5090606@gmx.at> References: 4922BD1F.2080604@gmx.at <492DBE0C.1030707@gmx.de> <492EA390.1020206@gmx.at> <492EDCC9.7070806@gmx.de> <492EF976.1070108@gmx.at> <49319B2E.20006@gmx.de> Reply-To: martin rudalics , 1348@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228037441 25434 80.91.229.12 (30 Nov 2008 09:30:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 09:30:41 +0000 (UTC) Cc: 1348@emacsbugs.donarmstrong.com To: grischka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 10:31:45 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6ieW-0003Vl-QQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 10:31:45 +0100 Original-Received: from localhost ([127.0.0.1]:60697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6idM-00008q-IZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 04:30:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6idF-00007D-Nr for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 04:30:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6idD-00004s-9v for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 04:30:23 -0500 Original-Received: from [199.232.76.173] (port=49489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6idC-0008WL-Ld for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 04:30:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60262) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6idC-0005L6-3B for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 04:30:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAU9UCOD026022; Sun, 30 Nov 2008 01:30:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAU9U2sl025454; Sun, 30 Nov 2008 01:30:02 -0800 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 30 Nov 2008 09:30:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1348 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1348-submit@emacsbugs.donarmstrong.com id=B1348.122803700224176 (code B ref 1348); Sun, 30 Nov 2008 09:30:02 +0000 Original-Received: (at 1348) by emacsbugs.donarmstrong.com; 30 Nov 2008 09:23:22 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mAU9NIOY024164 for <1348@emacsbugs.donarmstrong.com>; Sun, 30 Nov 2008 01:23:20 -0800 Original-Received: (qmail invoked by alias); 30 Nov 2008 09:23:12 -0000 Original-Received: from 88-117-46-34.adsl.highway.telekom.at (EHLO [88.117.46.34]) [88.117.46.34] by mail.gmx.net (mp046) with SMTP; 30 Nov 2008 10:23:12 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19QOC51X9lQEIQg05jniOPYldkmHy5VcMrrgVNPBz eFRkFQQONwdboY User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <49319B2E.20006@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 30 Nov 2008 04:30:23 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22786 Archived-At: >> 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