all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "N. Jackson" <nljlistbox2@gmail.com>
Cc: 25851@debbugs.gnu.org
Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame
Date: Mon, 27 Feb 2017 09:04:40 +0100	[thread overview]
Message-ID: <58B3DD98.6050701@gmx.at> (raw)
In-Reply-To: <8760jwmkym.fsf@moondust.localdomain>

 > With a desktop file specifying three frames, there seem to be two
 > calls to `make-frame-on-display' (when the second and third frames
 > are created). Each call ultimately results in one of the reported
 > GTK warning messages.
 >
 > Detailed backtraces at these two calls to `make-frame-on-display'
 > are attached.

Thanks.  Please try now with a small init file containing a ‘make-frame’
call with the parameters from these attachments.  For your first entry
I'd suggest to start with bisecting the parameter list in calls like

(make-frame
  '((font-backend xft x)
    (font . "-Bits-Bitstream Vera Sans Mono-normal-normal-normal-*-11-*-*-*-m-0-iso10646-1")
    (font-parameter)
    (border-width . 0)
    (internal-border-width . 0)
    (right-divider-width . 0)
    (bottom-divider-width . 0)
    (vertical-scroll-bars . right)
    (horizontal-scroll-bars)
    (foreground-color . "wheat")
    (background-color . "black")
    (mouse-color . "black")
    (border-color . "black")
    (screen-gamma)
    (line-spacing)
    (left-fringe . 8)
    (right-fringe . 0)
    (scroll-bar-foreground)
    (scroll-bar-background)
    (menu-bar-lines . 0)
    (tool-bar-lines . 0)
    (title)
    (wait-for-wm . t)
    (tool-bar-position . top)
    (icon-type . t)
    (auto-raise)
    (auto-lower)
    (cursor-type . box)
    (scroll-bar-width . 16)
    (scroll-bar-height . 0)
    (alpha)
    (fullscreen . fullboth)
    (display-type . color)
    (background-mode . dark)
    (cursor-color . "thistle")
    (visibility . t)
    (sticky)
    (frameset--id . "8B00-9439-83D1-B48B")
    (frameset--mini t)
    (modeline . t)
    (minibuffer . t)
    (unsplittable)
    (icon-name)
    (display . ":0")
    (explicit-name)
    (fullscreen-restore . maximized)
    (height . 59)
    (width . 191)
    (left . 0)
    (top . 0)))

Everything contained in these

  (((min-height . 4)
    (min-width . 21)
    (min-height-ignore . 2)
    (min-width-ignore . 21)
    (min-height-safe . 1)
    (min-width-safe . 4)
    (min-pixel-height . 52)
    (min-pixel-width . 147)
    (min-pixel-height-ignore . 26)
    (min-pixel-width-ignore . 147)
    (min-pixel-height-safe . 13)
    (min-pixel-width-safe . 28))
   hc
   (pixel-width . 1366)
   (pixel-height . 755)
   (total-width . 195)
   (total-height . 58)
   (normal-height . 1.0)
   (normal-width . 1.0)
   (combination-limit)
   (leaf
    (pixel-width . 686)
    (pixel-height . 755)
    (total-width . 98)
    (total-height . 58)
    (normal-height . 1.0)
    (normal-width . 0.5034246575342466)
    (buffer "gtkutil.c"
	   (selected . t)
	   (hscroll . 0)
	   (fringes 8 0 nil)
	   (margins 4)
	   (scroll-bars nil 3 t nil 0 t)
	   (vscroll . 0)
	   (dedicated)
	   (point . 25202)
	   (start . 23482)))
   (leaf
    (last . t)
    (pixel-width . 680)
    (pixel-height . 755)
    (total-width . 97)
    (total-height . 58)
    (normal-height . 1.0)
    (normal-width . 0.4965753424657534)
    (buffer "gtkwindow.c"
	   (selected)
	   (hscroll . 0)
	   (fringes 8 0 nil)
	   (margins 5)
	   (scroll-bars nil 3 t nil 0 t)
	   (vscroll . 0)
	   (dedicated)
	   (point . 346800)
	   (start . 346686))))

that is stuff prefixed by min-, hc, vc and leaf is hopefully irrelevant.
The following

  ((background-color . frameset-filter-sanitize-color)
   (buffer-list . :never)
   (buffer-predicate . :never)
   (buried-buffer-list . :never)
   (font . frameset-filter-shelve-param)
   (foreground-color . frameset-filter-sanitize-color)
   (fullscreen . frameset-filter-shelve-param)
   (GUI:font . frameset-filter-unshelve-param)
   (GUI:fullscreen . frameset-filter-unshelve-param)
   (GUI:height . frameset-filter-unshelve-param)
   (GUI:width . frameset-filter-unshelve-param)
   (height . frameset-filter-shelve-param)
   (outer-window-id . :never)
   (parent-id . :never)
   (tty . frameset-filter-tty-to-GUI)
   (tty-type . frameset-filter-tty-to-GUI)
   (width . frameset-filter-shelve-param)
   (window-id . :never)
   (window-system . :never)
   (name . :never)
   (left . frameset-filter-iconified)
   (minibuffer . frameset-filter-minibuffer)
   (top . frameset-filter-iconified))

might be relevant but if so we have to consult Juanma how to extract
useful information from it.

IIUC you saved two frames.  Please try whether you can reproduce the
problem with one frame only.  If not, you need two ‘make-frame’ calls.

Thanks again, martin






  reply	other threads:[~2017-02-27  8:04 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 16:08 bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame N. Jackson
2017-02-23 16:24 ` Eli Zaretskii
2017-02-24  2:33   ` N. Jackson
2017-02-24  8:07     ` Eli Zaretskii
2017-02-24 13:41       ` N. Jackson
2017-02-24 13:53         ` N. Jackson
2017-02-24 14:10         ` Eli Zaretskii
2017-02-24 16:09           ` N. Jackson
2017-02-24 20:28             ` N. Jackson
2017-02-25  8:17               ` Eli Zaretskii
2017-02-26 22:41                 ` N. Jackson
2017-02-27  0:31                   ` N. Jackson
2017-02-27 16:18                     ` Eli Zaretskii
2017-02-27 18:26                       ` N. Jackson
2017-02-27 18:37                         ` Eli Zaretskii
2017-02-28  9:46                         ` martin rudalics
2017-03-01 20:05                           ` N. Jackson
2017-03-23  8:00                             ` martin rudalics
2017-03-23 14:11                               ` N. Jackson
2017-03-24  9:01                                 ` martin rudalics
2017-03-24 20:28                                   ` N. Jackson
2017-03-25  6:26                                     ` Eli Zaretskii
2017-03-28 13:15                                       ` N. Jackson
2017-03-29  7:36                                         ` martin rudalics
2017-03-25  9:25                                     ` martin rudalics
2017-04-27 19:28                                     ` N. Jackson
2017-04-11  6:49                                   ` martin rudalics
2017-04-27 19:55                                     ` N. Jackson
2017-04-29 10:30                                       ` martin rudalics
2017-04-29 19:32                                         ` N. Jackson
2017-04-30  8:32                                           ` martin rudalics
2017-04-30 16:13                                             ` N. Jackson
2017-04-30 19:36                                               ` martin rudalics
2017-02-28  9:46                       ` martin rudalics
2017-02-28 15:51                         ` Eli Zaretskii
2017-02-28 18:42                           ` martin rudalics
2017-02-28 18:50                             ` Eli Zaretskii
2017-03-01  8:29                               ` martin rudalics
2017-03-01 16:18                                 ` Eli Zaretskii
2017-03-01 19:36                                   ` martin rudalics
2017-03-01 19:47                                     ` Eli Zaretskii
2017-03-01 20:11                                       ` Eli Zaretskii
2017-03-02 11:00                                       ` martin rudalics
2017-03-02 15:09                                         ` Eli Zaretskii
2017-03-02 17:57                                           ` martin rudalics
2017-03-02 20:10                                             ` Eli Zaretskii
2017-03-03  8:13                                               ` martin rudalics
2017-03-03  8:25                                                 ` Eli Zaretskii
2017-03-01 20:16                                     ` N. Jackson
2017-03-03  8:13                                       ` martin rudalics
2017-03-03 13:05                                         ` N. Jackson
2017-03-03 14:24                                           ` martin rudalics
2017-03-06 18:25                                             ` N. Jackson
2017-03-06 18:44                                               ` martin rudalics
2017-02-25  8:21               ` martin rudalics
2017-02-26 22:47                 ` N. Jackson
2017-02-27  2:22                   ` N. Jackson
2017-02-27  8:04                     ` martin rudalics [this message]
2017-02-27 17:56                       ` N. Jackson
2017-02-28  9:46                         ` martin rudalics
2017-02-25  7:55             ` Eli Zaretskii
2017-02-26 22:09               ` N. Jackson
2017-03-23  7:59 ` martin rudalics
2017-03-23 13:47   ` Drew Adams
2017-03-23 14:34     ` N. Jackson
2017-03-24  9:01     ` martin rudalics
2017-03-24 20:37       ` N. Jackson
2017-03-25  9:25         ` martin rudalics
2017-03-23 15:24   ` Eli Zaretskii
2017-03-24  9:02     ` martin rudalics
2017-04-27 19:45 ` N. Jackson
2017-04-27 19:52   ` Noam Postavsky
2017-04-28 14:15     ` N. Jackson
2017-04-28 14:25   ` N. Jackson
2017-09-25 16:31 ` N. Jackson

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=58B3DD98.6050701@gmx.at \
    --to=rudalics@gmx.at \
    --cc=25851@debbugs.gnu.org \
    --cc=nljlistbox2@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.