View2D setup for buttons regions unstable #21026

Closed
opened 2010-02-08 11:07:47 +01:00 by Joshua Leung · 5 comments
Member

%%%As of revision 26695, loading old files with View2D regions results in a number of bugs in button regions.

Test File 1 (markers_testA)

  1. Some regions are horizontally shifted by the width of a scrollbar until the region is resized to some critical size, at which point the horizontal shift disappears, and the full view is visible. (see the Graph Editor properties panels).

NOTE: the behaviour to not shift until the critical size is reached is used for the Outliner, so that horizontal scrolling did not reset immediately upon window resize.

  1. Adjusting the zoom in the Graph Editor properties region will result in the scale of the text in the NLA Editor properties region also changing scale. Moving the mouse between the two editors results in the scale flip-flopping between the two different scales

  2. Probably after the marker drawing, the alpha-blending method is set wrongly for scrollbar drawing, resulting in opaque white lines on horizontal scrollbars. I could investigate this part myself tomorrow. Just noting here while I remember.

Test File 2 (limit_dist)
4) Switch to bone constraints context in the horizontal buttons window, and watch that view suddenly change scale. Note how the text is overscaled...%%%

%%%As of revision 26695, loading old files with View2D regions results in a number of bugs in button regions. Test File 1 (markers_testA) 1) Some regions are horizontally shifted by the width of a scrollbar until the region is resized to some critical size, at which point the horizontal shift disappears, and the full view is visible. (see the Graph Editor properties panels). NOTE: the behaviour to not shift until the critical size is reached is used for the Outliner, so that horizontal scrolling did not reset immediately upon window resize. 2) Adjusting the zoom in the Graph Editor properties region will result in the scale of the text in the NLA Editor properties region also changing scale. Moving the mouse between the two editors results in the scale flip-flopping between the two different scales 3) Probably after the marker drawing, the alpha-blending method is set wrongly for scrollbar drawing, resulting in opaque white lines on horizontal scrollbars. I could investigate this part myself tomorrow. Just noting here while I remember. Test File 2 (limit_dist) 4) Switch to bone constraints context in the horizontal buttons window, and watch that view suddenly change scale. Note how the text is overscaled...%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%Closed duplicate report:
http://projects.blender.org/tracker/index.php?func=detail&aid=21155&group_id=9&atid=498

Same problems as in test file 2. See the screenshots in that report for examples of the problems, but the provided test file here should allow testing.%%%

%%%Closed duplicate report: http://projects.blender.org/tracker/index.php?func=detail&aid=21155&group_id=9&atid=498 Same problems as in test file 2. See the screenshots in that report for examples of the problems, but the provided test file here should allow testing.%%%
Author
Member

%%%Closing duplicate report (which also included a few duplicate reports):
http://projects.blender.org/tracker/index.php?func=detail&aid=20048&group_id=9&atid=498%%%

%%%Closing duplicate report (which also included a few duplicate reports): http://projects.blender.org/tracker/index.php?func=detail&aid=20048&group_id=9&atid=498%%%
Member

%%%Moving to our todo on wiki: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/UserInterface#Regions%%%

%%%Moving to our todo on wiki: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/UserInterface#Regions%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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
2 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#21026
No description provided.