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

            Bug ID: 408143
           Summary: Overview Docker, 4.2.0 onwards, has canvas image
                    scaling and position problems with small images
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Dockers
          Assignee: krita-bugs-n...@kde.org
          Reporter: ahab.greybe...@hotmail.co.uk
  Target Milestone: ---

Created attachment 120428
  --> https://bugs.kde.org/attachment.cgi?id=120428&action=edit
Overview docker screenshots - scaling/position problem

SUMMARY
This happens in 4.2.0 and the latest nightly appimages.
If a small image is used, the Overview docker gives incorrect presentation of
the canvas image and the blue rectangle workspace 'view hole' on the docker.
The problem is worse for smaller images and worse for larger docker sizes.
It does not happen in 4.1.7 where the docker can be made any size you like and
still maintains a correct presentation.

STEPS TO REPRODUCE
1. Make an image of 300 x 200 pixels and draw some content in it (for reference
and comparison)
2. Adjust the Overview docker to be large in size. Floating it onto a second
monitor (if you have one) is a good way to see and examine this.

OBSERVED RESULT
The attached .zip file has screenshots to illustrate the problem
A-..png shows the full 300x200 image. B-..png shows the 4.2.0 Overview docker
at a 'large' size with workspace zoom set to Fill Page.
If you zoom in so the central 'v' shape fills the canvas, you get C-..png which
is obviously wrong, whereas D-..png shows the 4.1.7 correct presentation.
If you reduce the docker size to 'medium' in 4.2.0, you get as shown in
E-..png, which is wrong in a slightly different way.

EXPECTED RESULT
The docker should give a full and accurate display at all docker sizes for all
image sizes, as it does in 4.1.7.

SOFTWARE/OS VERSIONS
Krita

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

Qt

  Version (compiled): 5.12.2
  Version (loaded): 5.12.2

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.9.0-9-amd64
  Pretty Productname: Debian GNU/Linux 9 (stretch)
  Product Type: debian
  Product Version: 9

ADDITIONAL INFORMATION

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

Reply via email to