https://bugs.kde.org/show_bug.cgi?id=418406

            Bug ID: 418406
           Summary: A Rotation Transform around the 'x' or 'y' axis (not
                    'z' axis) caused loss of off-canvas content
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Transform
          Assignee: krita-bugs-n...@kde.org
          Reporter: ahab.greybe...@hotmail.co.uk
  Target Milestone: ---

Created attachment 126550
  --> https://bugs.kde.org/attachment.cgi?id=126550&action=edit
off canvas content due to 'y' axis rotation

SUMMARY
If the Transform tool is used in Rotation mode so that 'x' or 'y' axis
rotations can be done and these operations result in off-canvas content, that
off-canvas content is lost/discarded.
If a 'z' axis rotation is done, any resulting off-canvas content is preserved.

This has been observed in the Feb 21st 4.3.0-prealpha (git 2b45b5d).
[This is the latest one I've been able to get due to ongoing problems with
appimage downloads.]

STEPS TO REPRODUCE
1. Create content and do a 'y' axis rotation to give off-canvas content such as
shown in "y-axis-rot-go-off-canvas.png"
2. Apply the transform and use the Move tool to try to bring the off-canvas
content back on-canvas.
3. Note that the off-canvas content has been discarded as shown in
"y-axis-rot-lost-off-canvas-content.pmg"
4. Repeat with a 'x' axis rotation and note a similar loss of resultign
off-canvas content.
5. Repeat with 'z' axis rotation and note that resulting off-canvas content is
preserved.

OBSERVED RESULT
See Steps to reproduce

EXPECTED RESULT
Off-canvas content should be preserved.

SOFTWARE/OS VERSIONS
Krita

 Version: 4.3.0-prealpha (git 2b45b5d)
 Languages: en_GB, en, en, en_GB, en
 Hidpi: true

Qt

  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-8-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10

OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 418.74" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 4.6, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to