Skip to content

Cropping on HDPI screen not works (Ubuntu 21.04) #250

Open
@Tamas-Toth-ebola

Description

@Tamas-Toth-ebola

Describe the bug
Cropping a screenshot captured on a HDPI screen (eg.: 4k screen with 200% scale) is randomly false (and maybe zoom based).

To Reproduce

  1. Use a HDPI screen
  2. Get an image (its source is irrelevant)
  3. Click on 'crop'
  4. You will get non-cropped or badly cropped result (sometimes non-cropped, simetimes the crop has not the same area what I defined before)

Expected behavior
On the same device just without HDPI settings (1920x1080 with 100% scale) the function is perfect. At every crop we get what we expect.

Screenshots
Non applicable. I made an aniGIF about the process but I dropped it as it was not enough/so illustrative.

Desktop (please complete the following information):

  • Device: Intel - NUC8i7 + LG - UltraFine 4k (24MD4KL-B)
  • OS: Linux
  • Distribution: Ubuntu Desktop 21.04 with latest daily upgrades
  • Windowing system: X11 / GNOME - 3840x2160/200% scale
  • ksnip: v1.9.0
  • How did you install ksnip: Flatpak

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions