Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field calculator expression should remember expression used #17664

Closed
qgib opened this issue Nov 5, 2013 · 5 comments
Closed

Field calculator expression should remember expression used #17664

qgib opened this issue Nov 5, 2013 · 5 comments
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience

Comments

@qgib
Copy link
Contributor

qgib commented Nov 5, 2013

Author Name: Regis Haubourg (@haubourg)
Original Redmine Issue: 9009

Redmine category:gui


Hi, when using field calculator in arttribute, it would be great that the dialog keep in memory the expression and parameter used (selection Y/N, field, expression) at least during the life time of the attribute table window, or better as long as layer is present. Saving in the project is not really usefull.
User often do a update, then rework the expression after having scanned results.
Cheers,
Régis

@qgib
Copy link
Contributor Author

qgib commented Nov 10, 2013

Author Name: Matthias Kuhn (@m-kuhn)


I remember this has been discussed before (maybe mailing list?).

Alternatives:

  • Save to file (So it can be used from different projects)
  • A list of recent expressions (instead of a single one)
  • Maybe even an online resource (as in plugins and hopefully soon svg symbols)

Maybe it should also work independent of layers (you may have a copy of a layer where you want to test and then apply to the real layer). Probably a checkbox (show history only for this layer) can help to keep this simple.

@qgib
Copy link
Contributor Author

qgib commented Nov 16, 2013

Author Name: Antonio Locandro (Antonio Locandro)


In other COTS software it is kept in memory during the lifetime of the open project. Lets say I created an expression to add something, closed the layer and open another one I want to do the same thing, then its just there so I can run it again.

I think its useful to
a. Save to file if I wanted to, to use in other projects
b. recent expression sounds great. maybe the last 3 used or something

@qgib
Copy link
Contributor Author

qgib commented Dec 3, 2013

Author Name: Richard Duivenvoorde (@rduivenvoorde)


I think an online resource is not feasible for this, because these expressions are mostly very data specific, and not so big that it would need a file (copy to clipboard/wiki is enough)

Save to file: well, not sure if I would use this, for the same reason.

recent expressions: yes yes :-) Not via a dropdown or something like that (because again expression can be huge. But maybe in the same way as you have a history on your command line or python commmand line. So an array with last 20 expressions, an by using your arrow keys you can navigate through it?
(to start with... if really usefull we could make some gui component around this)?

@qgib
Copy link
Contributor Author

qgib commented Jun 23, 2014

Author Name: Regis Haubourg (@haubourg)


Done, can be closed!

@qgib
Copy link
Contributor Author

qgib commented Jun 23, 2014

Author Name: Paolo Cavallini (@pcav)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant