Alt-Drag (multi-editing) fails for HSV color buttons #73277

Open
opened 2020-01-20 22:07:58 +01:00 by Luciano Laudani · 9 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28

Blender Version
Broken: version: 2.83 (sub 1), branch: master, commit date: 2020-01-18 19:00, hash: c2e62c1292
Seems to be a long-lasting issue, as even Blender 2.81a shows the same behaviour.

Short description of error
Pretty much the title.
Trying to assign an object color through the Object Properties tab (Viewport Display > Color) to multiple Objects doesn't work, neither by picking the Color on the Color Wheel, nor by moving the HSV sliders, while Alt-Clicking. Only the last selected Object will update.
However:

  • If sliders are set to RGB, editing them will correctly affect all selected Objects.
  • The Alpha slider, which is shared between all three Color Wheel modes, works as intended and affects all selected Objects.

From the Info console I've noticed a tuple is set everytime a Color is picked from the Color Wheel, but doesn't show anything when using the HSV Sliders.
Moving the the RGB and Alpha sliders correctly sets each Object's property to the selected value.

Exact steps for others to reproduce the error

  • Open Blender, default startup file

  • Add>Mesh - Select any kind of Mesh Object (have at least 2 items in the scene, or more)

  • Go to the Shading Panel in the top right and Select "Object" down the Color section, to see Object Colors in the viewport

  • Press A to select All Objects, or alternatively, select them one by one by Shift+Right Click

  • Go to Object Properties > Viewport Display > Color

  • Hold ALT either while clicking on the Color Wheel or while moving the HSV Sliders. Only the last selected Object will update.

  • While holding ALT, try moving the Alpha slider. All selected Object will update.

  • In the Color Wheel, select the RGB tab. While holding ALT, try moving the R, G or B slider. All selected Object will update.

Here's a quick demonstration:

2020-01-20_22-01-14.mp4

And the Info panel readings:
2020-01-20_22-02-46.mp4

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28 **Blender Version** Broken: version: 2.83 (sub 1), branch: master, commit date: 2020-01-18 19:00, hash: `c2e62c1292` Seems to be a long-lasting issue, as even Blender 2.81a shows the same behaviour. **Short description of error** Pretty much the title. Trying to assign an object color through the Object Properties tab (Viewport Display > Color) to multiple Objects doesn't work, neither by picking the Color on the Color Wheel, nor by moving the HSV sliders, while Alt-Clicking. Only the last selected Object will update. However: - If sliders are set to RGB, editing them will correctly affect all selected Objects. - The Alpha slider, which is shared between all three Color Wheel modes, works as intended and affects all selected Objects. From the Info console I've noticed a tuple is set everytime a Color is picked from the Color Wheel, but doesn't show anything when using the HSV Sliders. Moving the the RGB and Alpha sliders correctly sets each Object's property to the selected value. **Exact steps for others to reproduce the error** - Open Blender, default startup file - Add>Mesh - Select any kind of Mesh Object (have at least 2 items in the scene, or more) - Go to the Shading Panel in the top right and Select "Object" down the Color section, to see Object Colors in the viewport - Press A to select All Objects, or alternatively, select them one by one by Shift+Right Click - Go to Object Properties > Viewport Display > Color - Hold ALT either while clicking on the Color Wheel or while moving the HSV Sliders. Only the last selected Object will update. - While holding ALT, try moving the Alpha slider. All selected Object will update. - In the Color Wheel, select the RGB tab. While holding ALT, try moving the R, G or B slider. All selected Object will update. Here's a quick demonstration: [2020-01-20_22-01-14.mp4](https://archive.blender.org/developer/F8290579/2020-01-20_22-01-14.mp4) And the Info panel readings: [2020-01-20_22-02-46.mp4](https://archive.blender.org/developer/F8290582/2020-01-20_22-02-46.mp4)

Added subscriber: @Luxary

Added subscriber: @Luxary

Added subscribers: @ideasman42, @WilliamReynish

Added subscribers: @ideasman42, @WilliamReynish

Not sure if this is meant to be supported. @ideasman42 can you confirm?

Not sure if this is meant to be supported. @ideasman42 can you confirm?

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Alt-Drag uses button properties to change the same properties of other objects, however HSV buttons adjust the color indirectly (the buttons themselves are not properties).

Marking this as a TODO.

Alt-Drag uses button properties to change the same properties of other objects, however HSV buttons adjust the color indirectly (the buttons themselves are not properties). Marking this as a TODO.
Campbell Barton changed title from Alt+Click on Viewport Display > Color doesn't apply to all Selected Objects - except for RGB and Alpha (transparency) sliders to Alt-Drag (multi-editing) fails for HSV color buttons 2020-01-21 14:26:45 +01:00

Would it be too disruptive to add an extra property layer like

bpy.data.objects["Cube"].color.hsv[0] = 1

on top of the already existing .color- [ ] property for compatibility reasons?

I don't think there's currently a supported way or function to convert HSV into RGB values as Blender does it under the hood.
Making it more explicit would help for operations that make use of the HSV values which are more intuitive (e.g. desaturating one or more objects):

bpy.data.objects["Cube"].color.hsv[1] -= 0.2

but I don't really know about the implications of it, so it's just an innocent suggestion.

Would it be too disruptive to add an extra property layer like ``` bpy.data.objects["Cube"].color.hsv[0] = 1 ``` on top of the already existing .color- [ ] property for compatibility reasons? I don't think there's currently a supported way or function to convert HSV into RGB values as Blender does it under the hood. Making it more explicit would help for operations that make use of the HSV values which are more intuitive (e.g. desaturating one or more objects): ``` bpy.data.objects["Cube"].color.hsv[1] -= 0.2 ``` but I don't really know about the implications of it, so it's just an innocent suggestion.

It's not practical to add sub-properties to arrays, and while adding a second HSV property would work - it would need to be applied everywhere.

I'd prefer to see if we can use the color button that opens this the selector and use it for updating all others.

It's not practical to add sub-properties to arrays, and while adding a second HSV property would work - it would need to be applied everywhere. I'd prefer to see if we can use the color button that opens this the selector and use it for updating all others.

Added subscriber: @L0Lock

Added subscriber: @L0Lock

May I add that HEX codes don't support ALT either, it could be nice to have this too.

May I add that HEX codes don't support ALT either, it could be nice to have this too.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:24:51 +01:00
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
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#73277
No description provided.