delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2022/12/30/19:55:46

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Date: Sat, 31 Dec 2022 01:41:00 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Donald Tillman (don AT till DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Subject: Re: [geda-help] Copy-Paste not working.
In-Reply-To: <B42BC725-C378-4BB5-9F17-DF338A1BC83E@till.com>
Message-ID: <21cd35b-2c55-45c5-f16a-1f779f49b43b@grinsen-ohne-katze.de>
References: <458D610A-29BC-42FA-96FA-E1B51C271AE4 AT till DOT com> <1ad8ce44-75dc-d5ed-3c4c-102a8acaf49e AT grinsen-ohne-katze DOT de> <B42BC725-C378-4BB5-9F17-DF338A1BC83E AT till DOT com>
MIME-Version: 1.0
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 30 Dec 2022, Donald Tillman (don AT till DOT com) [via 
geda-help AT delorie DOT com] wrote:
> On Dec 30, 2022, at 1:00 PM, Roland Lutz <rlutz AT hedmen DOT org> wrote:
>> On Fri, 30 Dec 2022, Donald Tillman (don AT till DOT com) [via 
>> geda-help AT delorie DOT com] wrote:
>>> and Paste from the edit menu isn't selectable
>>
>> That's indeed weird.  Maybe another application is interfering with 
>> your clipboard?
>
> I don't think so.  I don't have much else going on there.  I'll try it 
> with something completely benign in the clipboard... nope, no change.

Well, the clipboard's contents must be of the appropriate MIME type, so if 
you cut something from another application, then Edit / Paste *shouldn't* 
be selectable.

I can come up with the following explanations:

- Edit / Copy doesn't set the clipboard's MIME type correctly,
- some clipboard management mechanism messes up the clipboard's MIME type, 
or
- gschem doesn't recognize the MIME type of the clipboard contents 
correctly.

You could try commenting out the line

   gschem_action_set_sensitive (action_clipboard_paste, usable, w_current);

in gschem/src/x_clipboard.c to skip the MIME check.  This will only work 
if the check as such is the problem, though.

Roland

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019