Recent Search prioritization makes workflow with large menu less predictable and breaks context prioritization #113302

Closed
opened 2023-10-05 20:23:13 +02:00 by Simon Thommes · 3 comments
Member

System Information
Operating system:
Graphics card:

Blender Version
Broken: 4.0
Worked: 3.6

Short description of error
Not directly a bug but a regression in terms of UX in my opinion. I talked about it with @JacquesLucke and he told me to raise it as a high priority bug to be discussed.

I'll go over my general issues that I personally have with the feature and then give some explicit examples. Then we can evaluate if all the issues can be sufficiently resolved by adjusting the heuristics or if there needs to be a different solution.

My main issue with the feature that is disrupting my workflow is that it makes using the search less predictable. As I'm not keeping track of the history of added nodes in my head, it makes it more difficult to expect a search result when typing in a certain string, as the history ranking might distort the hard heuristics of the search.

My issues lead me to the question what exactly the goal of that feature was in the first place. In my personal opinion there is an objectively sensible way to sort search results, especially if there is context information (e.g. socket type) in play. I understand that massaging all the heuristics that are used in just the right way to get that perfect every time might be very difficult, if not impossible. The solution to that issue is in my opinion:

  • Trying to get as close as possible to the best sorting we can tweaking the weights, also if that potentially means removing some heuristics. As long as it's understandable why a list is sorted as it is, I can expect a certain pattern.
  • Providing ways alternative to the search to quickly add common nodes that are part of the regular workflow
  • Providing ways that users can easily and dynamically create custom selections of menu entries they want to prioritize (favorites)

Some examples:

  • Mistyping and hitting enter will be remembered, so if you delete the wrongly added node and type the correct word, there is a good chance that the result from the wrongly spelled search pops up as the first entry, although there might be a better match by letters
  • A very common issue is that currently history is prioritized over context. So typing add in the link drag search will give you either Math or Vector Math, whichever was last used, regardless of the socket type.
  • Same for parts of names. Just adding a Vector Math node and then searching for Math will prioritize the Vector Math node over Math. Another, more drastic example is searching Instance on, adding the Instance on Points node and searching for Points after, which will prioritize the Instance on Points node again.
  • But the issue goes beyond exact name matches. Even just Typing Poi, I would expect Points to have a higher priority in this case, regardless of which node I added before that.

In general I think this feature is just mixing two things that should stay separate. I get the idea on paper for certain cases, but practically it leads to so many more issues that it actually solves. And in my opinion it approaches the issue from the wrong angle.

I can see a searchable menu history work in general, but imo it should be complementary and not mixed into the regular search.

**System Information** Operating system: Graphics card: **Blender Version** Broken: 4.0 Worked: 3.6 **Short description of error** Not directly a bug but a regression in terms of UX in my opinion. I talked about it with @JacquesLucke and he told me to raise it as a high priority bug to be discussed. I'll go over my general issues that I personally have with the feature and then give some explicit examples. Then we can evaluate if all the issues can be sufficiently resolved by adjusting the heuristics or if there needs to be a different solution. My main issue with the feature that is disrupting my workflow is that it makes using the search less predictable. As I'm not keeping track of the history of added nodes in my head, it makes it more difficult to expect a search result when typing in a certain string, as the history ranking might distort the hard heuristics of the search. My issues lead me to the question what exactly the goal of that feature was in the first place. In my personal opinion there is an objectively sensible way to sort search results, especially if there is context information (e.g. socket type) in play. I understand that massaging all the heuristics that are used in just the right way to get that perfect every time might be very difficult, if not impossible. The solution to that issue is in my opinion: - Trying to get as close as possible to the best sorting we can tweaking the weights, also if that potentially means removing some heuristics. As long as it's understandable why a list is sorted as it is, I can expect a certain pattern. - Providing ways alternative to the search to quickly add common nodes that are part of the regular workflow - Providing ways that users can easily and dynamically create custom selections of menu entries they want to prioritize (favorites) Some examples: - Mistyping and hitting enter will be remembered, so if you delete the wrongly added node and type the correct word, there is a good chance that the result from the wrongly spelled search pops up as the first entry, although there might be a better match by letters - A very common issue is that currently history is prioritized over context. So typing add in the link drag search will give you either `Math` or `Vector Math`, whichever was last used, regardless of the socket type. - Same for parts of names. Just adding a `Vector Math` node and then searching for `Math` will prioritize the `Vector Math` node over `Math`. Another, more drastic example is searching `Instance on`, adding the `Instance on Points` node and searching for `Points` after, which will prioritize the `Instance on Points` node again. - But the issue goes beyond exact name matches. Even just Typing `Poi`, I would expect Points to have a higher priority in this case, regardless of which node I added before that. In general I think this feature is just mixing two things that should stay separate. I get the idea on paper for certain cases, but practically it leads to so many more issues that it actually solves. And in my opinion it approaches the issue from the wrong angle. I can see a searchable menu history work in general, but imo it should be complementary and not mixed into the regular search.
Simon Thommes added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-10-05 20:23:14 +02:00
Contributor

same as #113289

same as #113289
Member

I can confirm. It indeed breaks the workflow. We already have few bug reports about this: #113302, #113289
I'm not sure in which cases "prioritizing previous search result" is useful (maybe when few letters are typed).
We already store last searched entry in buffer when f3 is pressed (since many versions).

I can confirm. It indeed breaks the workflow. We already have few bug reports about this: #113302, #113289 I'm not sure in which cases "prioritizing previous search result" is useful (maybe when few letters are typed). We already store last searched entry in buffer when f3 is pressed (since many versions).
Member

I committed two changes now which improve the behavior

I'll close this for now. If there are more issues, please give more concrete examples.

I committed two changes now which improve the behavior * 0aa91a30ddd05b6a2ffeed3a8302be5453ee2a9c * 046155572daa1bb0bf6f2d76005ec5002ce733b0 I'll close this for now. If there are more issues, please give more concrete examples.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-10-06 16:45:23 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#113302
No description provided.