unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18155: 24.3.92; Honor toolBar resource *before* showing frame
@ 2014-07-30 22:27 carlosjosepita
  2014-07-31  4:51 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: carlosjosepita @ 2014-07-30 22:27 UTC (permalink / raw)
  To: 18155

The elisp reference states that:

> Emacs creates the initial frame before it reads your init file. After
> reading that file, Emacs checks initial-frame-alist, and applies the
> parameter settings in the altered value to the already created initial
> frame.

> If these settings affect the frame geometry and appearance, you'll see
> the frame appear with the wrong ones and then change to the specified
> ones. If that bothers you, you can specify the same geometry and
> appearance with X resources; those do take effect before the frame is
> created. See X Resources.

This is true except when the toolbar is visible. In this case, no matter
the value of the toolBar resource, the frame is initially shown without
a toolbar and then the geometry is modified to fit the toolbar. This
produces unpleasant visual artifacts during emacs startup.

I'm afraid that fixing this will require to add a resource to set the
toolbar position, too. I don't know how viable this is. In case it's not
desirable to implement this feature I think some remark has to be added
to the aforementioned documentation excerpt. Otherwise this is indeed a
bug, as the behavior contradicts what's documented.

Cheers
--
Carlos





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-07-31 15:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 22:27 bug#18155: 24.3.92; Honor toolBar resource *before* showing frame carlosjosepita
2014-07-31  4:51 ` Eli Zaretskii
2014-07-31  5:17   ` Carlos Pita
2014-07-31  5:53     ` Eli Zaretskii
2014-07-31  6:57       ` Jan D.
2014-07-31  7:11         ` Eli Zaretskii
2014-07-31  7:17           ` Carlos Pita
2014-07-31 11:29           ` Jan Djärv
2014-07-31 12:08             ` Eli Zaretskii
2014-07-31  8:49         ` martin rudalics
2014-07-31  9:12           ` Carlos Pita
2014-07-31 11:32             ` Jan Djärv
2014-07-31 15:52               ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).