[Qgis-developer] Run Feature Action Behaviour

Nathan Woodrow madmanwoo at gmail.com
Mon Jul 23 03:17:35 PDT 2012


Hi,

My comments are inline.

On Mon, Jul 23, 2012 at 7:52 PM, haubourg
<regis.haubourg at eau-adour-garonne.fr> wrote:
>
> What we suggest, so that beginners can open a map and run action:
>   - Modify Run Feature action to eliminate the need of choosing the action
> in dropdow menu button. Add the functionnality of multiline tooltips and
> action listbox under mouse click.

Both ways offer pros and cons.  The current way allows you to select
the action once and just keep clicking without having to reselect it
again, using the context menu method however requires me to select the
action every time regardless if I don't the other 10 in that session.
However like you have seen the context menu can be easier for
beginners to grasp because there is only one tool and feedback is
instant.

One way I thing you could do to handle this is the ability to define
actions as standalone action toolbar buttons, so that certain actions
appear as their own toolbar button. You would define the actions like
normal but there would be the option to say "Make this a button". You
could then have a general action button that when used gives you the
context menu on click while at the same time having standalone buttons
so that you don't have to navigate the context menu if you am doing
one action repeatedly.    The action buttons would be optional, any
actions not marked as a button would just be rolled into the one
"hotlink" button.  E.g I would have a standalone button for say "Open
Photo" but for other less used things I would just leave them in the
context menu.

>   - Adds retrocompatibility for old syntax

-1 I think having two ways to define the same kind of thing the former
with the lack of expression support would be bad.  People will just
have to move forward to bring there projects up to the current syntax
IMO.

>   - use the same behaviour as "identify" tool : active layer, first layer
> found , all layers. That would be more user friendly I guess.

+ 1


More information about the Qgis-developer mailing list