The name of a screen used by a workspace may not match the workspace name, especially with workspaces with non-default names, and may not work when selected for the Shading option.
Changing __init__.py line 100 from:
for area in bpy.data.screens[guivars.workspace].areas:
to
for area in bpy.data.workspaces[guivars.workspace].screens[0].areas:
appears to fix this.
I say "appears" because it's fixed it for my use case, but I haven't tested much outside of that.
The name of a screen used by a workspace may not match the workspace name, especially with workspaces with non-default names, and may not work when selected for the Shading option.
Changing __init__.py line 100 from:
for area in bpy.data.screens[guivars.workspace].areas:
tofor area in bpy.data.workspaces[guivars.workspace].screens[0].areas:
appears to fix this.I say "appears" because it's fixed it for my use case, but I haven't tested much outside of that.