From: Eli Zaretskii <eliz@gnu.org>
To: Darren Hoo <darren.hoo@gmail.com>
Cc: 16574@debbugs.gnu.org
Subject: bug#16574: 24.3.50; icon not shown on the splash screen (mac osx)
Date: Tue, 28 Jan 2014 17:50:47 +0200 [thread overview]
Message-ID: <83ppnc85rc.fsf@gnu.org> (raw)
In-Reply-To: <CAJ+QY_FyD7w+k0Bm4ek1snFr+Uh4nvhGqAqD7Z0SSCWK6tnG_g@mail.gmail.com>
> Date: Tue, 28 Jan 2014 12:54:46 +0800
> From: Darren Hoo <darren.hoo@gmail.com>
> Cc: 16574@debbugs.gnu.org
>
> > 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.
How do you deduce that this is enough? splash.xpm needs 217 pixels on
my system, and use-fancy-splash-screens-p reserves 19 more lines for
text, which on my system need 19 x 16 = 304 more pixels. The sum is
greater than either 462 or 476, so it sounds to me like
use-fancy-splash-screens-p is right. (On my system, the window is 528
pixel high, which is indeed greater than 217 + 304.)
next prev parent reply other threads:[~2014-01-28 15:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-28 2:49 bug#16574: 24.3.50; icon not shown on the splash screen (mac osx) Darren Hoo
2014-01-28 2:54 ` Glenn Morris
2014-01-28 4:54 ` Darren Hoo
2014-01-28 15:50 ` Eli Zaretskii [this message]
2014-01-28 23:52 ` Darren Hoo
2014-01-29 3:45 ` Eli Zaretskii
2014-01-31 2:01 ` Glenn Morris
2014-01-31 3:25 ` Darren Hoo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ppnc85rc.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=16574@debbugs.gnu.org \
--cc=darren.hoo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.