From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.devel Subject: Re: emacs windows don't get a name in wayland Date: Fri, 12 Aug 2022 22:52:22 +0200 Message-ID: <87edxli3rf.fsf@free.fr> References: <87a6bgapzl.fsf@free.fr> <87fsl7mz5u.fsf@yahoo.com> <87k07gnz9k.fsf@free.fr> <87pmh8xrh1.fsf@yahoo.com> <87tu6isai7.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33037"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:LUgUYwl17WfDCkXEqHuD8MzUl3k= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 12 22:53:39 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oMbf1-0008Nv-67 for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Aug 2022 22:53:39 +0200 Original-Received: from localhost ([::1]:59062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMbf0-00079h-5m for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Aug 2022 16:53:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMbe0-0005sm-4K for emacs-devel@gnu.org; Fri, 12 Aug 2022 16:52:37 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:43370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMbdy-0004kp-41 for emacs-devel@gnu.org; Fri, 12 Aug 2022 16:52:35 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oMbdw-00072i-D2 for emacs-devel@gnu.org; Fri, 12 Aug 2022 22:52:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293393 Archived-At: Julien Cubizolles writes: > Po Lu writes: > >> Julien Cubizolles writes: >> >>> Sorry for not following up sooner. >> >> No problem. >> >>> Should I file a bug with emacs, Ubuntu, Wayland, Gnome ? >> >> I don't remember what I meant at the time, but I guess either Ubuntu or >> GNOME first, and then Emacs if they say it's our problem. Thanks in >> advance. > > Submitted to Gnome > https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5739. Got some quick help over there. Turns out there was a mismatch between the wmclass "broadcasted" to Gnome/Mutter (lowercase "emacs") and the StartupWMClass field in the desktop file (capitalized "Emacs"). Changing the StarupWMClass to "emacs" fixes the problem. If someone from the elisp-team ppa is reading this list, I would suggest keeping the capitalized Emacs StartupWMClass in the desktop files but changing the wmclass in Wayland to "emacs". -- Julien Cubizolles