Feature request #119

Run actions directly from the map canvas

Added by Gavin Macaulay - almost 18 years ago. Updated about 12 years ago.

Status:Closed
Priority:Low
Assignee:Giuseppe Sucameli
Category:Map Canvas
Pull Request or Patch supplied:No Resolution:fixed
Easy fix?:No Copied to github as #:10178

Description

It would be nice to be able to run actions by clicking on the map canvas aka identify but instead getting a list of the various actions that could be run on the identified features.

Associated revisions

Revision acc1d558
Added by Giuseppe Sucameli about 12 years ago

[FEATURE] add "feature action" map tool to run actions directly when clicking on features (fix #119 and #4262)
work done for Regione Toscana-SIGTA

History

#1 Updated by gjm - over 15 years ago

Won't be happening for version 1.0

#2 Updated by Paolo Cavallini almost 14 years ago

I think an ad hoc button (next to the info tool one, possibly greyed out when no actions are available) should be simple to implement, and very handy for users.

#3 Updated by Paolo Cavallini over 12 years ago

  • Assignee changed from Gavin Macaulay - to Giuseppe Sucameli
  • Pull Request or Patch supplied set to No

#4 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#5 Updated by Giuseppe Sucameli about 12 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#6 Updated by Giuseppe Sucameli about 12 years ago

It's a new feature, so it shouldn't be backported.

#7 Updated by Giuseppe Sucameli about 12 years ago

  • Resolution set to fixed

#8 Updated by Alister Hood about 12 years ago

Great, thanks.

Currently it only operates on a single selected layer. It would probably be best to make it obey the identify mode (Settings>Options>Map Tools) - so if the identify mode is not set to "Current layer", it would work on all layers.

#9 Updated by Paolo Cavallini about 12 years ago

Interesting. This raises additional points (what if there are >1 actions with the same name for different layers?).
Please open a new ticket on this feature request.

#10 Updated by Alister Hood about 12 years ago

what if there are >1 actions with the same name for different layers?

Hmmm. It is currently possible to have more than one action with the same name for the same layer, and the actions are all shown in the drop-down and work as expected. I guess unless it was made impossible to have two actions with the same name for the same layer, then all the actions for all the layers would need to be listed separately, in which case there probably wouldn't be much pointed in making the tool work with multiple layers.

Please open a new ticket on this feature request.

I think it is probably too complicated for the way the "Run feature action" is implemented. The new "hotlink" plugin is probably a good enough solution.

#11 Updated by Regis Haubourg about 12 years ago

Hi, If backporting is too risky, you can use (until 2.0 is released) "Hotlink plugin" published some weeks ago. Hotlink plugin is a clone of the Mapinfo tool. It opens a popup to allow user to choose available actions under cursor clic, on all layers in the same time. If user just hangs cursor without clicking, it displays a infotip with actions names.
Cheers, Régis

Also available in: Atom PDF