unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: martin rudalics <rudalics@gmx.at>
Cc: 25851@debbugs.gnu.org
Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame
Date: Fri, 24 Mar 2017 16:28:54 -0400	[thread overview]
Message-ID: <87efxme7w9.fsf@moondust.localdomain> (raw)
In-Reply-To: <58D4E07C.8010504@gmx.at> (martin rudalics's message of "Fri, 24 Mar 2017 10:01:48 +0100")

Hi Martin,

At 10:01 +0100 on Friday 2017-03-24, martin rudalics wrote:
>
> Meanwhile please try my patch.  If after a week or so you don't see any
> troubles I intend to make it the default.

Sorry for the delay. I haven't used master for a while and it doesn't
like my init file. I've been spending my time on troubleshooting
that. But now I have things mostly up and running.

1. I am currently running master from earlier today which includes
your patch from the 23rd (commit
fe3af8d4f2a4cd67958f76d1b708e8a78e68cd4f) which I assume is the
one you want me to test?

2. I have not applied your proposed definition of
`xg_set_geometry' from Message #122
(https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25851#122). [But I
still have that in my 25.2 rc2 Emacs, which is currently my
everyday Emacs.]

3. I have put

  (setq x-gtk-use-window-move t)

in the working part of my init file [the rest of my init file --
about 10% of it -- is commented out right now].

4. In my desktop file I have three frames specified each with
a distinctive size and position.

The result is that:

- Frames are successfully restored to their former size and
position.

- No GTK warning messages are being emitted.

However:

- When I switch between frames using the window manager Alt-tab
window switching, there is a big flash almost every time when an
Emacs frame is displayed. I've never seen this problem before.
(Occasionally I've seen a single line of the display flicker while
scrolling, but I've never seen Emacs make the whole screen flash
like this before.)

[The flash is too fast to describe other than to say it is light
in colour and appears to be horizontal, almost as if there is a
white or grey highlight being applied randomly to about half the
lines in the frame and then turned off again.]

[This was after I'd maximized the three frames so that I could use
them, rather than when they were the smaller size at which they
were specified in the desktop file I tested with. I tried
restoring them down to their previous size and didn't see the
flash, then maximised them again and the flashing was back. I
suppose that the flashing might also be happening when they're
small but that my eye isn't fast enough to detect it; not sure.]

Of course this flashing might be unrelated, it might be due to a
change elsewhere in master.


The display antics at startup are slightly different but still
there. The sequence seems to be (with three frames in my desktop
file with distinctive sizes and positions):

a) A largish light-colour-scheme frame is displayed.

b) It shrinks but is still a light colour scheme. (Presumably my
default font is applied here.)

c) It changes to a dark colour scheme. (Presumably my colour
scheme is being applied here.)

d) It sits there for a bit with the various startup messages
appearing in the echo area.

e) It disappears and the three frames in my init file appear.
(Alternative explanation: It changes its size and position to that
of one of the frames in my init file, and the other two frames
from my init file are displayed.)

These antics are different from with Emacs 25 where I never see a
light-colour-scheme frame unless I start with `-Q'.

I hope this helps. Please let me know if you have further
questions for me.

N.






  reply	other threads:[~2017-03-24 20:28 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efxme7w9.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=25851@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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 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).