UI: string properties cannot be edited via buttons (using alt key standard method) for multiple objects (e.g. lightgroups) #106591

Closed
opened 2023-04-05 13:04:29 +02:00 by michael campbell · 3 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-03 18:55, hash: 14b112ef825f
Worked: (newest version of Blender that worked as expected)

Short description of error
alt key doesn't work on the lightgroup textbox, so can't assign multiple lights to a lightgroup using the usual hold alt key when clicking the textbox.

Exact steps for others to reproduce the error
create a light group and four lights, select all lights, go to the shading dropdown in the object properties:
image

alt click the text box
choose a light group

all other textboxes in blender would assign the same value to all selected objects. In this case you have to right click and choose copy to selected instead.

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-03 18:55, hash: `14b112ef825f` Worked: (newest version of Blender that worked as expected) **Short description of error** alt key doesn't work on the lightgroup textbox, so can't assign multiple lights to a lightgroup using the usual hold alt key when clicking the textbox. **Exact steps for others to reproduce the error** create a light group and four lights, select all lights, go to the shading dropdown in the object properties: ![image](/attachments/52e9624b-237c-47f3-bb70-29c9de525a95) alt click the text box choose a light group all other textboxes in blender would assign the same value to all selected objects. In this case you have to right click and choose copy to selected instead.
michael campbell added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-05 13:04:29 +02:00
Member

Can confirm, will check

Can confirm, will check
Philipp Oeser added
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-04-05 14:39:52 +02:00
Member

OK, this is because lightgroups are actually a string property (and these are not supported in ui_selectcontext_apply). No other string properties are working either because of this.

I have a patch locally that enables this, just needs a bit more testing (with this patch, all sorts of stuff gets "enabled" for multi-object buttons -- names included -- so this needs a bit of further testing before sending out to the wild...)

OK, this is because lightgroups are actually a string property (and these are not supported in `ui_selectcontext_apply`). No other string properties are working either because of this. I have a patch locally that enables this, just needs a bit more testing (with this patch, all sorts of stuff gets "enabled" for multi-object buttons -- names included -- so this needs a bit of further testing before sending out to the wild...)
Philipp Oeser added the
Module
User Interface
label 2023-04-05 16:26:17 +02:00
Philipp Oeser changed title from alt key doesn't work on the lightgroup textbox, so can't assign multiple lights to a lightgroup using the standard method. to UI: string properties cannot be edited via buttons (using alt key standard method) for multiple objects (e.g. lightgroups) 2023-04-05 16:28:54 +02:00
Philipp Oeser self-assigned this 2023-04-05 16:29:30 +02:00

legend 👍

legend 👍
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-04-11 10:28:26 +02: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
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#106591
No description provided.