From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Fussner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44794: 28.0.50; Frame creation broken with (tool-bar-mode -1) Date: Sun, 22 Nov 2020 21:47:21 +0000 Message-ID: References: <838satxufx.fsf@gnu.org> <83o8jpw813.fsf@gnu.org> <83lfetw4bf.fsf@gnu.org> Reply-To: David Fussner Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , 44794@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 22:50:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgxFK-0005hi-JX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 22:50:10 +0100 Original-Received: from localhost ([::1]:36210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgxFJ-0005nl-KQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 16:50:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgxFC-0005nM-Ch for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 16:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgxFC-0000lY-58 for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 16:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgxFC-0000M3-2X for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 16:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Fussner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Nov 2020 21:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44794 X-GNU-PR-Package: emacs Original-Received: via spool by 44794-submit@debbugs.gnu.org id=B44794.16060818001351 (code B ref 44794); Sun, 22 Nov 2020 21:50:01 +0000 Original-Received: (at 44794) by debbugs.gnu.org; 22 Nov 2020 21:50:00 +0000 Original-Received: from localhost ([127.0.0.1]:48460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgxFA-0000Lj-5n for submit@debbugs.gnu.org; Sun, 22 Nov 2020 16:50:00 -0500 Original-Received: from mail-qk1-f170.google.com ([209.85.222.170]:36076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgxF6-0000LT-50 for 44794@debbugs.gnu.org; Sun, 22 Nov 2020 16:49:59 -0500 Original-Received: by mail-qk1-f170.google.com with SMTP id u184so289996qkf.3 for <44794@debbugs.gnu.org>; Sun, 22 Nov 2020 13:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PheccvOoV78odpDDHECa8dtQrH8M0JrDWdIs6soZmec=; b=GYKbDCegRJDoqIMJtbakISYXYJ8yx0pfl0Z/jvCyNObJTTke9EtzKUUlbdiCTbibf0 2r/7jT5xmJYvifPoa8BkTa8wUHAFlxfY7WBkeCK/PDiglXoqS+7TeH3TPCUhAQuZxbzT KpI79L85DxKuCwPUwBwbQ6usgApXY8WJcHGB7dDQYR07aPzMJaKbArpVXTRjPKKhQ2BQ hbNuwnPMBjvW46/t6KJVt4g+tR9cba2CRKJBVrKlX5f2o+kLmlEgPLr5GrGZVjTsuo85 X9aYfEZnv9pbG0MCVk1Ne9uNgbTDt/9rJpkb34vEMF82bzgEdq0AkAzvzLBjaFH/vjJu FUYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PheccvOoV78odpDDHECa8dtQrH8M0JrDWdIs6soZmec=; b=m7rg0O0i+dzhoutmXL569iGlydIVWLzI5arKtRNcMyP+JlhK0JRYntviaRVwLkzWjO 4Lcj9husTP/LQGdZX+wH5gT5/pLfhyV5Kb3uUnDj6BZHEJ4qk11ojL426m0f012bdpIg wivfAZHHz6KUPHqLDDStZxJdRDMIa1lcDJmx0n7wX0dbnBYPCfQtvfrVucs59XDQYJOO p0khVI0QdbAoIv4Qxcoz8xTRgPGKDaJxOMBV8LnvKUcSD5otoU/2I1TDI/cuioY26LgJ eX6vtSw66ESI8a/Q5Isy4r5OmKZKf07ez875vMPaqzVSZRHn43jarJw2MxkeVomLeM7Z SUEw== X-Gm-Message-State: AOAM532TOTlz6cDbZCODQEA7oUTzdrORKdM2d4ecQocdhYRTTLdu7fPC B4KmkOmENlrBBMjDpzyV/WgwT71rreWjYx8SfNw= X-Google-Smtp-Source: ABdhPJx0AO6puXU+4Ia40fUq2JDAWpSUaFJjsCx6RCBbKSwOmDLn7hVdYCvUubShts8DaFfP/t6PEsm5fN/tyflFMAQ= X-Received: by 2002:a37:a396:: with SMTP id m144mr5377562qke.228.1606081790490; Sun, 22 Nov 2020 13:49:50 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193882 Archived-At: As no one else seems to be able to reproduce this bug, I thought I would give a fuller list of the symptoms I've seen when using various set-ups in my .emacs file, in case that might help. If in addition to turning off the tool bar you add: (add-to-list 'default-frame-alist '(height . 30) '(font . "Luxi Mono-16")) Then the initial frame shows the splash page just fine, and all looks well. After C-x 5 b return then the *scratch* buffer pops up with all the problems described in the initial report: nothing visible in the main window and no mini-buffer, either. If you make the height too big for the screen, in my case with such a big font I set it to 33, then the initial frame shows the splash page just fine and is as tall as the screen allows. After C-x 5 b return then the *scratch* buffer does appear, with text and mini-buffer intact, only the second frame is about two-thirds the correct height. After Eli's suggestion above about the WM I did try shutting down KDE and running xfce4, with exactly the same results as with KDE, as far as I could tell. Thanks again to you both for all your help. David. On Sun, 22 Nov 2020 at 20:50, David Fussner wrote: > > I'm sorry to report it didn't help (aside from modifying what appears > in the title bar). > > On Sun, 22 Nov 2020 at 19:59, Eli Zaretskii wrote: > > > > > From: David Fussner > > > Date: Sun, 22 Nov 2020 19:23:16 +0000 > > > Cc: Eli Zaretskii , 44794@debbugs.gnu.org > > > > > > Thanks for the tip -- it says "GNU Emacs at newfont" when it first > > > comes up, then prepends the buffer name to that later. > > > > What happens if you change this: > > > > Lisp_Object icon_title_name_format > > = pure_list (empty_unibyte_string, > > build_pure_c_string ("%b - GNU Emacs at "), > > intern_c_string ("system-name")); > > > > to say this instead: > > > > Lisp_Object icon_title_name_format > > = pure_list (empty_unibyte_string, > > build_pure_c_string ("GNU Emacs at "), > > intern_c_string ("system-name")); > > > > This code is in xdisp.c. The change I propose removes the "%b - " > > part from the argument to build_pure_c_string.