-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
addGroup() never allows adding to the "invisible root" group #16008
Comments
Author Name: Sandro Santilli (@strk) Fixed in changeset "122cff7859b74b213ba0bdc143850f635d122529".
|
Author Name: Alexander Bruy (@alexbruy) After this commit it is impossible to create groups in empty project or add new group without selecting existing item in legend
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Sandro Santilli (@strk) Alex, when I tested this the db_manager plugin (sub-plugin topoviewer) was successfully adding groups to the "invisible root". Are you talking about GUI or python API or what ? |
Author Name: Giovanni Manghi (@gioman) Sandro Santilli wrote:
GUI (I can confirm the issue) |
Author Name: Alexander Bruy (@alexbruy) Sandro, I tested this from GUI |
Author Name: Sandro Santilli (@strk) Confirmed. I'm on it.
|
Author Name: Sandro Santilli (@strk) Fixed in changeset "816c32bd064f1d8871f194f40bb701c899c5373d".
|
Author Name: Sandro Santilli (@strk) there might be another regression, specifically the impossibility to determine where the new group is added (ie: now if you don't select a group item the new group is added to the root, not to the same group of the selected layer). |
Author Name: Giovanni Manghi (@gioman) Sandro Santilli wrote:
if I understand well, yes is a regression, as before selecting a group and creating a new group allowed to have immediately a nested group.
|
Author Name: Giovanni Manghi (@gioman)
|
Now empty sets return NULL values for invalid statistics (cherry-picked from 64f8b4)
Author Name: Sandro Santilli (@strk)
Original Redmine Issue: 6879
Affected QGIS version: master
Redmine category:map_legend
Assignee: Sandro Santilli
The code for addGroup defaults to the so-called "invisible root item" as the parent,
but then refuses to add there because the "invisible root item" is not a group.
This makes it impossible to add a group to the root, basically (from python)
The text was updated successfully, but these errors were encountered: