Bug 392225 - Preserve relative canvas position when switching from/into Canvas Only mode
Summary: Preserve relative canvas position when switching from/into Canvas Only mode
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 4.0
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 393199 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-23 10:19 UTC by kde-doozer
Modified: 2018-04-16 17:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
canvas only offset demo (109.29 KB, video/mp4)
2018-03-23 10:19 UTC, kde-doozer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde-doozer 2018-03-23 10:19:07 UTC
Created attachment 111579 [details]
canvas only offset demo

Going to Canvas Only mode (Tab hotkey by default) causes canvas to offset top-left. Same when exiting to regular windowed mode, the canvas shifts right-down

Suggestion: calculate canvas position relative to mouse cursor and shift the canvas accordingly to preserve uninterrupted workflow.
Comment 1 Halla Rempt 2018-03-28 13:50:35 UTC
I guess you're on Windows?
Comment 2 Dmitry Kazakov 2018-03-28 14:09:59 UTC
I can reproduce this bug, but the canvas offsets into a different direction. Technically, we can solve that, though I'd mark it as minor issue.
Comment 3 kde-doozer 2018-03-28 14:30:08 UTC
(In reply to Boudewijn Rempt from comment #1)
> I guess you're on Windows?
Tried both on Windows and Linux, same behavior. Only on Linux there is another minor annoyance: the cursor 'tries' to stick to the canvas, but as soon as you move the mouse/tablet, it jumps back to where it was, causing the reported offset.

(In reply to Dmitry Kazakov from comment #2)
> I can reproduce this bug, but the canvas offsets into a different direction.
I think the offset direction depends on the canvas bounds relative to the view (zoomed in or out, for example).
Comment 4 Quiralta 2018-04-16 17:45:19 UTC
*** Bug 393199 has been marked as a duplicate of this bug. ***