Prototype: a quick search bar for tools, points and variables

Hi everyone,

I’ve built a search bar prototype for Seamly2D in my own build, and before I open an issue or a PR I’d like to hear what you think and what you’d want it to do.

What it is

Most modern desktop apps have one of these by now: the command palette in VS Code, Discover search in Photoshop and Illustrator, F3 search in Blender, quick actions in Figma etc. People like me already expect to type what they want instead of hunting through menus, and Seamly doesn’t have that yet.

It’s a search field at the top of the window. You click it or press Cmd+F / Ctrl+F, start typing, and it lists matching:

  • Tools and commands from the menus, toolbars and panels. Each result shows what it is (“Point tool”, “Curve tool”, “File”, “Toolbar”…) and its keyboard shortcut.
  • Points and curves in your pattern. Picking one zooms to it.
  • Variables (line lengths, angles, curve lengths…), with their current value shown right in the list.
  • The Seamly wiki. The last entry searches the help for whatever you typed.

Matching is forgiving: you don’t need the exact name, so “bis” finds On Bisector and “pt len” finds Length and Angle. If you click the field without typing, you get your recently used items plus a few common starters (New, Open, Line, Point at length and angle…).

Why I think it helps

  • No more menu hunting. You find a tool by what it does, without remembering which menu or toolbar it’s in. That helps newcomers most, but also anyone who uses a tool once a month.
  • You learn shortcuts as you go. Every result shows its shortcut, so the search slowly teaches you the faster way.
  • Big patterns are easier to move around. Type a point name like A27 and jump straight to it, without scanning the drawing.
  • Values at a glance. You can check a length or angle without opening the variables table.
  • Help is one step away. You can search the wiki from the same place.

Where it stands

It’s a prototype that I’ve only used on macOS so far, where it sits in the title bar. On Windows and Linux it would go in the menu bar area, but I haven’t tested that yet. Nothing is submitted. Following the contributing process, I want to discuss it here first and open an issue.

What I’d love your input on

  1. What else should it find? Measurements, pattern pieces, draft blocks, groups, preference settings, layout pieces?
  2. What should happen when you pick a result? For example, should picking a point select it, or start a tool from it, instead of only zooming?
  3. What should it show before you type? Recent items, your most used tools, recent files?
  4. Shortcut: is Cmd+F / Ctrl+F right, or does it clash with how you work?
  5. Placement on Windows and Linux: where would you expect the field?
  6. Anything that would make it annoying, or that you’d want to be able to turn off.

Demo below. All feedback is welcome, including “I’d never use this” :slightly_smiling_face:

There’s already a toolbar search:

Intriguing. Although, as @Douglas said, we already have an object search available on the zoom toolbar. However, I could see splitting it off onto a Search toolbar along with a toolbox search —I think it could be handy for small screens. On the other hand, I already find myself intermittently wishing I had the chops to fork off a Seamly Lite demo grade distro, & this feels more like bloat than actually useful.

I also use an analog, mechanical watch & highly value being able to see things in context.

Also, you vaunt its usefulness to newbies, but I counter that newbies don’t even know rightly what to search for yet, that takes pawing through the toolboxes, learning what’s there.

That said, would I use it? Maybe, but I expect it would be inaccessible at the times I’d want it

:unicorn:

@Pneumarian @Douglas thanks for the comments.

That toolbar search at least for me is not acting as real search on Mac - if I have multiple items with same name it matches the first one only. And usually I do have multiple items that have same substrings in names.

The idea was to integrate wiki as well / do some common questions so if someone type “How do I make an armhole” we would surface that.

Also even if you’re seasoned user and want to quickly change a setting - using a search allows you to find it instantly instead of going through menu and dialogues.

I see limitless potential here - we could even combine common actions and objects - say you start typing “Add grainline” and then we add “Add grainline piece A”, “Add grainline piece B” etc. so you just have to click one option - just a quick idea, maybe there are better usecases.

I’m a power Adobe Illustrator user myself, but I never remember where specific tool or menu option is (there are so many toolbars and sub-menus) - I mostly just search for them in the search :))

Maybe not that big of a deal as Seamly has less functionalities, but it’s just software feature that’s available in many tools now.

You should NOT have multiple items with thre same name.

Sorry to hear. IMO Adobe sucks. :face_vomiting:

¯\_(ツ)_/¯ @Douglas maybe I’m misreading and overreacting, but so far all my ideas we’re met with pushback from your side without any constructive feedback? Should I just fuck off?

I got distracedf by a PM… and the bulk of my respnse got cutoff…

I suggest to use the Qt Help framework under the Help menu. Last thing we need is another toolbar taking up space.

The intent of Seamly is to draft patterns NOT teach someone how to draft patterns. If a user wants to know how to draft an armhole they should search Google or YouTube.

As far as the Adobe comment… you seem to want to change the whole UI into an Adobe product?