Feature request #4306

Uniform way of adding layers after analyses

Added by Paolo Cavallini about 13 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Pull Request or Patch supplied:No Resolution:worksforme
Easy fix?:No Copied to github as #:14243

Description

Various commands and plugins have different methods for adding a layer after the analysis is run:
  • a checkbox "Add to canvas" in the analysis window
  • a popup "Do you want to add to canvas?" after the end

We should have a standard method, and utilize it consistently.

History

#1 Updated by Jürgen Fischer about 13 years ago

  • Tracker changed from Bug report to Feature request

#2 Updated by Giovanni Manghi almost 13 years ago

  • Target version set to Version 1.7.4

#3 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#4 Updated by Pirmin Kalberer about 12 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#5 Updated by Médéric RIBREUX almost 9 years ago

Hello, bug triage...

do we have a document somewhere that states what are the rules for adding layers after an analysis ?

For Processing, it seems there is a uniform method: by default the option "Open output file after running algorithm" is checked so after any analysis made with a Processing algorithm, the layer will be loaded in the canvas ( but user can uncheck this option ).

In 2015, I think that a pop-up window will be very annoying ! So the Processing rule seems to be the good one for me...

#6 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No

#7 Updated by Paolo Cavallini almost 7 years ago

  • Description updated (diff)

Agreed, we should make it clear the Processing approach is the one to follow, also in plugins.

#8 Updated by Paolo Cavallini over 6 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

Now (QGIS 3) core plugins have been moved to Processing, so probably this ticket is useless.

Also available in: Atom PDF