From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Hoo Newsgroups: gmane.emacs.bugs Subject: bug#16574: 24.3.50; icon not shown on the splash screen (mac osx) Date: Tue, 28 Jan 2014 12:54:46 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c23f34947f8204f1009f84 X-Trace: ger.gmane.org 1390884910 3132 80.91.229.3 (28 Jan 2014 04:55:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2014 04:55:10 +0000 (UTC) Cc: 16574@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 28 05:55:17 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 1W80hg-00056W-EN for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 05:55:16 +0100 Original-Received: from localhost ([::1]:35293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W80hf-0004Lx-O7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jan 2014 23:55:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W80hY-0004LV-6D for bug-gnu-emacs@gnu.org; Mon, 27 Jan 2014 23:55:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W80hT-0005yI-8L for bug-gnu-emacs@gnu.org; Mon, 27 Jan 2014 23:55:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W80hT-0005xC-4v for bug-gnu-emacs@gnu.org; Mon, 27 Jan 2014 23:55:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W80hS-0001Q8-Db for bug-gnu-emacs@gnu.org; Mon, 27 Jan 2014 23:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Darren Hoo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jan 2014 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16574-submit@debbugs.gnu.org id=B16574.13908848895440 (code B ref 16574); Tue, 28 Jan 2014 04:55:02 +0000 Original-Received: (at 16574) by debbugs.gnu.org; 28 Jan 2014 04:54:49 +0000 Original-Received: from localhost ([127.0.0.1]:38622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W80hF-0001Pf-Ap for submit@debbugs.gnu.org; Mon, 27 Jan 2014 23:54:49 -0500 Original-Received: from mail-wg0-f54.google.com ([74.125.82.54]:33044) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W80hD-0001PX-Gc for 16574@debbugs.gnu.org; Mon, 27 Jan 2014 23:54:48 -0500 Original-Received: by mail-wg0-f54.google.com with SMTP id x13so6759084wgg.21 for <16574@debbugs.gnu.org>; Mon, 27 Jan 2014 20:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8GFCVGwajAp2m8EX6tK+o1kt9coN0clZRcVLssvrhvY=; b=pHD99bj5B2GiGKgP7dElQfG9+MnTsrRxtNFq/BtGW1IySCl6yilHVj4ORf3BYVJaSD jhz//ejErqf0i7y6R38MkHOk8E1prtalrLtop89cWP9c4TXsyxG2H4tsaO9rtHNDEA4L v77wcFenUwn162vfTqh2nqmrmKI0ct7FvHKMgdmRS0ZB695tFsf3b8mqw79s0ra592/e 8TFLAr9w7sxjVDZJyWs69yRz6jWTJoZMAPlOVCLmA3zJ9S9ja45l4f7R+fdBCk+LPz21 bW2pk5wUWxNImx0WKuLqpIAkptcF6wEWXDio7n10HkDmmvNGW7aiU6jdiMpJqL0A7fk3 UiZw== X-Received: by 10.180.12.115 with SMTP id x19mr4539056wib.19.1390884886444; Mon, 27 Jan 2014 20:54:46 -0800 (PST) Original-Received: by 10.194.104.231 with HTTP; Mon, 27 Jan 2014 20:54:46 -0800 (PST) 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:84154 Archived-At: --001a11c23f34947f8204f1009f84 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 28, 2014 at 10:54 AM, Glenn Morris wrote: > Darren Hoo wrote: > > > open /Applications/Emacs.app --args -q > > > > the emacs icon on the fancy splash screen (*GNU Emacs*) is missing, try > to > > increase the frame size a little bit then press `c-h c-a', the icon is > back, > > however if decrease the frame size to some size less or equal to the > initial > > startup size and press `c-h c-a' the icon is lost again. > > I don't think this is a bug, and AFAIK it has been like this for some time. > The image is not shown if the frame seems to be too small. > See use-fancy-splash-screens-p. > OK, I see. Though use-fancy-splash-screens-p is not strictly correct on this. If I force it to use splash screen: (defun use-fancy-splash-screens-p () t) And examine these values of the splash screen on the initial startup frame: (window-pixel-height) => 476 (cdr (window-text-pixel-size (selected-window) nil nil nil nil t)) ; include mode-line => 462 it has plenty room for display. --001a11c23f34947f8204f1009f84 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Tue, Jan 28, 2014 at 10:54 AM, Glenn Morris &l= t;rgm@gnu.org> wrote:
Darren Hoo wrote:

> open /Applications/Emacs.app --args -q
>
> the emacs icon on the fancy splash screen (*GNU Emacs*) is missing, tr= y to
> increase the frame size a little bit then press `c-h c-a', the ico= n is back,
> however if decrease the frame size to some size less or equal to the i= nitial
> startup size and press `c-h c-a' the icon is lost again.

I don't think this is a bug, and AFAIK it has been like this for some t= ime.
The image is not shown if the frame seems to be too small.
See use-fancy-splash-screens-p.

OK, I see.
Though use-fancy-splash-screens-p is not strictly c= orrect on this.
If =A0I force it to use= splash screen:

(defu= n use-fancy-splash-screens-p () t)

=
And examine these values of the splash scr= een on the initial startup=A0
frame:

(window-pixel-height= )
=A0=3D> 476

(cdr (window-text-pixel-size
=A0 =A0 =A0 (selected-window) nil nil nil nil t)) ; include mo= de-line
=A0=3D> 462

=
it has plenty room for display.
--001a11c23f34947f8204f1009f84--