From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Alexandrov Newsgroups: gmane.emacs.bugs Subject: bug#41719: 28.0.50; emacsclient -c -F '((name . "NAME"))' is not respected --with-x-toolkit=gtk3 Date: Sun, 07 Jun 2020 19:15:40 +0300 Message-ID: <8sgyua1f.dag@gnui.org> References: <87img65htu.fsf@smoon.bkoty.ru> <20200606145221.GC846@smoon.bkoty.ru> <20200607142652.GF846@smoon.bkoty.ru> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="52617"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41719@debbugs.gnu.org To: Vladimir Lomov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 18:18:55 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhy0c-000DeM-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 18:18:54 +0200 Original-Received: from localhost ([::1]:50802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhy0b-00021Q-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 12:18:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhxxq-0001Y0-BB for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 12:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43214) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhxxq-0000hx-2R for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 12:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhxxp-00027I-Rg for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 12:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Alexandrov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2020 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41719 X-GNU-PR-Package: emacs Original-Received: via spool by 41719-submit@debbugs.gnu.org id=B41719.15915465448108 (code B ref 41719); Sun, 07 Jun 2020 16:16:01 +0000 Original-Received: (at 41719) by debbugs.gnu.org; 7 Jun 2020 16:15:44 +0000 Original-Received: from localhost ([127.0.0.1]:54760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxxX-00026i-Vj for submit@debbugs.gnu.org; Sun, 07 Jun 2020 12:15:44 -0400 Original-Received: from relay-1.mailobj.net ([213.182.54.6]:40958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxxV-00026P-Is for 41719@debbugs.gnu.org; Sun, 07 Jun 2020 12:15:42 -0400 Original-Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-1.mailobj.net (Postfix) with SMTP id 3EB581225; Sun, 7 Jun 2020 18:15:35 +0200 (CEST) Original-Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sun, 7 Jun 2020 18:15:35 +0200 (CEST) X-EA-Auth: B99YD5eFw4sfq7tl3t+utAeHIyOycCvpVSwVdibOp7k5dVUkUpUERkWo0Zywi0xGNUHUmHSNF5C5xVRROOztg+xt+nVJn6Pw In-Reply-To: <20200607142652.GF846@smoon.bkoty.ru> (Vladimir Lomov's message of "Sun, 7 Jun 2020 22:26:52 +0800") OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181682 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Vladimir Lomov wrote: > So, emacsclient with -F (make-frame '((name . "NAME"))), actually. > should change 'instance' but when Emacs is build with GTK/GTK3 emacs does= n'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=CA=BCs not necessary a bug in Emacs, though. Maybe, besides dec= laring a ability to set a window class deprecated [1], GTK developers had a= ctually broken it. [1] : | gtk_window_set_wmclass has been deprecated since version 3.22 and should = not be used in newly-written code. | | Don=E2=80=99t use this function. It sets the X Window System =E2=80=9Ccla= ss=E2=80=9D and =E2=80=9Cname=E2=80=9D 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 posit= ions when loading a saved session. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXt0SrA0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnAMABAL2RECoI9G68Fj2gmElqXNc3CTsQp82GapfVsKaB DvBKAP0XyiAM/ipt8H4MHw7G4IsdJeqtShpYknGjt14VO1GtBQ== =enhN -----END PGP SIGNATURE----- --=-=-=--