Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 1300 - Mac: COMMAND + V paste limitations in standard file save dialogs
Mac: COMMAND + V paste limitations in standard file save dialogs
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: User Interface
2.1.2
Mac macOS
: P2 Repeatable
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-15 07:23 UTC by Gale Andrews
Modified: 2021-01-22 10:50 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1) Copy some text to the system clipboard. 2) Generate a tone in Audacity and add a label. 3) Use File > Save Project..., File > Export... or Export Selected Audio... or File > Export Labels... 4) then click in "Save As:" 5) and COMMAND + V. 6) Observe: Nothing happens.
Release Note:
GROUP: Interface * (Mac) '''Pasting into file save dialogs using COMMAND + V has been restored with some limitations.''' ** COMMAND + V can only paste into the "Save As:" box even if another box has focus. You can use right-click or CTRL-click to paste into other boxes. ** The entire contents of the box are replaced with the pasted content, ignoring the selection cursor or partial text selections.
First Git SHA:
Group: ---
Workaround:
You can right-click or CTRL-click and choose the option to Paste.
Closed: 2021-01-22 00:00:00
petersampsonaudacity: Accessibility+
gale: Regression+
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2016-01-15 07:23:23 UTC
Regression on 2.1.1. Does not occur on Windows or Linux.
Comment 2 Paul L 2016-06-29 12:16:57 UTC
It always pastes the entire text field, ignoring the
    insertion cursor, and ignoring which control really has the focus.
    
    The file dialog, which can call up the Finder, is implemented in the AppKit
    so it's not wholly under our control.  But I could bolt on an event filter,
    after the fashion of CommandManager, to intercept key events.
    
    Perhaps later versions of the toolkit than 10.6 will have a better save dialog
    in the AppKit, making this change unnecessary.
Comment 3 Paul L 2016-06-29 13:44:34 UTC
First fix wasn't quite right, better fix here:

https://github.com/audacity/audacity/commit/f2a262e9d6a60f72706d8467607ca6e8314ce4d5
Comment 4 Peter Sampson 2016-07-04 07:54:10 UTC
Testing on audacity-macosx-r10f77bc-2.1.3-alpha-29-jun-16 build on Mac that Gale built for me

Still nothing happens - all I get is the Mac clunk noise and nothing grpm the pasteboard pasted (and I did check that teh pasteboard was still active after this test by parsting into Motes).
Comment 5 Gale Andrews 2017-01-22 14:15:27 UTC
(In reply to Peter Sampson from comment #4)
> Testing on audacity-macosx-r10f77bc-2.1.3-alpha-29-jun-16 build on Mac that 
>Gale built for me
>
> Still nothing happens - all I get is the Mac clunk noise and nothing grpm the > pasteboard pasted (and I did check that teh pasteboard was still active after > this test by parsting into Motes).
I can't reproduce that on Sierra. Full Keyboard Access is off, in case it makes some hidden difference. 

The bug is still open, promoted from P4 to P3 for the residual issues (given the large number of complaints, it should with hindsight have been P2). 

So Peter could retest.
Comment 6 Bill Wharrie 2019-08-10 13:30:20 UTC
New report of this on the forum,
https://forum.audacityteam.org/viewtopic.php?f=47&t=106294&p=375242#p375228
Comment 7 Peter Sampson 2019-08-11 09:24:24 UTC
(In reply to Gale Andrews from comment #5)
>So Peter could retest.
Testing on macOS 10.14.6 latest Mojave with 2.3.3 alpha jc006

I can properly paste the text from Step 1 into
a) The Save Project dialg
b) The Export audio dialogs
c) The export Labels dialog
and 
d) I can paste the text into a new label too

So WORKSFORME
Comment 8 Peter Sampson 2019-08-11 09:25:35 UTC
WORKSFORME on 2.3.2 on macOS 10.14.6 too
Comment 9 Peter Sampson 2020-05-11 07:12:28 UTC
Testing on macOS 10.15.4 with 2.4.0 RC06 

This no longer works for me on my Macbook Pro with Catalina
Comment 10 Peter Sampson 2020-05-11 07:22:59 UTC
We get a lot of complaints about this on the Forum.
Comment 11 Peter Sampson 2020-06-28 05:58:48 UTC
(In reply to Peter Sampson from comment #10)
I confirm this is still the case on 2.4.2 on macOS 10.15.5 Catalina

A we get a lot of complaints about this on the Forum
and is this is a close cousin of Bug #1579 which is rated P2
I am also going to raise this as P2/

And note that this is an accessibility issue for VI and non-mouse users

------------------------------------------------------------

I'm puzzled why Gale added "and add a label" as part of step 2 - but it made me realize that I can't paste the text from Step 1 into the label - I can do successfully do that on Windows.  This is a separate issue which I will investigate separately
Comment 12 Peter Sampson 2020-06-28 07:08:44 UTC
(In reply to Peter Sampson from comment #11)
>I'm puzzled why Gale added "and add a label" as part of step 2 - but it 
>made me realize that I can't paste the text from Step 1 into the label - 
>I can do successfully do that on Windows.  
>This is a separate issue which I will investigate separately

Logged as Bug #2494
Comment 13 Leland Lucius 2021-01-22 00:47:13 UTC
Fix in:

https://github.com/audacity/audacity/commit/b4a0be9
Comment 14 Peter Sampson 2021-01-22 10:45:56 UTC
(In reply to Leland Lucius from comment #13)
Testing on macOS 11.1 Big Sur with Audacity 3.0.0 0123a3e

This now works properly - the text copies onto the clipboard at Step 1 can be pasted into the Save dialog.

Tested with
a) Save
b) Save As
c) Backup

Also tested with Export commands - works there too.