bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72254: 29.4; Cannot yank media when image come from Gnome-shell scre


From: Visuwesh
Subject: bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot
Date: Tue, 23 Jul 2024 22:04:27 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[செவ்வாய் ஜூலை 23, 2024] Robert Pluim wrote:

>>>>>> On Tue, 23 Jul 2024 15:16:15 +0200, Sébastien Gendre <seb@k-7.ch> said:
>
>     Sébastien> If I evaluate this:
>
>     Sébastien> (cl-defmethod gui-backend-get-selection ((selection-symbol 
> (eql 'CLIPBOARD))
>     Sébastien>                                          (target-type (eql 
> 'TARGETS))
>     Sébastien>                                          &context 
> (window-system x)
>     Sébastien>                                          &optional time-stamp 
> terminal)
>     Sébastien>   (message "Hello World!"))
>
>
>     Sébastien> And then take an screenshot and evaluate (gui-get-selection 
> 'CLIPBOARD
>     Sébastien> 'TARGETS) from an org-mode buffer, I still get the same 
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]