X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com From: "Donald Tillman (don AT till DOT com) [via geda-help AT delorie DOT com]" Content-Type: multipart/alternative; boundary="Apple-Mail=_CC9389D0-10E9-4812-B19C-3157CAC33B47" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [geda-help] Copy-Paste not working. Date: Fri, 3 Feb 2023 17:20:41 -0800 References: <458D610A-29BC-42FA-96FA-E1B51C271AE4 AT till DOT com> <1ad8ce44-75dc-d5ed-3c4c-102a8acaf49e AT grinsen-ohne-katze DOT de> <21cd35b-2c55-45c5-f16a-1f779f49b43b AT grinsen-ohne-katze DOT de> To: "John L. Males (jlmales AT gmail DOT com) [via geda-help AT delorie DOT com]" In-Reply-To: <21cd35b-2c55-45c5-f16a-1f779f49b43b@grinsen-ohne-katze.de> Message-Id: <901E391A-1D82-4A13-9979-9816E188D5E1@till.com> X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Sonic-CAuth: UmFuZG9tSVYDKkO71ZbdV3AJEG4sLhPeNjZvI5SkHJ3OVhXXs7IrxiDP+6OZZ1sw4XqpQ3b1IUb0x5UHvgRm0lAMHt9bjnnC X-Sonic-ID: C;9M4yJCqk7RGBuixnR+6Zsg== M;6CGCJCqk7RGBuixnR+6Zsg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd 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 Precedence: bulk --Apple-Mail=_CC9389D0-10E9-4812-B19C-3157CAC33B47 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii [time passes, but hey, this is a low volume list...] Ah, I finally figured it out. The problem was with the preferences in = XQuartz on the Mac. Duh. This seems to work: Input: Emulate 3-button mouse Enable key equivalents others unchecked Pasteboard: Enable syncing Update Clipboard Update Primary Update Pasteboard other unchecked -- Don -- Donald Tillman, Palo Alto, California https://www.till.com > On Dec 30, 2022, at 4:41 PM, Roland Lutz wrote: >=20 > 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 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 >>>=20 >>> That's indeed weird. Maybe another application is interfering with = your clipboard? >>=20 >> 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. >=20 > 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. >=20 > I can come up with the following explanations: >=20 > - 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. >=20 > You could try commenting out the line >=20 > gschem_action_set_sensitive (action_clipboard_paste, usable, = w_current); >=20 > in gschem/src/x_clipboard.c to skip the MIME check. This will only = work if the check as such is the problem, though. >=20 > Roland >=20 --Apple-Mail=_CC9389D0-10E9-4812-B19C-3157CAC33B47 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii [time= passes, but hey, this is a low volume list...]

Ah, I finally figured it out.  The = problem was with the preferences in XQuartz on the Mac. =  Duh.

This = seems to work:

  Input:
    Emulate = 3-button mouse
    Enable key = equivalents
    others = unchecked
  Pasteboard:
    Enable syncing
  =   Update Clipboard
    Update = Primary
    Update Pasteboard
    other unchecked

  -- = Don
--
Donald Tillman, Palo = Alto, California
https://www.till.com

On Dec 30, 2022, at 4:41 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:
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

= --Apple-Mail=_CC9389D0-10E9-4812-B19C-3157CAC33B47--