Grease Pencil Ctrl z bug #42961
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#42961
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
Ubuntu 14.04, Intel onboard card
Blender Version 2.73 official test build
Reproduceable: YES
Crash of Blender:NO
Short description of error
when drawing with grease pencil and you press CTRL+z the frame changes to the last frame you used. Should stay on the frame you are working on.
Exact steps for others to reproduce the error
draw on frame 1, change the frame to for example 10, draw again, press CTRL+z, it goes back to frame 1.
Changed status to: 'Open'
Added subscriber: @ivampretti
This issue was referenced by
071ec918f4
Changed status from 'Open' to: 'Resolved'
Closed by commit
071ec918f4
.Changed status from 'Resolved' to: 'Open'
Added subscriber: @JulianEisel
eekk copied wrong task number, should be blender/blender-addons#42895... So this is still open
Added subscriber: @pollend
Removed subscriber: @pollend
Added subscriber: @Sergey
Joshua, do you mind having a look here?
Added subscriber: @JoshuaLeung
Added subscriber: @zeauro
ubuntu 14.04 64bits NVIDIA Titan Black
hash:
cefb764
I cannot reproduce.
Ctrl Z does not change frame for me.
@zeauro, yeah it only happens when using the arrow keys
I have a fix ready for this, but would like to check with @JoshuaLeung before committing
Indeed, this seems to be something that only happens when using the arrow keys and not when dragging the time slider. In that case, it's not a bug, but rather, something done by design (or rather, as a compromise). See
8621c71c4c
The rationale for this is something like this:
There is no way to tell the difference between an operator being called multiple times as the key was held down or pummelled rapidly, vs the operator was purposefully executed to yield an undoable reference point/state. At least not within the event handling system we have in place.
Admittedly, it is not the most ideal situation, and some cases like this still happen. But as the "simplest" solution, this is not that bad either.
EDIT: Now, if we really did have to make the arrow keys case also work, we'd have to resort to doing crazy things like making the screen.frame_offset operator modal. Its event flow would look something like:
Now, doing something like this is probably overkill, but is something we could consider if it really was that much of an issue (which I don't think it is).
Changed status from 'Open' to: 'Archived'
Closing. Not a bug.
@JoshuaLeung, I agree, that's why I wanted to check with you before committing...
I think your proposal would be fine, but I'd rather call the frame change from modal(), as animators might want to search a specific frame or want to slowly scrub through the frames, one by one.
Without implementing your proposal, I'm afraid we'd get more reports on that, so I think it would be worth investigating
I just think that if you draw and made a mistake, you should be able to press Ctrl+Z and undo only the thing you draw even moving the timeline with the arrow keys. Because its more precise move frame by frame with the arrow keys than an slider. And most of the time we just move about 2 or 3 frames, not 50. And every time its moved to a frame to draw again you should move to the same frame again its a waste of time.