The X or Delete button does not work in the outliner (Blender File) #93401
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#93401
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.68
Blender Version
Broken: version: 2.93.6, branch: master, commit date: 2021-11-16 14:54, hash:
c842a90e2f
Worked: (newest version of Blender that worked as expected)
Short description of error
[The X or Delete button does not work in the outliner (Blender File)]
Exact steps for others to reproduce the error
when you press X items in:
Delete X Button.blend.py
{F12271213}]
Added subscriber: @Oxicid
#94660 was marked as duplicate of this issue
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @lichtwerk
Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'
Think this has caused confusion before (but it is still working somewhat as intended).
Underlying issue is that
Delete
is not the same for all IDs.Collections and object have a unified delete operator since 26c0ca3aa7:
Outliner_OT_delete
The context menu still does this differently (see
OUTLINER_IDOP_DELETE
,id_delete_fn
).The
X
icon is not too helpful here (since it implies that might be a shortcut).If you assign {key X} to the context menu
Delete
, this conflicts with the {key X} that is already assigned toOutliner_OT_delete
.And you still end up calling
Outliner_OT_delete
[which does not work on anything but collections and objects].I never really fully understood priorities in shortcuts, so assigning a shortcut that is already taken elsewhere might work, often times it does not though (and the "original" operator is still called).
So, while the order/priorities of shortcuts is not entirely clear to me, I think this report just boils down to the fact that we have conflicting shortcuts here.
To fully classify this, I guess we still need input from #user_interface devs (but to me, this does not look like a bug).
Added subscriber: @Rawalanche
So if this is not a bug, then what is the proper way to assign delete operator to any keyboard shortcut which would work in Blender File mode?
{key Shift X} will work
Ah, yes, it does. Confusingly, though, inability to assign same keyboard shortcut to conceptually the same operation should be considered a bug. Otherwise, by the same logic, users should not be able to use Delete key to both delete objects in object mode and mesh elements in mesh edit mode, since both are different operators yet both of these are called in the different modes of the same editor.