From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs 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 Message-ID: <87efxme7w9.fsf@moondust.localdomain> References: <87a89c51qb.fsf@moondust.localdomain> <831suoub86.fsf@gnu.org> <87lgswmi6a.fsf@moondust.localdomain> <83vas0rozb.fsf@gnu.org> <87k28fso3o.fsf@moondust.localdomain> <83o9xrsmrd.fsf@gnu.org> <874lzjsh8t.fsf@moondust.localdomain> <87y3wvqqos.fsf@moondust.localdomain> <83fuj2smzr.fsf@gnu.org> <87wpccmv71.fsf@moondust.localdomain> <87d1e4mq48.fsf@moondust.localdomain> <83innvppz4.fsf@gnu.org> <874lzfwkv0.fsf@moondust.localdomain> <58B54703.7060103@gmx.at> <87h93ciwyt.fsf@moondust.localdomain> <58D38082.8050104@gmx.at> <87h92kxeuu.fsf@moondust.localdomain> <58D4E07C.8010504@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490387416 30585 195.159.176.226 (24 Mar 2017 20:30:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Mar 2017 20:30:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25851@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 24 21:30:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crVqY-00075l-3C for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Mar 2017 21:30:06 +0100 Original-Received: from localhost ([::1]:34854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crVqd-0004go-SE for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Mar 2017 16:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crVqY-0004eH-3S for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 16:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crVqU-0000D1-Od for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 16:30:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crVqU-0000Ck-M4 for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 16:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1crVqU-0000EB-D0 for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Mar 2017 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25851-submit@debbugs.gnu.org id=B25851.1490387353786 (code B ref 25851); Fri, 24 Mar 2017 20:30:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 24 Mar 2017 20:29:13 +0000 Original-Received: from localhost ([127.0.0.1]:42839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crVpg-0000Cb-TN for submit@debbugs.gnu.org; Fri, 24 Mar 2017 16:29:13 -0400 Original-Received: from mail-it0-f67.google.com ([209.85.214.67]:33444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crVpf-0000CJ-7v for 25851@debbugs.gnu.org; Fri, 24 Mar 2017 16:29:11 -0400 Original-Received: by mail-it0-f67.google.com with SMTP id 76so249118itj.0 for <25851@debbugs.gnu.org>; Fri, 24 Mar 2017 13:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ak19nGnANqTV2TQfFsglSZ58SJpo1+uarThPmDiBlFs=; b=epyUDClsAn3iYBLRC0PFEVz3ukETJxU6sJJsJ6xHjXPm1DmAHG2S76KFrA75sPWT24 Scz42APlNkV1Dcffxi/oZSSgEC8OzNkwr6mE6QJij5xVpo8+svyY9HqeC2QwGykWda00 xBTGXWatYFIIVBdIrvdr0JdjFPidEhKLNTjxvE+/2/CNZSs/jHWjwwDZH/u61Ymo7O8N de6u05oJCkEm6xoHV+wf9dPTuxMPq/8eYDFi+ni3cmnyew7xxdwIloL0C8nITVcJoklc M4NZiqlKPCYnvOzcadoJO5EhOo8aHYWw3otnPX/35DG7ZJBYenQj7aCYRPb+CnmXg5AM XinQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ak19nGnANqTV2TQfFsglSZ58SJpo1+uarThPmDiBlFs=; b=HBg30nL0rVBOoz/qUTWmt7VvgnBft43FpQerRkhZ584Szo6/Nb797jt2m1GJclBYN1 z9awF8EoxNXrz4EFqBoA+2syYajSyurKa68G1hlnQmB13JVHyf87Bc5+QAXiRxWLYE2a XGyTNMf5Y++ibkW4TFL7K3rvQzsRywtP5Cs4uXtAtQibMN4gA4L7cTI2Rmw2qYIzutXK 4ihXPMwRWmCMxUmk7hUuUC17UjWhWzeI38K1vwHN85y5RCJaH+a0Zy3iH1h5ciPxtleq p0MVIpFFWT61fVJ7QEAXPSFqLzyxBHB26gPLIoyoOSC0E5yUo1SoiwTW4+rxzA+Jc5i6 jPeQ== X-Gm-Message-State: AFeK/H2oF3QVyrbMG6iTomAhX1EPPx2FL4K0K+0XsOMFIqF+uLxH0PfQYZFeXheqKMx/xw== X-Received: by 10.36.19.8 with SMTP id 8mr5116017itz.2.1490387345533; Fri, 24 Mar 2017 13:29:05 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none ([205.189.187.4]) by smtp.gmail.com with ESMTPSA id k66sm1478045itg.8.2017.03.24.13.29.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Mar 2017 13:29:04 -0700 (PDT) In-Reply-To: <58D4E07C.8010504@gmx.at> (martin rudalics's message of "Fri, 24 Mar 2017 10:01:48 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:130891 Archived-At: 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.