"New action" tooltip should be duplicate/copy action #107625

Open
opened 2023-05-04 17:33:57 +02:00 by Ken Heslip · 6 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.29

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)

Short description of error
This tooltip in the image isn't strictly correct. While it does create a new action, it really makes a copy of the current action.

Exact steps for others to reproduce the error
Hover mouse over the icon circled in green in the image. In the action editor.
The tooltip says "New action. Create new action.".

I think the tooltip should say: "Copy action. Copy current action.".

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.29 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) **Short description of error** This tooltip in the image isn't strictly correct. While it does create a new action, it really makes a copy of the current action. **Exact steps for others to reproduce the error** Hover mouse over the icon circled in green in the image. In the action editor. The tooltip says "New action. Create new action.". I think the tooltip should say: "Copy action. Copy current action.".
Ken Heslip added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-05-04 17:33:58 +02:00
YimingWu added
Module
User Interface
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-05-05 05:20:20 +02:00
Member

Yeah from the quick look at the code it seems that it's always been copying the old action.

I suggest changing the tool tip into "Create a new action by duplicating the current one".

Yeah from the quick look at the code it seems that it's always been copying the old action. I suggest changing the tool tip into "Create a new action by duplicating the current one".
Author

I'd be happy with that or something slightly altered...

"Creates new action by duplicating the current action."

I'd be happy with that or something slightly altered... "Creates new action by duplicating the current action."
Pratik Borhade added
Status
Confirmed
Meta
Good First Issue
and removed
Status
Needs Info from Developers
labels 2023-06-09 07:15:35 +02:00
Member

I can confirm. Tagged with "good first issue"

I can confirm. Tagged with "good first issue"
Contributor

I can fix this one. Should I do #109845 at the same time?

I can fix this one. Should I do #109845 at the same time?
Contributor

I've bumped into the issue of the the tooltips for the copy button when there already is a linked action and the + New button when there is no action linked being the same. If I change the tooltip to "Copy Action", it changes even if there is no action to copy.

The easy solution would be to change the tooltip to "New Action" "Create new action or duplicate the current one", but this might be confusing if there is no current action and sounds like it's possible to create a blank action if there already is one.

The more complicated approach would be to use separate operators for new and copy, but I couldn't figure out how the copy and + New buttons are linked and I am not sure if you are supposed to mess with that anyways. (Geometry Nodes have separate tooltips and I don't know how, all I know is it’s in Python)

Any ideas?

I've bumped into the issue of the the tooltips for the copy button when there already is a linked action and the `+ New ` button when there is no action linked being the same. If I change the tooltip to "Copy Action", it changes even if there is no action to copy. The easy solution would be to change the tooltip to "New Action" "Create new action or duplicate the current one", but this might be confusing if there is no current action and sounds like it's possible to create a blank action if there already is one. The more complicated approach would be to use separate operators for new and copy, but I couldn't figure out how the copy and `+ New ` buttons are linked and I am not sure if you are supposed to mess with that anyways. (Geometry Nodes have separate tooltips and I don't know how, all I know is it’s in Python) Any ideas?

I was reading your conversation about this issue and while I was investigating the problem I found a solution.
So I opened a PR to solve it. It's my first PR so I don't know the next steps.
Any necessary change on PR, let me know.

I was reading your conversation about this issue and while I was investigating the problem I found a solution. So I opened a PR to solve it. It's my first PR so I don't know the next steps. Any necessary change on PR, let me know.
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
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#107625
No description provided.