GNU bug report logs - #30695
25.2; Why is emacsclient frame "invisible"?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Live System User <nyc4bos@HIDDEN>; Keywords: moreinfo; dated Sun, 4 Mar 2018 14:41:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 30695 <at> debbugs.gnu.org:


Received: (at 30695) by debbugs.gnu.org; 6 Mar 2018 13:48:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 06 08:48:46 2018
Received: from localhost ([127.0.0.1]:46927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1etCxR-0007BI-T6
	for submit <at> debbugs.gnu.org; Tue, 06 Mar 2018 08:48:46 -0500
Received: from mail-it0-f46.google.com ([209.85.214.46]:34929)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1etCxQ-0007B5-6B
 for 30695 <at> debbugs.gnu.org; Tue, 06 Mar 2018 08:48:44 -0500
Received: by mail-it0-f46.google.com with SMTP id v194so14798165itb.0
 for <30695 <at> debbugs.gnu.org>; Tue, 06 Mar 2018 05:48:44 -0800 (PST)
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=fIwrozHELnWaUPGOleEWQN2zjNCjkSqxRmTPNlW3gXY=;
 b=NL+45fY4OFKFp83hxtL+iVzvwKQjy15VQiYbb6RJydApEQ6Fm887NZRDG6EZcv2Kyc
 IqoDrsoEiwt8Yh3JbSYMmuEDWetksL2EoUYpaX4yuRQs/SGFFgGCqe1jJzXJFDBs6Cbv
 Txpxlp4HImTY82/GnQP9vIKvYOBhYAbko9xnLhQJtCciA+BA62bqGt3XaY6ygrZag7vF
 d7WlgWjFR9uGbmZ71LN6Ba0LpEAWaMo8uhH6X9WFF/8oaRCQC2HcCvwjeRvJaLvBVPzm
 gQDzsSR+jT9LqILFnD0fPObmAoLnTFZ9BtPK2K9kvPi92bY3jZlBWWbsMySZ2q/ODlaU
 xHGg==
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=fIwrozHELnWaUPGOleEWQN2zjNCjkSqxRmTPNlW3gXY=;
 b=q54acAECWtmSezHxcCeGm/A1VwlNvJu5re1mnghbqc8Kj0OYCqrfHgGpYUBLETRyOL
 Md5MCWmTdHElsXnMnMBBBSf8Cnj7nt1NeWmzC64eEeXMKbxu5lWvKlY55pUMincTbyQ/
 SKxX29WyaB6pLUT0m6+ZNqzP2+MTqfO4o66WQ1WLOE0Cyk1X8Q3Rkd3o4ZBUFKpogJDY
 49s4CNXFr01RGsnsvPXO/WQ8CjiYvtJiPLtjva5THwtcQ86mFot6nbbxh9hz9eEXZIDT
 tSRFC3Hz/RIVDl1nAc2r7UdykBbM/Qe8KlKHfa6BceGtf0YEbjunGyKVKYBnaNcgXvOA
 y0bw==
X-Gm-Message-State: AElRT7GqcXsuuB9f1yNmcgu4ll11DJ9QSx8KOm1eyKQAktqJ/oW0/3NX
 F6T3JssmWr+VG+BdVb2adHkjlQ==
X-Google-Smtp-Source: AG47ELtvdcV6VHp5aI5+SiRAbMQLAEsl6TUD7pVT+4AHye+6kyoVcv+qjbL8EpuTkWJMXdbqV9/M8g==
X-Received: by 10.36.163.193 with SMTP id p184mr19671515ite.9.1520344118415;
 Tue, 06 Mar 2018 05:48:38 -0800 (PST)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 m32sm5551190iti.3.2018.03.06.05.48.37
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 06 Mar 2018 05:48:37 -0800 (PST)
From: Noam Postavsky <npostavs@HIDDEN>
To: Live System User <nyc4bos@HIDDEN>
Subject: Re: bug#30695: 25.2; Why is emacsclient frame "invisible"?
References: <87a7vnvr8m.fsf@HIDDEN>
Date: Tue, 06 Mar 2018 08:48:36 -0500
In-Reply-To: <87a7vnvr8m.fsf@HIDDEN> (Live System User's message of "Sun, 04
 Mar 2018 09:40:25 -0500")
Message-ID: <871sgx2u2z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30695
Cc: 30695 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Live System User <nyc4bos@HIDDEN> writes:

>         While having an Emacs daemon running, i created an Emacs client
>         via "emacsclient -c file`.txt".  I then switched to a different
>         (GTK3) workspace and from a terminal there I attempted to
>         create another Emacs client via "emacsclient -c file2.txt".  I
>         did not see a newly created Emacs client frame in this
>         workspace.

Is Emacs burning CPU while this is happening?

Does this only happen when opening a frame through emacsclient?  E.g.,
if you evaluate

    (progn (sleep-for 3) (make-frame))

and then quickly switch to another workspace, do you see similar
behaviour?

>         This is probably a window manager glitch that Emacs
>         can't do alot about except maybe the following:
>
>         1.  Provide a way for users to specify which
>             workspaces to create Emacs client frames on
>             and, optionally default to the "current" workspace
>
>         2.  Optionally. switch to that workspace

I don't think Emacs can do either of these, since workspaces are a
window manager-specific concept.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30695; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Mar 2018 14:40:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 04 09:40:43 2018
Received: from localhost ([127.0.0.1]:43565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1esUoc-0002Fa-Ri
	for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 09:40:43 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42557)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nyc4bos@HIDDEN>) id 1esUoa-0002FN-TI
 for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 09:40:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nyc4bos@HIDDEN>) id 1esUoU-000836-EY
 for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 09:40:35 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36482)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nyc4bos@HIDDEN>) id 1esUoU-00082w-Aw
 for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 09:40:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33520)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nyc4bos@HIDDEN>) id 1esUoS-0008Ki-9W
 for bug-gnu-emacs@HIDDEN; Sun, 04 Mar 2018 09:40:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nyc4bos@HIDDEN>) id 1esUoP-000825-0B
 for bug-gnu-emacs@HIDDEN; Sun, 04 Mar 2018 09:40:32 -0500
Received: from omr-m020e.mx.aol.com ([204.29.186.20]:41410)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nyc4bos@HIDDEN>) id 1esUoO-00081u-Q0
 for bug-gnu-emacs@HIDDEN; Sun, 04 Mar 2018 09:40:28 -0500
Received: from mtaout-maa02.mx.aol.com (mtaout-maa02.mx.aol.com
 [172.26.222.142])
 by omr-m020e.mx.aol.com (Outbound Mail Relay) with ESMTP id 5667938000A3
 for <bug-gnu-emacs@HIDDEN>; Sun,  4 Mar 2018 09:40:27 -0500 (EST)
Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net
 [73.16.70.190])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mtaout-maa02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id
 0F3063800008B
 for <bug-gnu-emacs@HIDDEN>; Sun,  4 Mar 2018 09:40:26 -0500 (EST)
From: Live System User <nyc4bos@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; Why is emacsclient frame "invisible"?
Date: Sun, 04 Mar 2018 09:40:25 -0500
Message-ID: <87a7vnvr8m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
x-aol-global-disposition: G
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
 s=20150623; t=1520174427;
 bh=HNR18vVN2vOLH1elRbQldNqeID3np6hgTEqAXlKLrVI=;
 h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
 b=4e1QRlSJjsnpgownhnUbQ+fj9GOB4zEIedDXUMLg5Gy1p15S//ZHfque6m9/xvs+Q
 ae3jYBlU6mdUfIylOaDrSLFdDvMRLipLUvBWgTr/GzP0vBR0w7yIJsHqs+xjQKIqPB
 bxeR/GWkhkJlgr7viScr4tAUZCue5ZtiQZWaEVSA=
x-aol-sid: 3039ac1ade8e5a9c055a3550
X-AOL-IP: 73.16.70.190
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


Hi,

        While having an Emacs daemon running, i created an Emacs client
        via "emacsclient -c file`.txt".  I then switched to a different
        (GTK3) workspace and from a terminal there I attempted to
        create another Emacs client via "emacsclient -c file2.txt".  I
        did not see a newly created Emacs client frame in this
        workspace.

        So the Emacs client frame is probably on the previous
        workspace?  I go to that workspace but it isn't there.  The
        terminal where I executed the "emacsclient command still has
        the "Waiting for Emacs..." message.  Using ALT-TAB (which
        shows running applications and allow you to select one) *shows*
        the name of the Emacs client frame, however, the icon/picture
        is blank in ALT-TAB and I'm unable to select it.
        Attempting to select it just chooses the Emacs client
        frame of file1.txt not file2.txt.  It's like file2.txt
        is a phantom.

        This is probably a window manager glitch that Emacs
        can't do alot about except maybe the following:

        1.  Provide a way for users to specify which
            workspaces to create Emacs client frames on
            and, optionally default to the "current" workspace

        2.  Optionally. switch to that workspace


        I'll keep the process around for a little while
        `in case any debugging info is useful.

        Thanks.
        



In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.10)
 of 2017-05-02 built on buildvm-17.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.11803000
Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets --with-modules
 build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
 --param=ssp-buffer-size=4 -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  cursor-sensor-mode: t
  gnus-desktop-notify-mode: t
  gnus-undo-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Sorting threads...done
Generating summary...done
M-s <up> is undefined
Auto-saving...done
previous-line: Beginning of buffer [8 times]
Quit [3 times]

Load-path shadows:
None found.

Features:
(shadow emacsbug sendmail gnus-dup sort gnus-cite smiley ansi-color
shr-color color shr dom subr-x browse-url mail-extr gnus-async
gnus-bcklg qp gnus-ml disp-table cursor-sensor nndraft nnmh nndoc
mm-archive jka-compr timezone url-http url-gw url-cache url-auth
url-handlers utf-7 rfc2104 nnfolder network-stream nsm starttls
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-cache
gnus-demon nntp gnus-desktop-notify easy-mmode notifications dbus xml
epa-file epa derived nnreddit mm-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core cl-macs url-vars json map
seq byte-opt bytecomp byte-compile cl-extra cconv gnus-art mm-uu mml2015
mm-view mml-smime smime dig mailcap cl gv sieve sieve-mode sieve-manage
nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source tls gnutls utf7 netrc parse-time gnus-spec gnus-int
gnus-range message dired format-spec rfc822 mml mml-sec password-cache
epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
gnus-ems wid-edit nnoo nnheader gnus-util mm-util help-fns help-mode
easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting xwidget-internal move-toolbar
gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 276246 54637)
 (symbols 48 125472 0)
 (miscs 40 183 300)
 (strings 32 107852 11777)
 (string-bytes 1 3676884)
 (vectors 16 27553)
 (vector-slots 8 939928 56036)
 (floats 8 581 558)
 (intervals 56 1226 0)
 (buffers 976 39)
 (heap 1024 56703 22010))




Acknowledgement sent to Live System User <nyc4bos@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30695; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 27 May 2018 15:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.