Fix #123332: VSE strip transform handles look tweaks #123391

Merged
Aras Pranckevicius merged 5 commits from aras_p/blender:vse_handles_look into blender-v4.2-release 2024-06-19 11:49:33 +02:00

Current look of VSE timeline view strip transformation handles makes them somewhat "too narrow", especially after recent changes that made them more narrow than before (handle tweaking feature) and a strip visual change that made strip outline not go outside of strip bounds. They are now just 2px wide, effectively.

This changes their look as outlined in #123332 design task:

  • The inset dark line is no longer over the handles, but rather "inside" of them (except when handles are semitransparent, i.e. for strips that are not selected).
  • The handles themselves have rounded corners.

Default "new way" of handle tweaking:
Screenshot 2024-06-18 at 12.45.26.png

The "old way" of handle tweaking:
Screenshot 2024-06-18 at 15.20.09.png

Current look of VSE timeline view strip transformation handles makes them somewhat "too narrow", especially after recent changes that made them more narrow than before (handle tweaking feature) and a strip visual change that made strip outline not go outside of strip bounds. They are now just 2px wide, effectively. This changes their look as outlined in #123332 design task: - The inset dark line is no longer over the handles, but rather "inside" of them (except when handles are semitransparent, i.e. for strips that are not selected). - The handles themselves have rounded corners. Default "new way" of handle tweaking: ![Screenshot 2024-06-18 at 12.45.26.png](/attachments/555e071c-34da-468e-9de1-9cc51bb9c098) The "old way" of handle tweaking: ![Screenshot 2024-06-18 at 15.20.09.png](/attachments/0bba2582-2700-4821-b5ff-87dd1c6af4f1)
Aras Pranckevicius added 2 commits 2024-06-18 18:10:34 +02:00
Now the strip outline (1 point for unselected strips, 2 point outline +
1 pt dark inset) takes monitor DPI / user preference line width into
account, via the usual U.pixelsize machinery.
Fix #123332: VSE strip transform handles look
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
b37b024df3
Current look of VSE timeline view strip transformation handles makes
them somewhat "too narrow", especially after recent changes that
made them more narrow than before (handle tweaking feature) and
a strip visual change that made strip outline not go outside of strip
bounds. They are now just 2px wide, effectively.

This changes their look as outlined in #123332 design task:
- The inset dark line is no longer over the handles, but rather
  "inside" of them (except when handles are semitransparent, i.e.
  for strips that are not selected).
- The handles themselves have rounded corners.
Author
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR123391) when ready.

Looking great. Only one request: would it be possible to match the inner outline handle color (white and yellow) when transforming a strip? Currently the color remains off-white, or orange.

Current Proposed
handle.png handle_desired.png
Looking great. Only one request: would it be possible to match the inner outline handle color (white and yellow) when transforming a strip? Currently the color remains off-white, or orange. | Current | Proposed | |----|-----| | ![handle.png](/attachments/f2e7a8f6-bf9f-4965-a5be-5d46c1d53390) | ![handle_desired.png](/attachments/918c300a-9b7a-4b74-817f-353cb14145a0) |
Author
Member

Only one request: would it be possible to match the inner outline handle color (white and yellow) when transforming a strip?

Of course. Right now it is behaving "as previously" (e.g. in Blender 4.0 or similar). I was curious why the colors were not matching exactly while transforming, but I thought that's intentional. I can make them match indeed.

> Only one request: would it be possible to match the inner outline handle color (white and yellow) when transforming a strip? Of course. Right now it is behaving "as previously" (e.g. in Blender 4.0 or similar). I was curious why the colors were not matching exactly while transforming, but I thought that's intentional. I can make them match indeed.
Aras Pranckevicius added 2 commits 2024-06-19 09:05:38 +02:00
Selected handles always use the same color as the outline. Previously
they were almost always using it, except while actively transforming -
the outline was brighter but the handle itself was not.

With this, there's no need for handle colors state for the shader,
it is enough to put in flags which handles are selected vs which
ones are merely drawn.
Merge branch 'blender-v4.2-release' into vse_handles_look
All checks were successful
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
6945104304
Author
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR123391) when ready.
First-time contributor

The should the warning red-out-line, be on top of the handle, or under, or should the handle even go red?

I don't know if it is related to this patch, but thumbnails seem to snap outside the strip?

The should the warning red-out-line, be on top of the handle, or under, or should the handle even go red? I don't know if it is related to this patch, but thumbnails seem to snap outside the strip?
Author
Member

The should the warning red-out-line, be on top of the handle, or under

If you are testing build from today (finished very recently), then both outline and the handle should be red together.

or should the handle even go red?

I don't know, but sounds unrelated to this PR (both before and after this PR the outline does get red)

I don't know if it is related to this patch, but thumbnails seem to snap outside the strip?

I'd say 99% chance that this is unrelated to this PR (i.e. this PR does nothing whatsover about thumbnails). This looks like a bug, but from a quick try I can't reproduce it. A bug report with more details in how to make it happen would be useful.

> The should the warning red-out-line, be on top of the handle, or under If you are testing build from today (finished very recently), then both outline and the handle should be red together. > or should the handle even go red? I don't know, but sounds unrelated to this PR (both before and after this PR the outline does get red) > I don't know if it is related to this patch, but thumbnails seem to snap outside the strip? I'd say 99% chance that this is unrelated to this PR (i.e. this PR does nothing whatsover about thumbnails). This looks like a bug, but from a quick try I can't reproduce it. A bug report with more details in how to make it happen would be useful.
Aras Pranckevicius added 1 commit 2024-06-19 11:26:00 +02:00
# Conflicts:
#	source/blender/gpu/shaders/gpu_shader_sequencer_strips_frag.glsl
Aras Pranckevicius changed title from WIP: Fix #123332: VSE strip transform handles look to Fix #123332: VSE strip transform handles look 2024-06-19 11:26:35 +02:00
Aras Pranckevicius requested review from Sergey Sharybin 2024-06-19 11:26:47 +02:00
Aras Pranckevicius changed title from Fix #123332: VSE strip transform handles look to Fix #123332: VSE strip transform handles look tweaks 2024-06-19 11:26:55 +02:00
Sergey Sharybin approved these changes 2024-06-19 11:41:40 +02:00
Aras Pranckevicius merged commit 7e61f14a88 into blender-v4.2-release 2024-06-19 11:49:33 +02:00
Aras Pranckevicius deleted branch vse_handles_look 2024-06-19 11:49:39 +02:00
Sign in to join this conversation.
No reviewers
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
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#123391
No description provided.