unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Colin Horne <colin@cdfh.org.uk>
To: 41719@debbugs.gnu.org
Subject: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is
Date: Sat, 11 Jun 2022 14:46:48 +0100	[thread overview]
Message-ID: <CAHDf39S9inTauwgfkKcgYbv1jM-cnQmaOcgBQLrBFB1KgupZvQ@mail.gmail.com> (raw)
In-Reply-To: <CAHDf39Q7qEQTY6fAubO-H4fao4yVYTJ0LZcvuB2GQYOHcRmD5A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]

Just to confirm, I've also verified this against GTK+ Version 3.24.34:

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34,
 cairo version 1.16.0) of 2022-06-11

Emacs is built as follows:
./configure'
'--prefix=/home/hdiags/hdiags/spack/spack/opt/spack/linux-ubuntu20.04-skylake/gcc-11.3.0/emacs-master-tvikd2njjgseq47ywpa5zrlksnz3pylz'
'--with-x' '--with-x-toolkit=gtk' '--with-gnutls'

For avoidance of doubt, the issue still occurs when the emacs is started as:

  # No server currently running
  emacs -q --fg-daemon
  emacsclient -F '((name . "foobar") (title . "foobar-title"))'
--create-frame

xprop reports:

WM_CLASS(STRING) = "emacs", "Emacs"
WM_ICON_NAME(STRING) = "foobar"
_NET_WM_ICON_NAME(UTF8_STRING) = "foobar-title"
WM_NAME(STRING) = "foobar-title"
_NET_WM_NAME(UTF8_STRING) = "foobar-title"

Using a previous version of emacs (26.3), the same steps produce:

WM_CLASS(STRING) = "foobar", "Emacs"



On Sat, 11 Jun 2022 at 14:00, Colin Horne <colin@cdfh.org.uk> wrote:

> > I'm unable to reproduce this on the current trunk (x86_64-pc-linux-gnu,
> > GTK+ Version 3.24.31, Debian/bookworm).
> >
> > Do you still see this issue on the current trunk?
>
> I can confirm that this is still an issue on trunk.
>
> My Emacs welcome screen says:
>
> GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29,
>  cairo version 1.16.0) of 2022-06-11
>
> Invoked as:
>
>   emacsclient -F '((name . "foobar") (title . "foobar-title"))'
> --create-frame -a ""
>
> xprop reports:
>
> WM_CLASS(STRING) = "emacs", "Emacs"
> WM_ICON_NAME(STRING) = "foobar"
> _NET_WM_ICON_NAME(UTF8_STRING) = "foobar-title"
> WM_NAME(STRING) = "foobar-title"
> _NET_WM_NAME(UTF8_STRING) = "foobar-title"
>
> This affects me in that I run simultaneous emacs instances as two
> different users and have different icons configured for the
> different users. Now that I can't change WM_CLASS, both emacs instances
> appear under the same icon under my desktop manager, which is very
> frustrating.
>
> Cheers,
>   Colin
>

[-- Attachment #2: Type: text/html, Size: 3109 bytes --]

  reply	other threads:[~2022-06-11 13:46 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05  3:09 bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Vladimir Lomov
2020-06-05 11:14 ` Basil L. Contovounesios
2020-06-05 16:53   ` Vladimir Lomov
2020-06-06 12:36 ` Dmitry Alexandrov
2020-06-06 14:52   ` Vladimir Lomov
2020-06-06 17:08     ` Dmitry Alexandrov
2020-06-06 18:24       ` Dmitry Alexandrov
2020-06-07 14:26         ` bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk328.0.50 (Was: [FR] emacsclient should provide '--name' option as emacs) Vladimir Lomov
2020-06-07 16:15           ` bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 Dmitry Alexandrov
2020-06-09  7:12             ` Vladimir Lomov
2022-02-10  7:17         ` Lars Ingebrigtsen
2022-03-12 22:45           ` Lars Ingebrigtsen
2022-06-11 13:00 ` bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is Colin Horne
2022-06-11 13:46   ` Colin Horne [this message]
2022-06-12  5:10 ` bug#41719: 28.0.50; [FR] emacsclient should provide '--name' option as emacs Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12  6:32   ` Eli Zaretskii
2022-06-12  6:40     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12  7:03       ` Eli Zaretskii
2022-06-12  7:06         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12  7:26           ` Eli Zaretskii
2022-06-12  7:52         ` Visuwesh
2022-06-12  8:00           ` Eli Zaretskii
2022-06-12  8:47             ` Visuwesh
2022-06-12  8:02           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12  8:20             ` Andreas Schwab
2022-06-12  8:49             ` Visuwesh
2022-06-12  8:27           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-12  8:54             ` Visuwesh
2022-06-12  9:11               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14  3:04         ` Vladimir Lomov
2022-06-14  4:13           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14  6:00             ` Vladimir Lomov
2022-06-14  6:19               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14 11:23           ` Eli Zaretskii

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=CAHDf39S9inTauwgfkKcgYbv1jM-cnQmaOcgBQLrBFB1KgupZvQ@mail.gmail.com \
    --to=colin@cdfh.org.uk \
    --cc=41719@debbugs.gnu.org \
    /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).