Page MenuHome

User Pref: Improve consistency and clarity of names and tooltips
ClosedPublic

Authored by Ethan Hall (Ethan1080) on Mar 15 2022, 12:13 AM.

Details

Summary

I renamed "OpenGL Depth Picking" to "GPU Depth Picking" so the UI text for the option is not specific to the graphics API.

I changed the tooltip for OpenGL Depth Picking from "Use the depth buffer for picking 3D View selection (without this the front most object may not be selected first)" to "When making a selection in 3D View, use the GPU depth buffer to ensure the frontmost object is selected first"

In Viewport > Display. I changed "Show" to "Text Info Overlay" since the options only "show" when the text info overlay is enabled.

I made capitalization consistent in places and reworked a few other labels and tooltips.

Let me know if I should revert or tweak any change.


With this patch, I did not change anything in the animation tab of the preferences, but it could also use some similar improvements.

Diff Detail

Repository
rB Blender

Event Timeline

Ethan Hall (Ethan1080) requested review of this revision.Mar 15 2022, 12:13 AM
Ethan Hall (Ethan1080) created this revision.

I don't think moving this to System is better. There are more quality/performance related settings in the Viewport tab, and I think these belong in the same place.

The name and description changes are fine.

I don't have a strong opinion about the preferences, the reasoning doesn't seem strong enough to change it though.

source/blender/makesrna/intern/rna_userdef.c
5654
  • Reverted moving settings.
  • Tweaked UI labels and tooltips for consistency and clarity.
Ethan Hall (Ethan1080) retitled this revision from User Pref: Moved OpenGL Depth Picking and GPU Subdivision from Viewport to System > Viewport to User Pref: Improve consistency and clarity of names and tooltips.Mar 15 2022, 8:32 AM
Ethan Hall (Ethan1080) edited the summary of this revision. (Show Details)
RedMser (RedMser) added inline comments.
release/scripts/startup/bl_ui/space_userpref.py
694

Correct me if I'm wrong, but since the RNA property labels are now the same as those used in the UI here, there's no need to specify them inline with text="..." here anymore.

A couple inline comments, but I think the changes here are generally improvements

release/scripts/startup/bl_ui/space_userpref.py
691–692

The idea with the headings is to avoid repeating this text like "Include".
I think "Show" or "Include" is implied here, and could be removed from this UI text.

source/blender/makesrna/intern/rna_userdef.c
4592–4613

In the 3D viewport text info overlay

I guess it could be helpful when looking at the property in Python without the UI, but in the preferences, the panel name and header provide this context, so I don't think it's necessary.

Brecht Van Lommel (brecht) requested changes to this revision.Mar 15 2022, 3:08 PM
Brecht Van Lommel (brecht) added inline comments.
release/scripts/startup/bl_ui/space_userpref.py
701

This change seems arbitrary, no good reason to break docs/tutorials.

source/blender/makesrna/intern/rna_userdef.c
5023

"Object" should not be left out here, names here can't assume their context in the preferences.

5652–5654

I don't thinking "Depth Sorting" is a better name, it can be confused with alpha sorting.

This revision now requires changes to proceed.Mar 15 2022, 3:08 PM
Ethan Hall (Ethan1080) edited the summary of this revision. (Show Details)
  • Applied suggested tweaks.
Ethan Hall (Ethan1080) edited the summary of this revision. (Show Details)Mar 15 2022, 4:35 PM
Ethan Hall (Ethan1080) marked 6 inline comments as done.Mar 15 2022, 4:38 PM
  • Reworded text info overlay related tooltips.
source/blender/makesrna/intern/rna_userdef.c
4592–4613

"3D viewport" can easily be omitted, but I prefer that the sentence mentions where it is including the item.

source/blender/makesrna/intern/rna_userdef.c
4591

Keep this as Display instead of Include, for consistency with other similar properties.

  • Changed "Include" to "Display" for RNA label consistency.
Ethan Hall (Ethan1080) marked 2 inline comments as done.Mar 17 2022, 4:31 PM
This revision is now accepted and ready to land.Mar 21 2022, 6:07 PM