Command K Bars

(maggieappleton.com)

20 points | by Brajeshwar a day ago ago

22 comments

  • chrismorgan a day ago

    > By stashing infrequently-used items in a command bar like this, […] You don’t need to add that extra toolbar or layer of menu items.

    I’m concerned, from this description, about people putting features only in a command palette, and rendering features completely undiscoverable.

    This is one of the big problems of Windows’ Start Menu ever since Vista. In XP, you could find all your programs easily. Vista kinda hid them, and Windows 8 hid them a little more, and 11 hid them a lot more. They’re still there, but honestly difficult to find.

    So please make sure your features are still discoverable.

    Also remember that a lot of users are shockingly bad at typing. Command bars are a power user feature.

    • cosmic_cheese a day ago

      This is one of the reasons why I’m a super fan of the macOS global menubar.

      It’s always present and cannot be hidden by app developers, and so there’s no reason to not populate it, and thus the menubar serves as a consistently available master index of the program’s functions. That alone makes it invaluable.

      • zapzupnz 14 hours ago

        Those who undervalue this don’t realise that the Mac menu bar is also the standard mechanism for defining keyboard shortcuts; as long as it has an entry in the menu bar, it can have keyboard shortcuts assigned and even reassigned from System Settings.

        There’s incentive for the menu bar to be properly populated with all the functions that a program offers. Mac users expect it.

        Compare with non-standard Mac apps (mainly Electron apps or ports from other OS), modern Windows apps, and many Linux apps where the menu bar is often a second class citizen or completely absent, leaving you to the whims of the developer rather than enjoying conformance to a system-wide standard.

        • cosmic_cheese 14 hours ago

          Yep. Nothing screams “phoned in” like a Mac app with an empty menubar.

          • zapzupnz 7 hours ago

            And nothing screams "has never had the pleasure" like a Windows or Linux user who says "who cares if there's no menu bar?" ;-)

      • chrismorgan a day ago

        I’m extremely disappointed Ubuntu gave up on Unity. It had the same basic concept, and menus being searchable was so good. GNOME’s determined direction (Adwaita) is so dumb for anything but small, simple apps. Just hopelessly bad.

        Mind you, app-defined command palettes can be better than a global one because they can provide more information and context and augment it with other widgets as appropriate. The best command palettes are not just a searchable version of the menu, they add more.

        • cosmic_cheese a day ago

          I think probably app-defined palettes and a global menu is best possible combo.

          The app-defined palette enables more rich functionality as you’ve mentioned, while the system-owned global menu provides a consistent way to see everything an app is capable of without hunting and pecking through the palette. The menu also serves as a unified API for assistive and automation technology to interact with software and allows users to choose how the menus are displayed (don’t like a top-aligned menubar? Cool, your desktop can present it as window attached menus, a pie menu, or NeXT style floating menus or anything else you can imagine).

  • mikey_p a day ago

    The problem with this pattern is that command-k was already a commonly used shortcut for creating a link, which meant that products like Slack had to find something new for making a link so they overloaded paste which is super broken as a result.

  • netghost a day ago

    I'll just mention that if you follow the link and read the article, linger a while.

    Maggie Appleton's site is delightfully designed and thoughtful written. There are a ton of wonderful articles to enjoy there.

  • benvan a day ago

    Some fun history on how the cmd-k shortcut came to be:

    https://ux.stackexchange.com/a/153937

    • bobbiechen 20 hours ago

      Too humble to mention that you're the creator :) thank you Ben! In my opinion, Slack is the application that really popularized the command bar/palette in the mainstream.

      • wink 3 hours ago

        Popularized, probably true. But now I wonder which (maybe default?) keybinds I had for this in tiling window managers before Slack existed. And no clue when and how OS X introduced cmd-space.

    • mikey_p a day ago

      So I'm right to blame Slack for overloading an already existing shortcut??!? I've always blamed Slack, but I didn't know it actually was Slack that started this madness.

  • netghost 20 hours ago

    Did you know that macos has had a per application menu that does this for years?

    In most apps, press "cmd-shift ?" And you will activate the help search. I know, I know. We don't need help, but the other thing it does is reveal menu items from the native menubar.

    It's great for finding fiddly commands in complex native apps.

  • amitp a day ago

    Also, emacs M-x from 1980 or maybe TECO's extended command from 1978 (learned these from Bobbie Chen who wrote https://digitalseams.com/blog/why-do-sublime-text-and-vs-cod...)

  • n8cpdx a day ago

    How did these come to be associated with command-k and not command-p, which is the more common association at least for developer tools (chrome, vs code, sublime, figma, obsidian)? Command P makes sense since it is a Palette. Maybe it is just a weird quirk that all developer-facing tools use one binding while tools for the hoi polloi use the other.

    Particularly offensive to try to name the whole concept after Slack’s default keybinding.

    • wink 2 hours ago

      Half of the things you mentioned only came out after 2014. My Chrome wants to print with Comamnd-P.

      But I'm not disagreeing in principle, I personally use so many of these fuzzy search things in so many apps, all with different keybinds (which is maddening in another way) - and maybe that's just the objectively most well-known one?

    • treetalker 16 hours ago

      I think most people associate ⌘P with printing.

  • crtasm a day ago

    It's so frustrating when websites hijack this shortcut.

  • WithinReason a day ago

    PowerToys is the Windows equivalent

  • bitwize a day ago

    I'm glad to see that other software companies had recognized the power of M-x, which had been in Emacs since before GNU Emacs.

    Now if only they'd understand the power of immediate, pervasive extensibility in Lisp (Autodesk did!).

    • iLemming 18 hours ago

      If humans gravitated towards choosing logical paths instead of following emotions, they would be equally miserable, with the difference of added awareness - they'd still be miserable yet know why.

      It makes me sad to watch how some of the smartest and most resourceful programmers on the planet just keep ignoring the immense power, liberation, and joy that knowing some Lisp can grant you. Reminds me the quote from Idiocracy - "for the smartest guy in the world, you're pretty dumb sometimes"...