From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#17046: 24.3.50; On startup emacs frame has no minibuffer or windows decorations Date: Thu, 27 Mar 2014 00:05:29 +0100 Message-ID: References: <87bnx1me40.fsf@capuchin.co.uk> <21296.19864.25566.342047@capuchin.co.uk> <21296.22701.448897.930196@capuchin.co.uk> <21296.26536.10078.165484@capuchin.co.uk> <21296.32260.291274.364373@capuchin.co.uk> <21296.42153.768572.7270@capuchin.co.uk> <21296.46373.182060.426183@capuchin.co.uk> <21297.11355.705621.35886@capuchin.co.uk> <21297.25588.373807.661407@capuchin.co.uk> <53319957.8080102@gmx.at> <83y4zyz3br.fsf@gnu.org> <21299.2416.520654.420180@capuchin.co.uk> <838urwzvyw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1395875236 5566 80.91.229.3 (26 Mar 2014 23:07:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2014 23:07:16 +0000 (UTC) Cc: robert@capuchin.co.uk, 17046@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 27 00:07:25 2014 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 1WSwuo-0007ny-Px for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Mar 2014 00:07:23 +0100 Original-Received: from localhost ([::1]:50614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSwuo-0003pI-BR for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Mar 2014 19:07:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSwub-0003eP-0U for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:07:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSwuV-0003G9-2F for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:07:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSwuU-0003Fy-VX for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WSwuU-0006Uq-82 for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Mar 2014 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17046 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17046-submit@debbugs.gnu.org id=B17046.139587517324900 (code B ref 17046); Wed, 26 Mar 2014 23:07:02 +0000 Original-Received: (at 17046) by debbugs.gnu.org; 26 Mar 2014 23:06:13 +0000 Original-Received: from localhost ([127.0.0.1]:51470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSwtg-0006TY-TL for submit@debbugs.gnu.org; Wed, 26 Mar 2014 19:06:13 -0400 Original-Received: from mail-yk0-f174.google.com ([209.85.160.174]:41660) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSwte-0006TL-5g for 17046@debbugs.gnu.org; Wed, 26 Mar 2014 19:06:10 -0400 Original-Received: by mail-yk0-f174.google.com with SMTP id 20so1489225yks.19 for <17046@debbugs.gnu.org>; Wed, 26 Mar 2014 16:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=U49BmWr3sGNNHybJRSE0X4VRIkh7Hplo/P8i/8jO10Y=; b=hErdlkKvPY+9dIu2IwfxV/c0mpQdCYUXDYz7XelRyLrmT/1hoDMb2N7pUNhFvcTK3q 8OsAGk3bj/VTpmlACd6kfapLVbVUw/sI5EH38OnJ663yNS1LYS2pvqnQBaUU1wGXFxOy aoH3d2ahXUjIHj2tRUL/Xfb+Ew1C0Gy6P31/wa1zycGoPMdSWqBVmq2/Zfn6c1Mv0PQj 5+RHfqPKxpOnvwE9JDjnmx9OTjj6Uo3N/wPEc8BuCDZ3HTXJT5mWJBgCYjYjw5flvHlw gdeeYMmguJNofuu/ogNAieW9Vpk+K2SwO0YPhbytYumjVM3uEmN0MUncYvWnXDYJGXpL C5nw== X-Received: by 10.236.8.68 with SMTP id 44mr86738542yhq.39.1395875169561; Wed, 26 Mar 2014 16:06:09 -0700 (PDT) Original-Received: by 10.170.163.3 with HTTP; Wed, 26 Mar 2014 16:05:29 -0700 (PDT) In-Reply-To: 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:87429 Archived-At: On Wed, Mar 26, 2014 at 7:19 PM, Juanma Barranquero wrote: > I think there's been some changes related to frames and the like, so > it is possible that the workaround can simply be removed and this > problem just disappears. We would still have a bug with GTK builds and > tool-bar-lines = 0, but it would be of much lesser impact. OK, now I understand. I originally added the tool-bar-lines stuff as a workaround for bug#14795, which affects only newly created frames. That means that if the frameset has a (height . 20) parameter for frame A, when restoring the frameset, reusing a frame for A would work, but in case reusing failed (no suitable frame found), A would be created with more than 20 lines (23 on Windows, for example). So the tool-bar-lines fix, to get A back to 20 lines. For several reasons related to offscreen frames, it turns out when a new frame is needed, frameset-restore creates it invisible and onscreen, and then reapplies its frame parameters and turns it visible (if required). Which means that every new frame (the ones affected by bug#14795) is already resized to the correct height while invisible, regardless of whether it was the right height or not to start with. In other words, I can remove the workaround for bug#14795 because it is unnecessary now. The GTK bug with (tool-bar-lines . 0) should be filed as a new bug, IMHO, perhaps with a pointer to this one.