From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot Date: Tue, 23 Jul 2024 22:04:27 +0530 Message-ID: <87ikww3w4s.fsf@gmail.com> References: <87y15sqstb.fsf@k-7.ch> <87wmlc9wvz.fsf@gmail.com> <87plr4qpqy.fsf@k-7.ch> <87o76o9tvl.fsf@gmail.com> <87ed7kqoe4.fsf@k-7.ch> <87ed7k9srp.fsf@gmail.com> <87ttggp8e0.fsf@k-7.ch> <87a5i89run.fsf@gmail.com> <87le1sp7ts.fsf@k-7.ch> <875xsw9nac.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6973"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 72254@debbugs.gnu.org, =?UTF-8?Q?S=C3=A9bastien?= Gendre To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 18:36:04 2024 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 1sWIUd-0001b2-LB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 18:36:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWIUZ-0005Op-30; Tue, 23 Jul 2024 12:35:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWIUX-0005OO-OB for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 12:35:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWIUX-0000rV-Ej for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 12:35:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWIUb-0003gq-V3 for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 12:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2024 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72254 X-GNU-PR-Package: emacs Original-Received: via spool by 72254-submit@debbugs.gnu.org id=B72254.172175254414147 (code B ref 72254); Tue, 23 Jul 2024 16:36:01 +0000 Original-Received: (at 72254) by debbugs.gnu.org; 23 Jul 2024 16:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:60612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWIUJ-0003g7-Vd for submit@debbugs.gnu.org; Tue, 23 Jul 2024 12:35:44 -0400 Original-Received: from mail-pl1-f194.google.com ([209.85.214.194]:41997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWIUG-0003fp-LB for 72254@debbugs.gnu.org; Tue, 23 Jul 2024 12:35:42 -0400 Original-Received: by mail-pl1-f194.google.com with SMTP id d9443c01a7336-1fc56fd4de1so146395ad.0 for <72254@debbugs.gnu.org>; Tue, 23 Jul 2024 09:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721752470; x=1722357270; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fD1cT/idW4beVZsvq+pg2PLvlvQsr0Uf9Q+12nZ2fvY=; b=mm2HVfTlqQaI6GLoaSYE8QGBqrttPrOwNuBrJNcY6epc4jpxSa9Kw0Z9L7k6n8pSOW zSjQeA8De8Y37gd7BOKSB/61VhgxpbMkZAy2PzstknrnJst3YKHEgHheW56CAr2Xd3f+ HuJg/Ljl9KnnP07x6z9G7WN9p2gHwT1tD9A5b+0zsj5TDy/Tpd0DdU48+8EPT8BAtwiK 8LmRrVeikwuCe88xPpNxkICEqEDzLAfnHDYE0+5KAFxKrvZjhcAXhNQzIOE3tEZ5VywD oLvTfinnLI7dMKJekhOYzJuFyL96e6ezZb4JaqSmUwDK8VtZQ7MwQHjxFZZP4435Cx54 Xxxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721752470; x=1722357270; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=fD1cT/idW4beVZsvq+pg2PLvlvQsr0Uf9Q+12nZ2fvY=; b=X2dZ105BsjcWNLiZt6GCPUuWls+N6Iule9ecmV4oAykeYrDjFD8qChiQsIAyvxcHMI dbi//Cpf0DmDCnvSk2WbR6syPbPvA/IXeQOI7BTEQ8I+LU+syifqs50UiM/aA2xkLhqT 1rYd1LRF+WPxmfQ3s2apU0ENnqQethu8Xe4BXvTRGJzUpI3IBG2KzWv4EC+TlAv6bwln f3Yxj28xj3ru7cZFegCI+05wcLSe84WjKkET1HMPJBFsKgBnjVP4e+ABc4M+diNEAVgf sues2lKeG4eHUGL/YXtZlXJHYQWygDlI9DUzddKAt+Clnmm2U4KPweIXGrTwZ4Ek48+z znYw== X-Forwarded-Encrypted: i=1; AJvYcCXOjTmVtgqzCHkH/xbkyYqva99QEejAqYME37Y3R/X2wFUJygnUJKDCmRhGw4NXVxDKGsWVBMsJcG1t6uky2+Aaa/IcVoE= X-Gm-Message-State: AOJu0YxD+2oQ1Luu29XzPWiuwgOuk00NcJRwFiVx735QLtXAcci4ByEe CDIDwvm9Z0/nJm9H7PHo/A5FeroEJPYYb/AdwI2Cj4lq6Q35u8LH X-Google-Smtp-Source: AGHT+IHsUkLEUeabEzivRY7TxjEvkB7gNHY3v6XZpnWFqh5qtOBY7aWXABkZtduM9RfhXQHxScVQ2A== X-Received: by 2002:a17:902:c948:b0:1fa:97ec:3a4 with SMTP id d9443c01a7336-1fdb950bf00mr39236555ad.8.1721752469944; Tue, 23 Jul 2024 09:34:29 -0700 (PDT) Original-Received: from localhost ([49.204.114.228]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fd6f453e5fsm77211105ad.230.2024.07.23.09.34.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 09:34:29 -0700 (PDT) In-Reply-To: <875xsw9nac.fsf@gmail.com> (Robert Pluim's message of "Tue, 23 Jul 2024 16:48:59 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289178 Archived-At: [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D = =E0=AE=9C=E0=AF=82=E0=AE=B2=E0=AF=88 23, 2024] Robert Pluim wrote: >>>>>> On Tue, 23 Jul 2024 15:16:15 +0200, S=C3=A9bastien Gendre said: > > S=C3=A9bastien> If I evaluate this: > > S=C3=A9bastien> (cl-defmethod gui-backend-get-selection ((selection-s= ymbol (eql 'CLIPBOARD)) > S=C3=A9bastien> (target-type= (eql 'TARGETS)) > S=C3=A9bastien> &context (wi= ndow-system x) > S=C3=A9bastien> &optional ti= me-stamp terminal) > S=C3=A9bastien> (message "Hello World!")) > > > S=C3=A9bastien> And then take an screenshot and evaluate (gui-get-sel= ection 'CLIPBOARD > S=C3=A9bastien> 'TARGETS) from an org-mode buffer, I still get the sa= me result: image/png > > OK. Which Linux distribution is this? > > Robert Hearing that OP uses GNOME, are we sure OP is not running the PGTK port? If that is the case, AFAIU context will not be x? FWIW, I tried copying an image to clipboard and the gui-get-selection above returns [TARGETS image/png] in a PGTK build of the emacs-30 branch.