UI broken in 4.2 when preferences are saved with 4.3 #126706

Closed
opened 2024-08-23 22:30:58 +02:00 by Demeter Dzadik · 4 comments
Member

Blender Version
Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-08-22 21:37, hash: d5e591b3dc8c

Short description of error
I don't know if this qualifies as a bug. I know forward compatiblity is never guaranteed, but I just find this one pretty harsh because normally the forward compatibility break is not this bad.

When 4.3 preferences are loaded in 4.2, certain UI strings fail to draw. Below is just one example.

image

Repro steps:

  • Save your user prefs with 4.3
  • Rename your 4.3 folder to 4.2
  • Open 4.2
  • Bunch of text should be missing.

Use case:
I have my blender config files symlinked from one place to all blender versions, since I jump between so many different versions all the time for reasons like testing backwards compatibility of my add-ons, or opening old project files to steal tech, or create learning material about them, stuff like that.

**Blender Version** Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-08-22 21:37, hash: `d5e591b3dc8c` **Short description of error** I don't know if this qualifies as a bug. I know forward compatiblity is never guaranteed, but I just find this one pretty harsh because normally the forward compatibility break is not this bad. When 4.3 preferences are loaded in 4.2, certain UI strings fail to draw. Below is just one example. ![image](/attachments/9173b74d-e096-42d2-8a0b-38e528abb8f5) Repro steps: - Save your user prefs with 4.3 - Rename your 4.3 folder to 4.2 - Open 4.2 - Bunch of text should be missing. Use case: I have my blender config files symlinked from one place to all blender versions, since I jump between so many different versions all the time for reasons like testing backwards compatibility of my add-ons, or opening old project files to steal tech, or create learning material about them, stuff like that.
Demeter Dzadik added the
Severity
Normal
Type
Bug
Status
Needs Triage
labels 2024-08-23 22:30:59 +02:00
Member

I can confirm this issue. I will also mark as high severity as it's a recent regression from developers are free to lower this.

There is a desire for some for of foward compatability between LTS and newer versions of Blender, but I'm not sure how important this is for user preferences compared to something like models.

I can confirm this issue. I will also mark as high severity as it's a recent regression from developers are free to lower this. There is a desire for some for of foward compatability between LTS and newer versions of Blender, but I'm not sure how important this is for user preferences compared to something like models.
Iliya Katushenock added the
Interest
Compatibility
label 2024-08-24 08:49:33 +02:00

Also being faced with that bug.

Also being faced with that bug.
Iliya Katushenock added this to the 4.2 LTS milestone 2024-08-24 08:50:04 +02:00
Member

I decided to bisect this

A user preference saved in Main from yesterday (24th of August 2024) does not have issues in builds 108b71047a and newer.

I doubtful this commit will be backported to 4.2, but it's useful to know what caused it for anyone that might try to add forward compatability for this change to 4.2

I decided to bisect this A user preference saved in Main from yesterday (24th of August 2024) does not have issues in builds 108b71047a73d40635bc2da7b75094d4d107260c and newer. I doubtful this commit will be backported to 4.2, but it's useful to know what caused it for anyone that might try to add forward compatability for this change to 4.2
Member

I think the only thing we'd need in 4.2 is just a check to see if UI_style_get()->widgetlabel.points is zero. And if so then just set it to the default, so UI_DEFAULT_TEXT_POINTS or 11. I think.

I think the only thing we'd need in 4.2 is just a check to see if UI_style_get()->widgetlabel.points is zero. And if so then just set it to the default, so UI_DEFAULT_TEXT_POINTS or 11. I think.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-09-12 14:39:10 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#126706
No description provided.