GNU bug report logs - #41719
28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3

Previous Next

Package: emacs;

Reported by: Vladimir Lomov <lomov.vl <at> yandex.ru>

Date: Fri, 5 Jun 2020 03:11:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vladimir Lomov <lomov.vl <at> yandex.ru>
To: Dmitry Alexandrov <dag <at> gnui.org>
Cc: 41719 <at> debbugs.gnu.org
Subject: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3
Date: Tue, 9 Jun 2020 15:12:53 +0800
[Message part 1 (text/plain, inline)]
Hello,
** Dmitry Alexandrov <dag <at> gnui.org> [2020-06-07 19:15:40 +0300]:

> Vladimir Lomov <lomov.vl <at> yandex.ru> wrote:

>> So, emacsclient with -F

> (make-frame '((name . "NAME"))), actually.

>> should change 'instance' but when Emacs is build with GTK/GTK3 emacs
>> doesn't change it. Do I correctly understand this?

> Only with GTK3.  GTK2 is fine as well.

>> Is it mean that this is a bug?

> If a missing feature, that is present on a slightly different platform, is a
> bug. Itʼs not necessary a bug in Emacs, though. Maybe, besides declaring a
> ability to set a window class deprecated [1], GTK developers had actually
> broken it.

> [1] <https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-wmclass>:

> |	gtk_window_set_wmclass has been deprecated since version 3.22 and should not be used in newly-written code.
> |
> | Don’t use this function. It sets the X Window System “class” and “name”
> | hints for a window. According to the ICCCM, you should always set these to
> | the same value for all windows in an application, and GTK+ sets them to that
> | value by default, so calling this function is sort of pointless. However,
> | you may want to call gtk_window_set_role() on each window in your
> | application, for the benefit of the session manager. Setting the role allows
> | the window manager to restore window positions when loading a saved session.

So, this is dead-end but I'm glad that 'role' is still kept. Is it possible to
implement this ('role' instead of 'instance') in gtk backend and in
emacsclient?

---
WBR, Vladimir Lomov

-- 
Double Bucky, you're the one,
You make my keyboard so much fun,
Double Bucky, an additional bit or two, (Vo-vo-de-o)
Control and meta, side by side,
Augmented ASCII, 9 bits wide!
Double Bucky, a half a thousand glyphs, plus a few!

Oh, I sure wish that I,
Had a couple of bits more!
Perhaps a set of pedals to make the number of bits four.

Double Double Bucky!  Double Bucky left and right
OR'd together, outta sight!
Double Bucky, I'd like a whole word of,
Double Bucky, I'm happy I heard of,
Double Bucky, I'd like a whole word of you!
		-- to Nicholas Wirth, who suggested that an extra bit
		be added to terminal codes on 36-bit machines for use
		by screen editors.  [to the tune of "Rubber Ducky"]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 59 days ago.

Previous Next


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