All module view doesn't fit on the screen

When I expand the Modules to show all modules, it occupies my entire screen, but it is not a full list, nor I can expand or scroll. This is on a laptop with 4K screen. I suspect it is something to do with the scaling

I wonder if we should just remove that menu. Do you ever find it useful?

Alernately, a scroll bar might do the trick. Sometimes browsing is helpful to me, if I don’t remember the exact name of the module.

Same as Ron. I do use it for modules that I occasionally use and can’t remember their full name or where they are located.

Try this in the python console - if you like it we can make it the default.

a = findChildren(mainWindow(), text="All Modules")[0]
a.menu().setStyleSheet("QMenu { menu-scrollable: 1; }")
1 Like

Definitely better +1 for making default.

Agreed. Not anticipating objections I went ahead and committed the change.

I’ve run into this issue, too. Setting it scrollable makes the menu nicer but it is still not very usable (it takes about 10 seconds to get to the end of the list, which is way too long).

I’ll add a module finder dialog, which allows quick search&filter of a module. It solves the other common complaints that users don’t know where the module shows up in the categorized module list; or users don’t know the module type (CLI, Loadable, Scripted, …).

Here is a quick preview of a new work-in-progress module selector:

  • It can select a module using the same number of clicks as the the Ctrl/Cmd-F combobox (type characters, press arrow-down key N times, then press Enter to go to that module)
  • Built-in modules can be hidden, so it is easy to find modules installed by extensions
  • Module category is shown (e.g., Cleaner module is available in Surface models->Advanced category)
  • Developer information can be optionally displayed: module type (CLI, C++ loadable, scripted loadable), location, dependencies

It could be added as an “All modules” menu item (replacing the submenu by a popup) or replace the current Ctrl/Cmd-F combobox. Replacing the combobox would be probably better, to reduce redundancy (the combobox and this finder works very similarly) and to make the module finder easily accessible (single-click on the main interface, familiar shortcut).

Wow, cool! I think it would be great to replace the Ctrl/Cmd-F combobox with this dialog.

The implementation is ready (see pull request). I find that the new module selector works really well: it makes it much easier to browse and find modules and it does not require more clicks than the combobox that it replaced. Since “All modules” submenu is not needed anymore, the module selector is simplified, too.

3 Likes

This is now available in the Preview Release:

1 Like