Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

no mnemonics in menus (File, Edit, ...) #6666

Description

@kolAflash

My system:
Linux
Desktop: KDE 4.14.6

In the menus there are any mnemonics shown at all!
(the menu buttons themselves show mnemonics when pressing ALT)
E.g. in File menu:

New Window
New File
Open File
...

don't show any mnemonics. Also when pressing "ALT" while menu is opened.
Nevertheless, mnemonics seem to be there (but not shown). If I press "n" while in File menu (found out by guessing) Atom opens a new file.

Activity

  1. added
    linux
    on May 6, 2015
  2. kolAflash commented on May 7, 2015

    @kolAflash
    Author

    Guess this is not just an enhancement but a bug! Because on Windows there are mnemonics in the menus.

    Additionally tested this on Kubuntu 14.04. It also has that bug!

    Nevertheless, on Ubuntu 14.04 with Unity the mnemonics in the menu are displayed correctly. Probably, because the menu is rendered by Unity in the Unity-Systembar (or also the window titlebar).
    After switching off the menu rendering by Unity (apt-get remove indicator-appmenu) the bug also appears in Unity... :-/

    Maybe this is related:
    https://groups.google.com/a/chromium.org/forum/#!topic/chromium-bugs/FgE4vTD8JbM

  3. kolAflash commented on Sep 27, 2015

    @kolAflash
    Author

    Anyone else having this issue?

    I don't think it's hard to find the reason for this if you have some knowledge of the source (which I unfortunately don't have).

  4. dead-claudia commented on Nov 8, 2015

    @dead-claudia

    I don't have the issue. I'm running Ubuntu GNOME 14.04, 64-bit.

  5. kolAflash commented on Feb 23, 2016

    @kolAflash
    Author

    This is what it looks like for me on Ubuntu GNOME 15.10.

    Pressing ALT to show mnemonics. Now Atom shows a mnemonic for each menu.
    alt-pressed

    Pressing ALT-F to open the File menu. But there are no more mnemonics. Either for the different menus (File, Edit, View, ...) nor for the entries in the menus ("New Window", "New File", "Open File", ...).
    menu-opened

    Pressing just ALT on Windows (8.1) looks the same.
    alt-pressed_win

    But pressing ALT-F on Windows also gives mnemonics in the menus.
    menu-opened_win

  6. dead-claudia commented on Feb 25, 2016

    @dead-claudia

    I can confirm on Ubuntu 15.10 as well. It's inconvenient on rare occasion,
    but in practice I hardly notice. Low priority for me to want fixed.

    On Tue, Feb 23, 2016, 02:10 kolAflash [email protected] wrote:

    This is what it looks like for me on Ubuntu GNOME 15.10.

    Pressing ALT to show mnemonics. Now Atom shows a mnemonic for each menu.
    [image: alt-pressed]
    https://cloud.githubusercontent.com/assets/3355089/13243948/e5222078-da02-11e5-9e57-40d9629a59ff.png

    Pressing ALT-F to open the File menu. But there are no more mnemonics.
    Either for the different menus (File, Edit, View, ...) nor for the entries
    in the menus ("New Window", "New File", "Open File", ...).
    [image: menu-opened]
    https://cloud.githubusercontent.com/assets/3355089/13243950/e897cca8-da02-11e5-9243-c4ccca90bd25.png

    Pressing just ALT on Windows (8.1) looks the same.
    [image: alt-pressed_win]
    https://cloud.githubusercontent.com/assets/3355089/13244206/a5f8f1c2-da04-11e5-8f5f-cb5aa51c8cae.png

    But pressing ALT-F on Windows also gives mnemonics in the menus.
    [image: menu-opened_win]
    https://cloud.githubusercontent.com/assets/3355089/13244217/b56d7ad8-da04-11e5-9ac9-f9649c0c2fa1.png

    —
    Reply to this email directly or view it on GitHub
    #6666 (comment).

  7. rivis commented on Jan 8, 2017

    @rivis

    I have the same issue.

    Atom: 1.12.9
    OS: Debian GNU/Linux 8.6 (jessie)
    Desktop: Xfce4 4.10

    This issue was the largest blocker for me to move to Atom from other editors because I usually use the menu by mnemonic key strokes to run commands which don't have key-bindings or I can't remember key-bindings of.

    Until the issue is fixed, I wrote a script in $HOME/.atom/init.js to show mnemonics in menu labels.

    (() => {
        let appendMnemonic = (menuList) => {
            menuList.forEach((menu) => {
                if (menu.label) {
                    let amp = menu.label.indexOf('&');
                    if (amp >= 0) {
                        let mnemonic = menu.label.charAt(amp + 1).toUpperCase();
                        menu.label = `${menu.label}  (${mnemonic})`;
                    }
                }
                if (menu.submenu) {
                    appendMnemonic(menu.submenu);
                }
            })
        }
        appendMnemonic(atom.menu.template);
        atom.menu.update();
    })();

    atom-mnemonics

  8. jsolisu commented on Jan 8, 2017

    @jsolisu

    I don´t have the issue on Windows 10.

  9. winstliu commented on Jan 8, 2017

    @winstliu
    Contributor

    I don´t have the issue on Windows 10.

    Yep, because this is a Linux-only bug.

  10. stale commented on Jan 8, 2018

    @stale

    Thanks for your contribution!

    This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:

    1. Verify that you can still reproduce the issue in the latest version of Atom
    2. Comment that the issue is still reproducible and include:
      • What version of Atom you reproduced the issue on
      • What OS and version you reproduced the issue on
      • What steps you followed to reproduce the issue

    Issues that are labeled as triaged will not be automatically marked as stale.

  11. kolAflash commented on Jan 10, 2018

    @kolAflash
    Author

    Bug is still existing in 1.23.3 without any changes to what I previously reported.

  12. daviwil commented on Jan 24, 2019

    @daviwil
    Contributor

    Looks like this has been fixed by Electron 3 based on a quick check using my Manjaro Linux machine! Keep an eye on this PR for when the Electron 3 upgrade is complete: #18603

  13. winstliu commented on Mar 15, 2019

    @winstliu
    Contributor

    New Electron 3 PR is #18916.

  14. lock commented on Nov 16, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  15. locked as resolved and limited conversation to collaborators on Nov 16, 2019
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

    bugelectronlinux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions