Bug 372351

Summary: sphere cap deformation incorrectly scales sphere radius (should be cap radius only)
Product: [Plasma] kwin Reporter: David Rankin <drankinatty>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: vlad.zahorodnii
Priority: NOR    
Version: 5.8.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.14.0
Attachments: Snapshot of 'sphere cap deformation' at 50%

Description David Rankin 2016-11-11 17:32:52 UTC
Created attachment 102173 [details]
Snapshot of 'sphere cap deformation' at 50%

The 'sphere cap deformation' slider does not work on the 'sphere caps', instead it works by scaling the whole sphere into an oval which causes the desktop to fly off the sphere with a setting anywhere close to 50% or above. 

This is wrong, (an incorrect implementation). The desktop portion of the sphere should remain unchanged regardless of the sphere cap deformation, and only the radius of the 'caps' should reduced as the 'cap deformation' increases (toward the plane end of the slider).

Screenshot showing 50% cap deformation squishing the whole sphere causing desktop to fly off included.