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

Audacity Bugzilla



Bug 1578 - TXT and XML exports are not to Documents and may require elevation to save
TXT and XML exports are not to Documents and may require elevation to save
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: User Interface
2.1.3
Per OS All
: P3 Repeatable
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-20 10:05 UTC by Gale Andrews
Modified: 2019-08-13 11:55 UTC (History)
4 users (show)

See Also:
Steps To Reproduce:
Windows: 1 In Regedit, navigate on Windows 7 or later to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedPidlMRU. 2 In the pane on the right, examine each numbered binary item to find the Audacity item. Delete the item that refers to Audacity. 3 Launch Audacity. Record or generate audio and add a label. 4 Open the dialogues to export Labels, export from Labels Editor, export from Plot Spectrum, and open Keyboard Preferences to export key bindings. These dialogs all open in the current directory which will not be writable to a standard user. 5 After changing the export directory in any of these dialogues, all dialogues in Step 4 will now open at that export directory. * Mac This works "somewhat" like Windows, the OS storing the save project path, which all the above dialogues use if the path is changed. In HEAD, only keyboard bindings initialize on first use of Audacity to saving in a location (Applications) which requires elevated privileges. On a new Snow Leopard installation, I saw in 2.1.2 that all the dialogues in the steps above open to the user's Documents folder. But if you then open the Save or Export dialogues (which open in the Audacity installation folder), don't save anything then reopen one of the dialogues in the steps, those dialogues too now open in the Audacity installation folder. On a new Lion installation, I saw in HEAD that all the dialogues in the steps above except keyboard bindings open to Documents. Keyboard bindings opens to Applications. As soon as you have opened and closed the export keyboard bindings dialogue, all the dialogues in the steps then open to Applications. Linux 1 After installing Audacity and deleting audacity.cfg, the above export directories are set to ~/ by the system. This location is of course writable, but does not match with ~/Documents where we export audio and save projects to.
Release Note:
GROUP: Installation * '''Although first installation of Audacity will default audio export and project save to the user's Documents folder, TXT and XML exports such as for labels files, Plot Spectrum or keyboard bindings may offer to export elsewhere.''' ** On Windows the offered location will be the Audacity installation folder - if you are not running Audacity as Administrator, you must change the export folder in order to save the file. ** On Mac, keyboard bindings will open first time in Applications if you have not already exported or saved any files. You must change the export directory to save if you are not running as administrator. If you cancel keyboard bindings export after it offers the Applications directory, all other TXT and XML exports will then default to saving in Applications. ** On Linux, TXT and XML exports default to the root of your Home directory.
First Git SHA:
Group: Export
Workaround:
Closed: 2019-08-13 00:00:00
james.k.crook: Must‑Test‑All‑OS+
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+
stevethefiddle: Test‑OK‑Lin+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2017-01-20 10:05:37 UTC

    
Comment 1 Steve Daulton 2017-01-20 11:24:12 UTC
Does it not just require selecting a user writeable storage location rather than requiring elevated permissions to save?
Comment 2 Gale Andrews 2017-01-20 12:21:15 UTC
(In reply to Steve Daulton from comment #1)
> Does it not just require selecting a user writeable storage location rather than
> requiring elevated permissions to save?
That is what the Release Note says users should do, yes. The bug title implies "may require elevation if you don't change the directory."
Comment 3 James Crook 2017-08-11 09:42:29 UTC
Not marking as 'repeatable all' as the location and steps are OS specific.
Comment 4 Peter Sampson 2019-08-13 11:02:13 UTC
Testing on W10 with audacity-2.3.3-alpha-317-44c46f7574e89638823c6cc895caa2cd5135d427

Some time back we changed the default target on Windows to be Documents\Audacity in the users directory.

This is the default location that now both .txt and .xml files go (as do exports an saves) - so this WORKSFORME on W10
Comment 5 Peter Sampson 2019-08-13 11:04:50 UTC
Testing on Mac with 2.3.3 jc007

Default settings on Mac and then exporting .txt or .xml files the target location is Documents in the users folders - so WORKSFORME on Mac
Comment 6 Peter Sampson 2019-08-13 11:06:38 UTC
And I am certainly *not* messing about in my Registry settings as Gale suggests in the Steps to reproduce:

>1 In Regedit, navigate on Windows 7 or later to >HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
>ComDlg32\LastVisitedPidlMRU.
Comment 7 Steve Daulton 2019-08-13 11:55:35 UTC
Testing on Linux:
The default export directory in each case specified in "Steps to reproduce", is:
~/Documents/

Closing as fixed.