ID 483393 - Shelf.isGrouped() returns 'True' for ungrouped Shelves

Follow

Problem summary
Shelf.isGrouped() returns 'True' for ungrouped Shelves

Customer reported version
Mari 4.7v4

Customer reported platform
n/a

Steps to reproduce

1) Open any project

2) Open the Python Console (Python > Show Console)

3) Run the following Python snippet and inspect the Output panel:

for s in mari.shelves.list():    print s.path(), s.isGrouped()
Expected behaviour
Grouped Shelves should be printed with a 'True' statement.
Ungrouped Shelves should be printed with a 'False' statement.
 

//Menu False//Personal False/Mari/Materials True/Mari/Basic Brushes True/Mari/Hard Surface Brushes True/Mari/Organic Brushes True/Mari/Brad's New Brushes True/Mari/Custom Procedurals True//Project False

Actual behaviour
Shelf.isGrouped() method returns 'True' for ungrouped Shelves as well as grouped:

//Menu True//Personal True/Mari/Materials True/Mari/Basic Brushes True/Mari/Hard Surface Brushes True/Mari/Organic Brushes True/Mari/Brad's New Brushes True/Mari/Custom Procedurals True//Project True
Workaround
Unknown.

Reproduced by support
This bug has been reproduced in:
Mari 4.7v4 - Windows 10 - CentOS 7.7
Mari 4.7v1 - Windows 10 - CentOS 7.7

Earliest version tested
Mari 4.7v1 - This feature did not exist before this version
 

    We're sorry to hear that

    Please tell us why