You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In the File Menu Close and Exit would be better co-located #6644
The Audacity commands for Close and Exit perform somewhat related (but more than subtly different) functions and thus it might make sense to co-locate them in the File menu.
I support that suggestion as it would provide greater clarity of purpose of the Close command.
Problem to be solved
A recent posting in a thread on GitHub #1464 (9th post) shows that users can be confused as to the differences between Close and Exit - and indeed may even overlook the Close and only use Exit (when they don't really intend to close all open projects).
So it may make sense to co-locate them in the menu to encourage "discoverabilty" of the differences between the two.
It would also the two commands to be co-located on the manual page for the File menu.
F. Exiting Audacity via 'file' - 'exit' and the upper - right corner X produces different results. Using the 'X' only closes the running instance of audacity that is the focus at the moment, which seems to me the correct behavior - though I'm not sure closing this way invokes the 'compacting' routine when appropriate. The 'file' - 'exit' mode causes all currently running instances of Audacity to close, which to me is an unexpected and undesirable action. Both modes of exiting the program should close only the current instance, invoking the 'compacting' routine when appropriate, and prompting the user to save the project - or not - before close if unsaved edits exist.
@LWinterberg I will add this to your Cleanup super-bug
This is a great idea. Out of habit, my eye always goes to the bottom of the ‘File’ menu looking for ‘Exit’.
To make the distinction even clearer – though this is decidedly non-standard – the menu items could read:
Close This
Exit All
Or something similar.
John Green
Apple has specified detailed guidelines for the interface. I don't think the order of the menus in the File menu should be changed in Audacity for the macOS platform.
I'm far from convinced that Apple should be the final arbiter in the design of Audacity menus, not least because Mac users of Audacity are a relative minority compared with Windows users.
I also note from following your link that Apple have no specification for an "Exit" command anywhere in their guidelines for a File menu, so the topic of Close and Exit co-location (the subject of this ENH thread) fails to be addressed by Apple.
And these are Oracles's design guidelines - note that they have Close and Exit co-located at the bottom of suggested File menu layouts:
And their use of Close and Exit parallel's Audacity's usage.
yeah, HIGs are guidelines, not absolute rules. It's not uncommon to see different HIGs contradict each other, or examples being shown inside a HIG which don't "apply the HIG correctly". On a very related note, it's delightful to read HIGs from the 80s and 90s - it appears to me (though I cannot prove it exactly) that Apple's HIG on the use of ellipses in menus is inspired by Microsoft Excel (the then-macOS exclusive alternative to Microsoft Multiplan) as Apple software at the time does not use it.
Anyway, for this bug: We decided to keep Close in the traditional-ish order (ie in the New/Open/Close/Save group, after which the Import/Export follows), though separated out a bit to prevent misclicks.
I don't mind it being moved down, though I'd prefer seeing its name changed fora release first before being moved, just to ease confusion a bit.
As for the final names and positions, I prefer
Close Project
Quit Audacity
at the bottom
(which, incidentally, would also make Ctrl+Q make sense for Quit again)
I agree with this idea.
If possible, please consider leaving it as it is in macOS. It might be related to the development environment of Audacity.
Also I don't think Apple's HIG is an absolute standard to follow - many Audacity users use keyboard shortcuts or access keys, may not notice the change the change:)
Though, I know that a certain number of people are confused by a change in menu order.
I checked the "File" menu of proprietary and open source cross-platform apps, Studio One / VLC mediaplayer / Handbrake / Google Chrome / Affinity Photo were compliant with Apple's HIG. Newer DTM app Studio One, only basic functions are available from the menu. Most functions you must use from the panel interface.
When Apple moved the classic Mac OS to the UNIX-based Mac OS X more than 20 years ago, the "Application" menu was newly placed between the "Apple" menu and the "File" menu. At that time, Apple moved "Quit" ("Exit" in Windows) from the traditional "File" menu to the "Application" menu. It might be small change. I remember the confusion and debate that erupted in the Mac community at the time.
It is interesting to see Microsoft, who values compatibility, is making a BIG change to the Windows GUI many time.
In any case, Windows OS and mac OS have developed in a mutually inspiring way.
The Linux and Mac builds appear to have worked - but the Windows builds failed.
UPDATE
And the Mac build fails to run on my Macbook Pro macOS 12.7.6 Monterey- it tells me the that file is "damaged" and advises deleting. I tried both the Universal and the Intel x86_64 build artefacts.
I don't think it's due to something I did. The build itself seems fine but the tests seem to be failing by timing out. I have no idea what the issue could be. The code change shouldn't warrant it, the changes are pretty basic.
Section( "Exit",
// On the Mac, the Exit item doesn't actually go here...wxMac will
// pull it out
// and put it in the Audacity menu for us based on its ID.
/* i18n-hint: (verb) It's item on a menu. */
Command( wxT("Exit"), XXO("&Quit Audacity"), OnExit,
AlwaysEnabledFlag, wxT("Ctrl+Q") )
This is probably the only thing I can think of that would cause mac build to fail, but the one in actions seems to have worked.
Testing on W10 with @nalin243 's latest branch build for this: audacity-win-3.7.0-alpha-20240908+575662c-x64
a)The new wording is implemented properly
b) the two commands are now co-located at the bottom of the File menu
But I'm failing to understand why we have (or need) a separator line between the two commands as they are both very closely related in functionality. @LWinterberg do you agree, Leo?
see discussion in #7275 (comment) - it apparently is standard practice to have one between the two (could verify this in VScode and some others too), and also makes it slightly harder to misclick quit when you mean close.
Activity
jpgreen3 commentedon Jun 9, 2024
LWinterberg commentedon Jun 10, 2024
fwiw, the traditional place for Close is to live together with Open, rather than Exit.
Examples
Older Audacity versions did this too
However, more modern programs seem to have it at the bottom:
Examples
petersampsonaudacity commentedon Jun 10, 2024
@LWinterberg
So what is your call on this Leo ?
SakiPapa commentedon Jun 13, 2024
Apple has specified detailed guidelines for the interface. I don't think the order of the menus in the File menu should be changed in Audacity for the macOS platform.
https://developer.apple.com/design/human-interface-guidelines/the-menu-bar#File-menu
petersampsonaudacity commentedon Jun 13, 2024
@SakiPapa
I'm far from convinced that Apple should be the final arbiter in the design of Audacity menus, not least because Mac users of Audacity are a relative minority compared with Windows users.
I also note from following your link that Apple have no specification for an "Exit" command anywhere in their guidelines for a File menu, so the topic of Close and Exit co-location (the subject of this ENH thread) fails to be addressed by Apple.
petersampsonaudacity commentedon Jun 13, 2024
I also note that, in contrast to Apple's guidelines, Microsoft makes no such prescriptive layout recommendations for menus in apps:
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/bb226797(v=vs.85)
But in their own Apps the Close command goes right at the bottom of their File menus.
Word
Excel
Powerpoint
petersampsonaudacity commentedon Jun 13, 2024
And these are Oracles's design guidelines - note that they have Close and Exit co-located at the bottom of suggested File menu layouts:

And their use of Close and Exit parallel's Audacity's usage.
See: https://docs.oracle.com/cd/E19455-01/806-2915/6jc3nftni/index.html
DavidBailes commentedon Jun 13, 2024
So maybe:
Close Project
Exit
(Which would be similar to Reaper)
petersampsonaudacity commentedon Jun 13, 2024
Sounds good to me @DavidBailes - I like the clarity of purpose that that provides "Does what it says on the tin".
Should I add your suggestion to the top post in this thread David?
DavidBailes commentedon Jun 13, 2024
It can be added anywhere.
LWinterberg commentedon Jun 13, 2024
yeah, HIGs are guidelines, not absolute rules. It's not uncommon to see different HIGs contradict each other, or examples being shown inside a HIG which don't "apply the HIG correctly". On a very related note, it's delightful to read HIGs from the 80s and 90s - it appears to me (though I cannot prove it exactly) that Apple's HIG on the use of ellipses in menus is inspired by Microsoft Excel (the then-macOS exclusive alternative to Microsoft Multiplan) as Apple software at the time does not use it.
Anyway, for this bug: We decided to keep Close in the traditional-ish order (ie in the New/Open/Close/Save group, after which the Import/Export follows), though separated out a bit to prevent misclicks.
I don't mind it being moved down, though I'd prefer seeing its name changed fora release first before being moved, just to ease confusion a bit.
As for the final names and positions, I prefer
at the bottom
(which, incidentally, would also make Ctrl+Q make sense for Quit again)
petersampsonaudacity commentedon Jun 13, 2024
That sounds good to me Leo 👍
SakiPapa commentedon Jun 14, 2024
Please excuse the geographical time lag.
LWinterberg-san wrote,
I agree with this idea.
If possible, please consider leaving it as it is in macOS. It might be related to the development environment of Audacity.
Also I don't think Apple's HIG is an absolute standard to follow - many Audacity users use keyboard shortcuts or access keys, may not notice the change the change:)
Though, I know that a certain number of people are confused by a change in menu order.
I checked the "File" menu of proprietary and open source cross-platform apps, Studio One / VLC mediaplayer / Handbrake / Google Chrome / Affinity Photo were compliant with Apple's HIG. Newer DTM app Studio One, only basic functions are available from the menu. Most functions you must use from the panel interface.
When Apple moved the classic Mac OS to the UNIX-based Mac OS X more than 20 years ago, the "Application" menu was newly placed between the "Apple" menu and the "File" menu. At that time, Apple moved "Quit" ("Exit" in Windows) from the traditional "File" menu to the "Application" menu. It might be small change. I remember the confusion and debate that erupted in the Mac community at the time.
It is interesting to see Microsoft, who values compatibility, is making a BIG change to the Windows GUI many time.
In any case, Windows OS and mac OS have developed in a mutually inspiring way.
LWinterberg-san,
About "ellipsis", Mac OS System 1.0 (1984) had used "..." in the menu bar before Microsoft Excel 1.0 (1985) used in its menu :)
https://winworldpc.com/screenshot/7ac2aec2-a20e-24e2-8098-11c3a4e284a2/d1a355f4-d600-11e7-a73f-fa163e9022f0
7 remaining items
LWinterberg commentedon Sep 4, 2024
@nalin243
3.6.2 got merged into master 5 mins ago, you can go ahead :)
petersampsonaudacity commentedon Sep 8, 2024
@nalin243
The Linux and Mac builds appear to have worked - but the Windows builds failed.
UPDATE
And the Mac build fails to run on my Macbook Pro macOS 12.7.6 Monterey- it tells me the that file is "damaged" and advises deleting. I tried both the Universal and the Intel x86_64 build artefacts.
nalin243 commentedon Sep 8, 2024
@petersampsonaudacity
I don't think it's due to something I did. The build itself seems fine but the tests seem to be failing by timing out. I have no idea what the issue could be. The code change shouldn't warrant it, the changes are pretty basic.
This is probably the only thing I can think of that would cause mac build to fail, but the one in actions seems to have worked.
kryksyh commentedon Sep 8, 2024
@nalin243 your changes are fine. The build failure is fixed in master, please rebase/merge your pr branch
petersampsonaudacity commentedon Sep 8, 2024
Testing on W10 with @nalin243 's latest branch build for this: audacity-win-3.7.0-alpha-20240908+575662c-x64
a)The new wording is implemented properly
b) the two commands are now co-located at the bottom of the File menu
But I'm failing to understand why we have (or need) a separator line between the two commands as they are both very closely related in functionality.
@LWinterberg do you agree, Leo?
dozzzzer commentedon Sep 24, 2024
@LWinterberg Do we really need a separator here?
LWinterberg commentedon Sep 24, 2024
see discussion in #7275 (comment) - it apparently is standard practice to have one between the two (could verify this in VScode and some others too), and also makes it slightly harder to misclick quit when you mean close.
dozzzzer commentedon Sep 24, 2024
In this case, tested and good to go!