From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53969: 29.0.50; display frame parameter set incorrectly on pgtk Date: Mon, 14 Feb 2022 18:49:47 +0800 Message-ID: <87r185hgdw.fsf@yahoo.com> References: <87fsondnlr.fsf@trop.in> <87v8xjj7zn.fsf@yahoo.com> <875ypid2ol.fsf@trop.in> <87leyei6gk.fsf@yahoo.com> <8735kmcful.fsf@trop.in> <8735kmhx43.fsf@yahoo.com> <87zgmtbugu.fsf@trop.in> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32162"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 53969@debbugs.gnu.org To: Andrew Tropin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 14 11:52:17 2022 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 1nJYxt-00088j-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 11:52:17 +0100 Original-Received: from localhost ([::1]:48038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJYxs-0005US-6B for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 05:52:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJYwg-0005Sr-0u for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJYwf-0002dI-Mu for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:51:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJYwf-0004jn-KE for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2022 10:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53969 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 53969-submit@debbugs.gnu.org id=B53969.164483580418121 (code B ref 53969); Mon, 14 Feb 2022 10:51:01 +0000 Original-Received: (at 53969) by debbugs.gnu.org; 14 Feb 2022 10:50:04 +0000 Original-Received: from localhost ([127.0.0.1]:39986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJYvj-0004i3-Ki for submit@debbugs.gnu.org; Mon, 14 Feb 2022 05:50:04 -0500 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:41412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJYvh-0004hF-91 for 53969@debbugs.gnu.org; Mon, 14 Feb 2022 05:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644835794; bh=zDjh+fm4N4ztiR+snsAK6S2Rp6PziPqmhtPdpcmavTI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=QVAIjM4ZMsNW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Ty5fvL2EJoJYP7_HFrYtZ4ZVeCRFR5OXh0F5NPKvJEOKoK4MTq13.9 m5iE7NjTsw26K4G9MVbivpwuW1SPexs_mPyYB0q_Nzcq.UmbHOziMktfosqK6wDUKhWYSGaigCu5 WdLBxnGljzRGe6xVxpocb2nKVqfYIVzuvOznRInVVsUel73dJ2chdn_3HWDQBIhjf3a8MexPZKFy Hts5BTH95j7YSTszMVbcF8bTXqAjvctal9ip_MhkQ4IjF_tXutQdxHSTOLtDwAUe0mYt0w4n1m0x Nz58o_asPeFEyxcrkD9J2zuYe6y6JCsRCu_.DiZINsXeT_jSOhkcvljdQHPOtf4Mou2KgDiyCRZW C7fzU7zciBvo_V2YGosKpB7dy4FcSB5u0TA9B9rpuVNXZSNpW9LixHY3cSjoDzTMT6pJPxEInhA2 1qmhPzXoSO966IUxS_fgFqFNI5sUct9ZAcj05cwBY.0ncUWPt0v9LEEz6oVXon1JAp7UvGuf12Ep 4TAv3i3jtLVoRLPnM8Y3JePqqpNRp6TZcmii2q7JzfAz.KuB2Yz4tvvsC8d.vqnlyNbB6SZ902zY lCywZyr3xTaV07E6.MjrWekyaTeAR2BbCUm4_y0j7G X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 14 Feb 2022 10:49:54 +0000 Original-Received: by kubenode501.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5ce51cecd018c1db63383ed27af14808; Mon, 14 Feb 2022 10:49:51 +0000 (UTC) In-Reply-To: <87zgmtbugu.fsf@trop.in> (Andrew Tropin's message of "Mon, 14 Feb 2022 13:42:09 +0300") X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:226872 Archived-At: Andrew Tropin writes: > I hope I did everything correctly: > > Breakpoint 1, decode_options (argc=2, argv=0x7fffffffcbd8) at emacsclient.c:625 > 625 if (display && !display[0]) > (gdb) p display > $7 = 0x7fffffffe926 "wayland-1" > > > The same binary started from terminal: > > ./lib-src/emacsclient --eval '(x-display-list)' > ("wayland-0") So upon some further digging, it seems `gdk_display_get_name' always returns "wayland-0" in that specific case. I don't know what to do. It looks like a bug in GTK, which I will try to report in the coming weeks. Would it suffice for browse-url to not touch `WAYLAND_DISPLAY' until that is resolved? Thanks.