Page MenuHome

Add-on preferences: by default show enabled add-ons only
Needs RevisionPublic

Authored by Sybren A. Stüvel (sybren) on May 17 2019, 3:51 PM.

Details

Reviewers
Brecht Van Lommel (brecht)
Group Reviewers
User Interface
Summary

Currently Blender shows all available add-ons by default. Furthermore, the chosen filter is not saved as part of the preferences, so every time Blender is restarted it defaults to showing all add-ons. Although this makes it easier for the user to discover new add-ons, it does make it harder to find and use the add-ons they have activated.

I suspect that most users activate the add-ons that they want to use, and then just use them repeatedly. By having the add-ons list filter on 'Enabled' by default, this becomes easier, especially for add-ons like the Blender Cloud add-on that heavily rely on the preferences panels.

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 3632
Build 3632: arc lint + arc unit

Event Timeline

Only fear I have is that, if the user installs an addon but hasn't yet enabled it, they won't be able to find it?

No need to fear, Blender still switches to 'All' and shows the just-installed add-on so that it can be enabled.

I wouldn't mind if add-ons were automatically enabled after installation, either, but that's for a different discussion/patch.

@Sybren A. Stüvel (sybren) Ok well in that case I suppose this is ok then.

Also can see the point that add-ons should probably be enabled by default - you would almost never not want that I think.

Brecht Van Lommel (brecht) requested changes to this revision.May 17 2019, 4:16 PM

I'm not sure sure about this. For a new user if only the enabled add-ons are shown, it's not obvious that there are more add-ons available. Instead they might think they have to press Install or go download them somewhere.

Also, changing the default should not be done by reordering the items, that breaks backwards compatibility for existing saved preferences.

This revision now requires changes to proceed.May 17 2019, 4:16 PM

I'm not sure sure about this. For a new user if only the enabled add-ons are shown, it's not obvious that there are more add-ons available. Instead they might think they have to press Install or go download them somewhere.

To me it's always been weird that "show enabled add-ons only" is in the same list as the add-on categories. From a technical point of view it makes sense (both are filters) but from a user's perspective not at all. A checkbox "show enabled add-ons only" next to the filter dropdown makes much more sense to me.

Also, changing the default should not be done by reordering the items, that breaks backwards compatibility for existing saved preferences.

This is not saved, otherwise I would have set it to Enabled, saved my preferences, and be happy. So what would it break, exactly?
Setting the default via default='Enabled' is also not possible as this EnumProperty has an items function, so reordering seemed like the only way to go about this.