Bug report #20099

Locator bar does not update the filter of algorithms according to active layer when using "ef"

Added by Harrissou Santanna almost 2 years ago. Updated almost 2 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:Processing/Core
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27921

Description

Add a point and line layers
Select the line layer
In the locator bar, type "ef ". You get the list of edit-in-place algorithms.
Switch to the other layer
and move back to the locator bar where the "ef " should still be visible
The list of algs is again shown. Among them, you'll see the "Array of offset (parallel) lines" algorithm that you can open (and run? I did not go that further) despite it's incompatible with the point geometry type.

Given that the algs are tied to the active layer, I think the list should be updated when clicking back to the widget.
note that you get an updated list if you remove the space at the end.

Associated revisions

Revision 7ecd303a
Added by Alessandro Pasotti almost 2 years ago

[in-place] Fix locator filter for in-place when active layer changes

Invalidate the locator results when active layer changes

Fix #20099 - Locator bar does not update the filter of algorithms according to active layer when using "ef"

History

#1 Updated by Alessandro Pasotti almost 2 years ago

  • Assignee set to Alessandro Pasotti

#2 Updated by Alessandro Pasotti almost 2 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Open to In Progress

#3 Updated by Anonymous almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF