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

[Expression]Allow to remove custom functions directly from QGIS #27513

Closed
qgib opened this issue Aug 24, 2018 · 3 comments · Fixed by #35901
Closed

[Expression]Allow to remove custom functions directly from QGIS #27513

qgib opened this issue Aug 24, 2018 · 3 comments · Fixed by #35901
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions

Comments

@qgib
Copy link
Contributor

qgib commented Aug 24, 2018

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 19688
Affected QGIS version: 3.3(master)
Redmine category:expressions
Assignee: Nathan Woodrow


Using the Function Editor tab, you can create a Python function providing new expression functions to use. This function is stored in the user profile folder.
It could be nice to be able to remove unneeded functions (because they were tests eg) directly from the Editor tab, either from a contextual menu or with a provided button. Currently, you need to go to the folder in which the file is saved (which is not a common/easy place to reach - I personnaly struggle to access the AppData folder on Windows)

@qgib
Copy link
Contributor Author

qgib commented Oct 11, 2018

Author Name: Nathan Woodrow (@NathanW2)


  • crashes_corrupts_data was configured as 0
  • assigned_to_id was configured as Nathan Woodrow
  • tracker_id was changed from 2 to 1
  • regression was configured as 0
  • version was configured as 3.3(master)

@qgib
Copy link
Contributor Author

qgib commented Oct 11, 2018

Author Name: Nathan Woodrow (@NathanW2)


which is not a common/easy place to reach - I personnaly struggle to access the AppData folder on Windows

If you need to get the location from inside QGIS you can use the Settings -> User Profiles -> Open Active Profile folder..

@qgib
Copy link
Contributor Author

qgib commented Oct 14, 2018

Author Name: Nathan Woodrow (@NathanW2)


I have started working on this but have some issues with the QFile::remove not removing the file.


  • status_id was changed from Open to In Progress

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions labels May 25, 2019
@NathanW2 NathanW2 self-assigned this Jun 19, 2019
alexbruy added a commit that referenced this issue Apr 30, 2020
[feature] ability to remove custom functions (fix #27513)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants