Bug 388918

Summary: Pop-up palette external ring cursor shifts layers while rotating the canvas (Krita 4.0.0-beta1.1)
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, scottpetrovic
Priority: NOR    
Version First Reported In: 4.0.0-beta.1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: (Video example)

Description mvowada 2018-01-13 17:45:30 UTC
Created attachment 109841 [details]
(Video example)

(Ubuntu 14.04 - Krita 4.0.0-beta1.1.appimage)

The pop-up palette external ring cursor (right-click on canvas) shifts the layers while rotating the canvas (see video). Steps:

1) drag the external ring cursor of the pop-up palette (right-click on canvas) to rotate the canvas

Actual Results: layers get shifted
Expected Results: just rotate the canvas
Comment 1 wolthera 2018-01-13 17:47:41 UTC
Cannot reproduce this on KDE Neon based on Ubuntu 16.04. Could you post yor graphics card information, maybe it has to do with that?
Comment 2 mvowada 2018-01-13 17:56:51 UTC
Hi wolthera:

       description: VGA compatible controller
       product: G92 [GeForce 9800 GT]
       vendor: NVIDIA Corporation
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
Comment 3 Scott Petrovic 2018-01-13 18:00:08 UTC
I can reproduce it. This bug only happens when OpenGL is turned off when using the popup palette's rotation ring. I am on KDE Neon Developer Edition. 

Canvas rotation keeps in sync ok if you use the 4 and 6 shortcuts. There must be something that syncs the rotation with the tiles.
Comment 4 mvowada 2018-01-13 18:08:01 UTC
(In reply to Scott Petrovic from comment #3)
> This bug only happens when OpenGL is turned off
Yes, OpenGL was turned off after enabling OpenGL the issue disappears
Comment 5 Scott Petrovic 2018-01-13 19:13:19 UTC
Git commit ffc3a746838b8f0035e7746d4bef96867aeecdce by Scott Petrovic.
Committed on 13/01/2018 at 19:13.
Pushed by scottpetrovic into branch 'master'.

M  +6    -1    libs/ui/kis_popup_palette.cpp
M  +1    -0    libs/ui/kis_popup_palette.h

https://commits.kde.org/krita/ffc3a746838b8f0035e7746d4bef96867aeecdce