Skip to content

In the File Menu Close and Exit would be better co-located #6644

Closed

Description

@petersampsonaudacity

Your idea

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.

As it is now:
image

Proposed rearrangement:
image

@DavidBailes suggests later in this thread:

So maybe:
Close Project
Exit

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.

Prior art

See above.

Additional context

User @jpgreen3 wrote in #1464

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

Activity

  1. added
    Enhancement Request
    on Jun 9, 2024
  2. jpgreen3 commented on Jun 9, 2024

    @jpgreen3
  3. LWinterberg commented on Jun 10, 2024

    @LWinterberg
    Member

    fwiw, the traditional place for Close is to live together with Open, rather than Exit.

    Examples

    image

    Older Audacity versions did this too

    However, more modern programs seem to have it at the bottom:

    Examples

    image

    image

  4. petersampsonaudacity commented on Jun 10, 2024

    @petersampsonaudacity
    Author

    @LWinterberg

    So what is your call on this Leo ?

  5. SakiPapa commented on Jun 13, 2024

    @SakiPapa

    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

  6. petersampsonaudacity commented on Jun 13, 2024

    @petersampsonaudacity
    Author

    @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.

  7. petersampsonaudacity commented on Jun 13, 2024

    @petersampsonaudacity
    Author

    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

    image

    Excel

    image

    Powerpoint

    image

  8. petersampsonaudacity commented on Jun 13, 2024

    @petersampsonaudacity
    Author

    And these are Oracles's design guidelines - note that they have Close and Exit co-located at the bottom of suggested File menu layouts:
    image
    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

  9. DavidBailes commented on Jun 13, 2024

    @DavidBailes
    Collaborator

    To make the distinction even clearer – though this is decidedly non-standard – the menu items could read:
    Close This
    Exit All
    Or something similar.

    So maybe:
    Close Project
    Exit
    (Which would be similar to Reaper)

  10. petersampsonaudacity commented on Jun 13, 2024

    @petersampsonaudacity
    Author

    So maybe:
    Close Project
    Exit

    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?

  11. DavidBailes commented on Jun 13, 2024

    @DavidBailes
    Collaborator

    Should I add your suggestion to the top post in this thread David?

    It can be added anywhere.

  12. LWinterberg commented on Jun 13, 2024

    @LWinterberg
    Member

    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)

  13. petersampsonaudacity commented on Jun 13, 2024

    @petersampsonaudacity
    Author

    As for the final names and positions, I prefer

    * Close Project
    
    * Quit Audacity
    

    at the bottom

    That sounds good to me Leo 👍

  14. SakiPapa commented on Jun 14, 2024

    @SakiPapa

    Please excuse the geographical time lag.

    LWinterberg-san wrote,

    As for the final names and positions, I prefer

    • Close Project
    • Quit Audacity

    at the bottom

    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

  15. 7 remaining items

  16. LWinterberg commented on Sep 4, 2024

    @LWinterberg
    Member

    @nalin243

    3.6.2 got merged into master 5 mins ago, you can go ahead :)

  17. petersampsonaudacity commented on Sep 8, 2024

    @petersampsonaudacity
    Author

    @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.

  18. nalin243 commented on Sep 8, 2024

    @nalin243
    Contributor

    @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.

          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.

  19. kryksyh commented on Sep 8, 2024

    @kryksyh
    Member

    @nalin243 your changes are fine. The build failure is fixed in master, please rebase/merge your pr branch

  20. petersampsonaudacity commented on Sep 8, 2024

    @petersampsonaudacity
    Author

    Testing on W10 with @nalin243 's latest branch build for this: audacity-win-3.7.0-alpha-20240908+575662c-x64

    image

    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?

  21. added this to the Audacity 3.7 milestone on Sep 20, 2024
  22. moved this from To-Do to Ready for QA in [AU3] Main boardon Sep 20, 2024
  23. dozzzzer commented on Sep 24, 2024

    @dozzzzer
    Contributor

    @LWinterberg Do we really need a separator here?

    image
  24. LWinterberg commented on Sep 24, 2024

    @LWinterberg
    Member

    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.

  25. dozzzzer commented on Sep 24, 2024

    @dozzzzer
    Contributor

    In this case, tested and good to go!

  26. moved this from In QA to Ready for merge in [AU3] Main boardon Sep 24, 2024
  27. moved this from Ready for merge to Done in [AU3] Main boardon Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement Requestmenus

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions