Annotations don't move with the Canvas in UV editor or Image editor #63402
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#63402
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.17134 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 417.71
Blender Version
Broken: version: 2.80 (sub 53), branch: blender2.7, commit date: 2019-04-02 19:53, hash:
a813e259d6
Worked: 2.79
Short description of error
In 2.79 the greasepencil annotations in the UV/Image editor would move with the image as you pan across the 2d canvas. They don't in 2.8. In 2.79 you could replicate that behaviour by changing Stroke Placement in the greasepencil options in the toolbar, but it's not the default. In 2.8, the annotation tool in either the UV or the Image editor doesn't have this option, not in the topbar nor the tool properties. I guess the bug is more about surfacing that option back, and making the same default.
Exact steps for others to reproduce the error
From a new file, go to the UV or Image editor and draw with the Annotation tool, either by selecting the tool in the toolbar or by holding D. Use middle mouse click to move pan the 2d view, and the annotations don't move
Added subscriber: @moisessalvador
Added subscribers: @JoshuaLeung, @antoniov
@JoshuaLeung Could you take a look? Not sure how this works (2D Editors).
Added subscriber: @ZedDB
This works for me the same way as it does in the latest 2.79:
With picture:
recording.mp4
Without picture first:
recording.mp4
Anyhow, I'm guessing that this is about it not locking when you draw without a picture present first and no ability to change this setting yourself?
@ZedDB I have checked again and the trick is to create the image before do the annotation.
Works:
Don't Work:
As this is working as it was in 2.79, we can't consider it as bug, no?
@antoniov it depends on if this is how it is supposed to work or not. If this is how it was designed to function, then this is not a bug.
@ZedDB We can consider that it was designed in this way, because this code was ported from 2.79 (not using the same code of grease pencil).
Changed status from 'Open' to: 'Archived'
Sure.
@moisessalvador if this does not work the same way as described here, feel free to reopen.
What seems to be truly happening is this;
If you start with an image, great! It locks!
But If you don't start with an image, or start with an image but then switch to a 2d view without an image and then annotate, every subsequent stroke, even when you open a new Image in a different 2d editor, doesn't lock the strokes in any 2d view for the entire blendfile ever again.
In 2.79 you at least can change it after in the toolbar, what kind of stroke you want (It's called Stroke placement, view/cursor) in 2.8 you can't. You can only make a new blend file and make sure you accidentally never anotate in a 2d view without an image
I propose to bring the option back, to appear in the topbar, the same way that the Annotation tool in the 3D view already does with the Placement option. And for the default behavior of a new 3d view to be locked to the canvas
Changed status from 'Archived' to: 'Open'
@antoniov I'll let you decide what to do with this.
Added subscriber: @ChristopherAnderssarian
That's right, It's because you can't draw (in 2.79) on an empty image, so it reverts to the View. I'm not sure if there are technical reasons to this, the strokes are still visible after removing the image.
You can see this with 2.79:
Open U/V Image Editor
Open Toolbar (Stroke placement should be on cursor)
Start drawing and watch it switch to view.
The same thing is happening in 2.80, it's just that we can't see the options...
Did you mean 2D editor?
IMHO the best solution would be check if there is an image, and if empty, show a warning and cancel annotation.
Added subscriber: @WilliamReynish
Ideally I think it should just always stick to the canvas. If you are making notes for UVs that's what you'd want too.
I can't think of any use-case for the current behavior where annotations are relative to the view and not the canvass - we don't do this in the 3D View either.
Umm... @WilliamReynish
In the 3D view at least it's not the default behavior. Can't really think why one would ever stick annotation lines to the view.
For the UV Editor we could just mirror what we do in the 3D View: By default always attach to canvas/UV space, and have an option to use View.
I agree. Even without an image I make annotations on the positions of UV islands, which needs canvas lock. So the idea of the warning is not ideal either, Annotations definitely have use without an Image open.
Sorry, I saw an opportunity and I seized it. But it is default behaviour as I explained in #63402#657727
There are a few reasons why View Placement is important:
Stroke will stay the same when switching images with different resolutions. Strokes warp/distort on the curser.
Cursor (Canvis) stroke can't move editor. It's handy having your notes/doodles follow you around from editor to editor.
View Placed (2D) Annotations don't suffer from the same issues as Cursor (3D) strokes:
Different execution but the same Idea...
https://cloud.blender.org/p/gallery/5beeaec4527ba54c2fe6fbf8
This is the most rational thing I've heard.
But goal should be to give Annotations (across editors) the same set of tools.
I have been looking at the code (I did not created this area) and I have seen there was an hacky special case for image editor when the image was NULL. The rest of 2D editors always set the annotation locked to canvas (affected by zoom) and never to Screen.
My opinion is to do the same for all 2D annotations and always set to Canvas and never to View. Actually in 2.79 you can select if lock to screen or Canvas, but this is something that came from old grease pencil. I don't think is very user friendly to have two options.... really we want add complexity to UI for a corner case?
How are you making the UX more complicated? I'd argue it's more complicated now because there's no consistency in the Annotations Tool.
The topbar is Empty and we're talking about removing an option we already don't have...
So what would you intend to do with all the View Placement GPencil data in 2.80's Annotations?
What I want to do is keep all 2D editors equal. Today we have a "special" case for Image editor and the rest of 2D editors working differently. The logic, it's to set all 2D editor equal and remove the screen option. It's very weird that you draw an annotation and when you move/zoom the annotation does not move.
If we add a button to define the type of placement, you can add strokes to Screen and to View and it's very confusing to have strokes that moves and others don't. The idea is to make annotations simple.
@ChristopherAnderssarian We cannot use the Topbar because we have only one for screen. If you have a 3D view and a UV editor, you cannot detect what annotation datablock are you using.
Yes, that's what I'm saying.
Ah, this is where the confusion may be:
There shouldn't be a distinction between the Image editor and the rest of 2D editors. This is wrong.
Currently All editors implement Annotations differently:
Requisite blend file:
Topbar_not_editor_sensitive.blend
How is this weird?
But this is up to the user, with clearly labeled tooltips as to what's going to happen.
Yes, what I'm saying is that right now it's not simple. Look at the blend file and all the issues listed.
But that's not a Grease Pencil/Annotations issue that's a UI/UX Issue. If/once that's fixed and the active tools are added to added to the editors then there's space and workflow for other options...
Okay the bottom line:
I do not have a problem with removal of features or functionality, as long as it's replaced with something that works. I really do not see this happening before 2.80 release.
IMHO, change annotations is not a primary task for 2.80. Maybe, we could close this task report because the problem is fixed now and open a new task with Annotation ToDos (not only the topbar and space issues).
I know and that's why I didn't report this months ago (and why I don't report all of the bugs/issues/crashes that I still put up with today, because I know it will get removed)
This sounds like a good course of action.
@antoniov Before this task is closed, can I ask you: Do you at least see where I'm coming from? (just in case)
@ChristopherAnderssarian I understand your points, but we need at some point stop to add things and try to stabilize all. For sure there are a lot of things to fix, but we try to get something good enough... you know, the resources and time are limited. Anyway, it's my opinion only... I'm not part of BF.
Changed status from 'Open' to: 'Resolved'
As the main problem of this task is solved, we can close it.
Thank you guys!
Thank you @antoniov I'll see you in the Annotations todo task ;)