From unknown Sat Jun 21 03:07:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48093 <48093@debbugs.gnu.org> To: bug#48093 <48093@debbugs.gnu.org> Subject: Status: 28.0.50; feature/pgtk: multiple display: clipboard Reply-To: bug#48093 <48093@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:07:34 +0000 retitle 48093 28.0.50; feature/pgtk: multiple display: clipboard reassign 48093 emacs submitter 48093 Rajeev N severity 48093 normal tag 48093 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 28 21:05:58 2021 Received: (at submit) by debbugs.gnu.org; 29 Apr 2021 01:05:58 +0000 Received: from localhost ([127.0.0.1]:54446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbv7r-0002a3-KV for submit@debbugs.gnu.org; Wed, 28 Apr 2021 21:05:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:57794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbuDS-00013S-LK for submit@debbugs.gnu.org; Wed, 28 Apr 2021 20:07:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbuDS-0004OD-BA for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 20:07:38 -0400 Received: from vr0.sivalik.com ([104.238.130.12]:43812 helo=smtp.sivalik.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbuDO-000171-Ch for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 20:07:37 -0400 Received: from localhost (pool-173-63-125-113.nwrknj.fios.verizon.net [173.63.125.113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: rajeev@sivalik.com) by smtp.sivalik.com (Postfix) with ESMTPSA id F223A5DD59; Wed, 28 Apr 2021 20:07:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk; t=1619654845; bh=TmkKXgoHUwuxI4QTWWW3samDZKgNSTWIQ+Qqf/U+V58=; h=From:To:Subject:Date:From; b=W60UIp7NB0E0VrzXCq45J5ky3yDH03WjISWu2ASuXkKbLiahWh152ZE9vqxYVCz/I JWH/42h2NqovSyYTCX38UqL9WiuZrF5quZdi+5VLFDPgsI34vYyOR+COUto/gitOuA cD5nhAVhx4TDyGaPUo4WXEEkFD7tEKceeTiF7m3I= X-No-Archive: yes From: Rajeev N To: bug-gnu-emacs@gnu.org Subject: 28.0.50; feature/pgtk: multiple display: clipboard Date: Wed, 28 Apr 2021 20:07:24 -0400 Message-ID: <87v986ymv7.fsf@hm.sivalik.com> MIME-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Received-SPF: pass client-ip=104.238.130.12; envelope-from=rajeev.jnk@sivalik.com; helo=smtp.sivalik.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 28 Apr 2021 21:05:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I use emacsclient with -a '' option to automatically start daemon if needed. I use emacsclient command from terminal, wayland display, and X display (vnc) on the same machine, I have noticed that the clipboard does not work as expected and I am forced to use xclip, wl-copy, wl-paste commands to workaround the bug. Everything works as expected on the master branch. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-04-27 built on hp Repository revision: 66a36f1e5a323aed3d39db1044a1b71373123832 Repository branch: feature/pgtk Windowing system distributor 'System Description: Debian GNU/Linux bullseye/sid Configured using: 'configure --with-native-compilation --with-cairo --with-mailutils --prefix=/home/rajeev/tmp/build/em/o/feature/pgtk --with-pgtk' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: reveal-mode: t global-so-long-mode: t global-auto-revert-mode: t midnight-mode: t shell-dirtrack-mode: t display-time-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t transient-mark-mode: t hs-minor-mode: t Load-path shadows: None found. Features: (shadow emacsbug sort gnus-cite face-remap utf-7 nnml js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs mm-archive network-stream url-http url-gw nsm url-cache url-auth edmacro kmacro server cursor-sensor time-stamp bbdb-gnus nnfolder pcase xt-mouse which-func imenu timeclock spam spam-stat gnus-uu yenc semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet org-indent reveal mailalias bbdb-message mail-extr ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m icomplete so-long autorevert filenotify bbdb-anniv tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp printing ps-print ps-print-loaddefs ps-def lpr web-server web-server-status-codes el/web midnight el/cron backtrace qp el/wthr el/av el/hass el/fin el/remote el/script type-break cal-iso org-id lunar solar cal-dst holidays hol-loaddefs el/calc el/loc term disp-table shell ehelp dirtrack hideshow parsec plstore gnutls gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg nndraft nnmh comp comp-cstr warnings rx cl-extra help-mode gnus-icalendar org-capture gnus-art mm-uu mml2015 mm-view mml-smime smime dig icalendar sieve sieve-mode sieve-manage sasl sasl-anonymous sasl-login sasl-plain sendmail time ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree generator org-agenda org-refile org-crypt org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win gnus vc-git diff-mode easy-mmode vc-dispatcher cus-edit pp cus-load nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr wid-edit el/org el/doc el/mail el/tools el/shell el/xmpp el/diary timer-list bbdb-mua el/timer el/util bbdb-com crm mailabbrev bbdb bbdb-site timezone el/bbdb appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs el/init finder-inf wombat-theme info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 753102 61427) (symbols 48 42200 26) (strings 32 216166 23867) (string-bytes 1 6373560) (vectors 16 77229) (vector-slots 8 1318805 46922) (floats 8 1261 1241) (intervals 56 840 77) (buffers 992 37)) From debbugs-submit-bounces@debbugs.gnu.org Fri May 14 12:41:49 2021 Received: (at 48093) by debbugs.gnu.org; 14 May 2021 16:41:49 +0000 Received: from localhost ([127.0.0.1]:46933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhasn-00058Q-E1 for submit@debbugs.gnu.org; Fri, 14 May 2021 12:41:49 -0400 Received: from shiro.masm11.me ([150.95.182.25]:38112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhasj-00058B-8N for 48093@debbugs.gnu.org; Fri, 14 May 2021 12:41:48 -0400 Received: from luna.pink.masm11.me (KD111239252195.au-net.ne.jp [111.239.252.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shiro.masm11.me (Postfix) with ESMTPSA id E0F2DC0086; Sat, 15 May 2021 01:41:41 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1621010502; bh=yhXdTb2YlJG7ZEAFDftHFNWqf7yg5RrYiaBYJKw33eY=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=FefOOmZ5yjN0uGnRnWXdN3gSR0Nqei6co071jpWjJZ0ijr2Dg/fms2wM1jpO4Xyje oueSnkMzedeIvRZfjOfCaH5/pPM10ubajJPZ0wzFwaurSCO1ypBcDlhbOutCw3eI7c iJqL1dTrtiFP5UoDfPSSilqRnKjyaT6QfmwBFMgg= Date: Sat, 15 May 2021 01:41:37 +0900 (JST) Message-Id: <20210515.014137.1446520196857476849.masm@luna.pink.masm11.me> To: rajeev.jnk@sivalik.com Subject: Re: bug#48093: 28.0.50; feature/pgtk: multiple display: clipboard From: Yuuki Harano In-Reply-To: <87v986ymv7.fsf@hm.sivalik.com> References: <87v986ymv7.fsf@hm.sivalik.com> Organization: Ingage Inc. X-Mailer: Mew version 6.8 on Emacs 28.0 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48093 Cc: 48093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 28 Apr 2021 20:07:24 -0400, Rajeev N wrote: > I use emacsclient with -a '' option to automatically start daemon if needed. I use emacsclient command from terminal, wayland display, and X display (vnc) on the same machine, I have noticed that the clipboard does not work as expected and I am forced to use xclip, wl-copy, wl-paste commands to workaround the bug. > > Everything works as expected on the master branch. I think that gtk's selection handling code has a bug, and I have disabled clipboard on multi display environment. If you want to try clipboard on multi display environment, then try latest feature/pgtk and do: ---- (setq pgtk-enable-selection-on-multi-display t) ---- But don't expect. It crashes frequently. -- Yuuki Harano From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 01 07:08:31 2022 Received: (at 48093) by debbugs.gnu.org; 1 Jul 2022 11:08:31 +0000 Received: from localhost ([127.0.0.1]:36382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EVU-00089S-Db for submit@debbugs.gnu.org; Fri, 01 Jul 2022 07:08:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EVI-000889-VB for 48093@debbugs.gnu.org; Fri, 01 Jul 2022 07:08:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VD0XQLK7HzgXT3jiJB8jFabRzj5sFDq0eUy0D5pVzp0=; b=ADkTrBgB0ocIX6yBkWWgpd/a3J SQuhD+Utu/0V+l9RuduM6QnblDQbZ0fT+LQiB8xKZ0wP/6hzB7KEUVaib0cTDsd5G/8INsi449Oqc 0f/Ynkx05XUzCI/Kq6zgtwukpTFHKg8AGxv471eo6AerVYmHiyWA1+3L3Xg8nwkdFSkg=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7EVA-00068F-Ds; Fri, 01 Jul 2022 13:07:59 +0200 From: Lars Ingebrigtsen To: Rajeev N Subject: Re: bug#48093: 28.0.50; feature/pgtk: multiple display: clipboard In-Reply-To: <87v986ymv7.fsf@hm.sivalik.com> (Rajeev N.'s message of "Wed, 28 Apr 2021 20:07:24 -0400") References: <87v986ymv7.fsf@hm.sivalik.com> X-Now-Playing: Joan as Police Woman's _Enter The Dragon_: "The Love Has Got Me" Date: Fri, 01 Jul 2022 13:07:55 +0200 Message-ID: <87iloh8510.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rajeev N writes: > I use emacsclient with -a '' option to automatically start daemon if > needed. I use emacsclient command from terminal, wayland display, and > X display (vnc) on the same machine, I have noticed tha [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48093 Cc: 48093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Rajeev N writes: > I use emacsclient with -a '' option to automatically start daemon if > needed. I use emacsclient command from terminal, wayland display, and > X display (vnc) on the same machine, I have noticed that the clipboard > does not work as expected and I am forced to use xclip, wl-copy, > wl-paste commands to workaround the bug. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Do you still see this issue in Emacs 29? (Both the clipboard handling and pgtk has changed quite a bit since this was reported.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 01 07:08:13 2022 Received: (at control) by debbugs.gnu.org; 1 Jul 2022 11:08:13 +0000 Received: from localhost ([127.0.0.1]:36380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EVR-00089A-8r for submit@debbugs.gnu.org; Fri, 01 Jul 2022 07:08:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EVN-00088h-7L for control@debbugs.gnu.org; Fri, 01 Jul 2022 07:08:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=09hpJ7pCqYosj2EjKZo0WrQnfPyFFVXahW98L2FXq0s=; b=FWZiGYIJZADtSNK3zxG3IQU53r wUhAUqX3NUREujG5nT7IWvTYXUeVw7Pv+lNi51OT+hSFhUj0qEo41lx0jlBth3BS3nka4IE7MmT2J whz5fqgQEjAqJwuYxecZi73zjTTI7fZ7wFrQJqAoB5I/MTaJigeivEKzi8Cs57LxEs5c=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7EVF-00068M-DY for control@debbugs.gnu.org; Fri, 01 Jul 2022 13:08:03 +0200 Date: Fri, 01 Jul 2022 13:08:00 +0200 Message-Id: <87h741850v.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48093 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48093 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 48093 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 01 12:20:38 2022 Received: (at 48093) by debbugs.gnu.org; 1 Jul 2022 16:20:38 +0000 Received: from localhost ([127.0.0.1]:39059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7JNm-0007fk-1o for submit@debbugs.gnu.org; Fri, 01 Jul 2022 12:20:38 -0400 Received: from vr0.sivalik.com ([104.238.130.12]:56610 helo=smtp.sivalik.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7JNj-0007fS-Fs for 48093@debbugs.gnu.org; Fri, 01 Jul 2022 12:20:36 -0400 Received: from hp (pool-173-63-125-232.nwrknj.fios.verizon.net [173.63.125.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: rajeev@sivalik.com) by smtp.sivalik.com (Postfix) with ESMTPSA id C89355DD53; Fri, 1 Jul 2022 12:20:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk; t=1656692429; bh=C/xQh4QoGWsucjX0xW/fj9W7eOoFP1jd5/kLOFUEkkA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=APPHA3bhkvYOVjoVWaCh6EuaGVGOUPLMkBLMe2nbNHHHuE0grIN38LIgJcH7FYtPs xvRHVcmYvI0cegjcCn/3+THoM9eQTKvcjdQweJYCohSKLSJ8eO0qnTJ2VW8RZXb9Sj 04qvt8oi1IHqWvZR7LNzl3Jj85RctrJsc0ZPDDG8= X-No-Archive: yes From: Rajeev N To: Lars Ingebrigtsen Subject: Re: bug#48093: 28.0.50; feature/pgtk: multiple display: clipboard References: <87v986ymv7.fsf@hm.sivalik.com> <87iloh8510.fsf@gnus.org> Date: Fri, 01 Jul 2022 16:20:29 +0000 In-Reply-To: <87iloh8510.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 01 Jul 2022 13:07:55 +0200") Message-ID: <878rpc7qk2.fsf@hm.sivalik.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48093 Cc: 48093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline sorry, I will not be able to spend any cycles on this anytime soon. --=-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline

sorry, I will not be able to spend any cycles on this anytime soon.

--=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 01:06:13 2022 Received: (at 48093) by debbugs.gnu.org; 2 Jul 2022 05:06:13 +0000 Received: from localhost ([127.0.0.1]:39536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7VKf-0000v6-L1 for submit@debbugs.gnu.org; Sat, 02 Jul 2022 01:06:13 -0400 Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:36550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7VKc-0000un-NI for 48093@debbugs.gnu.org; Sat, 02 Jul 2022 01:06:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656738363; bh=S/gEXkx2HohQGzIYUiWPwPhVU5u6fNA1ptqF1AEZkaU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=YWztRshGWOdXR/sr2S6jp/y+hWJV+QPvBaNknU+xxlgnr7b5rEcxa6lblfCN2MoKxqdXrSJwvlQxjP0uz1BREx9rW8iCOwu6PlD4LJfLfWRgcA9puwRTxH5PRuxoIUoIRMsz7E6N0e5jgHZpe7mPxVFE4H4tlh6hDJTPUv9e76HvJU/BUUnvI5emUD0dQZwPcZMpKm908GWoz6llu/7Kud5mxsl5PWnlyJQB01XTCCsXUAkpSiLdeZA4sZl/8heOJJyRfdb6l2hNUgqrPPMVPLSee72hCMapB8Ze1PT2L69lHirWq1GMSC5BGIkOIrtlMCpzwfcbuf2jPKUMoCMesA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656738363; bh=ON/i6w0TaQfrYtOUq4oVE68j6LtDnIRqXgou550Zcn4=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject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MJ8QRt ihSejpoEuPKczAonq14NA89knvkt9yl_mLrhvnU090nqia.Hv3rBJ4axTXttV92oDJvj5sJKNrAq 76sgFnj4H_MFJbYa1zY2MUtTnQXRdpALYMkTIAoXi8ox4aqT9shK8wXlV7wZoxIStSKWHvxVQLB2 ZQB7HTRqceGiJcXGu8BMfmkihRzGfVGvzFf0t8Wxpm1TYqYZu.5Dzl8TphvkQpTFnzJMcdciEhBo x0PhjBu0kSBsRrkjRrpBr6UVaRqbMBriwEjN.._oU7LztrcdLsz2HKyzu1b7gR96mMQ3oWMVdHE4 Ql5bVzjjPqE0c1xIQWoQPsYRH6ka7bJOahxJB_WM58HHIZ9IeL9jQse5XXaYaEHfDYjVGkv0ohcK qOXB3i3GQJ5mbHuHl.PTIh3de53QR5yI7marZzPdHFFO9e9k1Zg92KSI5QOmDbpySkdUNNUOFaIU 8QnoDaSUl2zoHDDBxPKnwbpHr_us.sWNe67nvc7t31a4I.aLaWsLnuoP_py0D X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sat, 2 Jul 2022 05:06:03 +0000 Received: by hermes--canary-production-sg3-67975bbd4b-bp49d (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ff81ec41cda6d50950bd1cd8762a937b; Sat, 02 Jul 2022 05:05:59 +0000 (UTC) From: Po Lu To: Rajeev N Subject: Re: bug#48093: 28.0.50; feature/pgtk: multiple display: clipboard References: <87v986ymv7.fsf@hm.sivalik.com> <87iloh8510.fsf@gnus.org> <878rpc7qk2.fsf@hm.sivalik.com> Date: Sat, 02 Jul 2022 13:05:55 +0800 In-Reply-To: <878rpc7qk2.fsf@hm.sivalik.com> (Rajeev N.'s message of "Fri, 01 Jul 2022 16:20:29 +0000") Message-ID: <87fsjkcde4.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20381 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1228 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48093 Cc: Lars Ingebrigtsen , 48093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Rajeev N writes: > sorry, I will not be able to spend any cycles on this anytime soon. Then I guess this has probably been fixed by the complete selection code rewrite, which for the most part bypasses the buggy GTK layer. However, there is one piece of code that still worries me: /* GC must not happen inside this segment. */ block_input (); gtk_selection_clear_targets (FRAME_GTK_WIDGET (f), selection_atom); if (VECTORP (targets)) { gtargets = xzalloc (sizeof *gtargets * ASIZE (targets)); ntargets = 0; for (i = 0; i < ASIZE (targets); ++i) { if (SYMBOLP (AREF (targets, i))) gtargets[ntargets++].target = SSDATA (SYMBOL_NAME (AREF (targets, i))); } gtk_selection_add_targets (FRAME_GTK_WIDGET (f), selection_atom, gtargets, ntargets); xfree (gtargets); } unblock_input (); Here, the GTK API is being used to announce the selection targets, since the corresponding GDK APIs are not public and are badly abstracted, most of them being specific to individual GDK backends. I tested briefly with two Wayland displays and it seems to work fine for me, but I don't use PGTK on a daily basis and thus cannot be sure. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 08:03:01 2022 Received: (at 48093) by debbugs.gnu.org; 2 Jul 2022 12:03:01 +0000 Received: from localhost ([127.0.0.1]:40064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7bq1-0004OM-6j for submit@debbugs.gnu.org; Sat, 02 Jul 2022 08:03:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7bpy-0004Nx-N3 for 48093@debbugs.gnu.org; Sat, 02 Jul 2022 08:02:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9tyyXz454e9KL/hhpjmJe/hL4iEo+hh4yMyUBACsxAw=; b=TnoK0n1Jda9j+iY7RU9PSrRas6 nhXhn4vsLc3xooHRSstCKoJxDgBnvSoeqMSqWxvNJaH64V5yAGIN6iuk9ba54w+lzyB9QRPcUqR0D fKj5mrUV5ehsBvMtoTS4JyUNErhx+dZtNYrD5BDfMHp1eo5p46Wxh24XYwJ829YpnYzY=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7bpp-0001ms-Rx; Sat, 02 Jul 2022 14:02:52 +0200 From: Lars Ingebrigtsen To: Po Lu Subject: Re: bug#48093: 28.0.50; feature/pgtk: multiple display: clipboard In-Reply-To: <87fsjkcde4.fsf@yahoo.com> (Po Lu's message of "Sat, 02 Jul 2022 13:05:55 +0800") References: <87v986ymv7.fsf@hm.sivalik.com> <87iloh8510.fsf@gnus.org> <878rpc7qk2.fsf@hm.sivalik.com> <87fsjkcde4.fsf@yahoo.com> X-Now-Playing: The Clash's _Sandinista!_: "The Magnificent Seven" Date: Sat, 02 Jul 2022 14:02:49 +0200 Message-ID: <87edz33eom.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Po Lu writes: > Then I guess this has probably been fixed by the complete selection code > rewrite, which for the most part bypasses the buggy GTK layer. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48093 Cc: Rajeev N , 48093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Po Lu writes: > Then I guess this has probably been fixed by the complete selection code > rewrite, which for the most part bypasses the buggy GTK layer. [...] > I tested briefly with two Wayland displays and it seems to work fine for > me, but I don't use PGTK on a daily basis and thus cannot be sure. Then it sounds like the reported problem has been fixed, and I'm closing this bug report. If it turns out that the code snippet in question is problematic on some systems, somebody will open a new report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 08:03:07 2022 Received: (at control) by debbugs.gnu.org; 2 Jul 2022 12:03:07 +0000 Received: from localhost ([127.0.0.1]:40069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7bq7-0004PA-Dx for submit@debbugs.gnu.org; Sat, 02 Jul 2022 08:03:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7bq5-0004OK-Gp for control@debbugs.gnu.org; Sat, 02 Jul 2022 08:03:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9NsHP7v+ZaL4jMWg4uQfqQjYdTQBe5MzdHz6VWzigfk=; b=gyJ3vC5FO09m6pIdShJ6+dWy70 rQFQDCig6Uu0WPgcu67NuVoZEmZeY+dlSWiwksrWD0DCzoVgTwvZcNEuvEBSj/5v4oeGewfYgwTiw 0puzAdnVxw8/DZjxSFI5DW683l4XPO7JTdnWb0zhiWkO91sUpip3/obtMZjT2iQef6ow=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7bpx-0001mz-FE for control@debbugs.gnu.org; Sat, 02 Jul 2022 14:02:59 +0200 Date: Sat, 02 Jul 2022 14:02:55 +0200 Message-Id: <87czen3eog.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48093 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 48093 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 48093 quit From unknown Sat Jun 21 03:07:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 31 Jul 2022 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator