Themes user prefs: No longer "Default" theme, click on reset doesn't reset theme preset name #34454

Closed
opened 2013-02-26 21:28:53 +01:00 by CodeManX · 7 comments
Member

%%%--- Blender version with error, and version that worked ---
2.66-official

- Short description of error ---

Prior to 2.66, there was an entry in theme preset dropdown list called "Default". Now it's gone, but wasn't really needed in the first place, since we have the "Reset to Default Theme" button.

BUT: if you hit that button, dropdown list label (EnumProp) stays unchanged, it should reset to "Presets".

ui.reset_default_theme is a C-operator, so it needs to be done here: \blender\editors\interface\interface_ops.c
%%%

%%%--- Blender version with error, and version that worked --- 2.66-official - Short description of error --- Prior to 2.66, there was an entry in theme preset dropdown list called "Default". Now it's gone, but wasn't really needed in the first place, since we have the "Reset to Default Theme" button. BUT: if you hit that button, dropdown list label (EnumProp) stays unchanged, it should reset to "Presets". ui.reset_default_theme is a C-operator, so it needs to be done here: \blender\editors\interface\interface_ops.c %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%Not sure it's possible to affect on py-defined preset menu label. Maybe Campbell knows? :)%%%

%%%Not sure it's possible to affect on py-defined preset menu label. Maybe Campbell knows? :)%%%

%%%Default Theme is in "contrib" addons, which is not bundled with releases. So this is not a missing thing / bug. %%%

%%%Default Theme is in "contrib" addons, which is not bundled with releases. So this is not a missing thing / bug. %%%

%%%It more about the step after pressing the "reset to default theme" button. The theme will reset, but the dropdown menu will not, because there is no such entry for the default theme. For example: I choose "Soft Blend" from the theme list and then press "Reset to Default Theme". Now i have the colors back, but the dropdown menu still shows "Soft Blend".%%%

%%%It more about the step after pressing the "reset to default theme" button. The theme will reset, but the dropdown menu will not, because there is no such entry for the default theme. For example: I choose "Soft Blend" from the theme list and then press "Reset to Default Theme". Now i have the colors back, but the dropdown menu still shows "Soft Blend".%%%

%%%This is a glitch but more a low priority TODO, added to WIKI, setting as TODO.
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/UserInterface#User_Preferences%%%

%%%This is a glitch but more a low priority TODO, added to WIKI, setting as TODO. http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/UserInterface#User_Preferences%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author
Member

A python operator could be created to wrap C operator ui.reset_default_theme, and that py op would be used for the Reset button. After the call to the C op, the py op would reset the label to "Default".

It would be much nicer however, if Blender remembered theme names, so that you always knew, what is it currently using (or on what theme the current one was based on). F8 clears the theme dropdown label currently.

A python operator could be created to wrap C operator `ui.reset_default_theme`, and that py op would be used for the Reset button. After the call to the C op, the py op would reset the label to "Default". It would be much nicer however, if Blender remembered theme names, so that you always knew, what is it currently using (or on what theme the current one was based on). F8 clears the theme dropdown label currently.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#34454
No description provided.