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

            Bug ID: 485066
           Summary: When you annotate an image in Gwenview, the resulting
                    image is upscaled if display scaling is enabled
    Classification: Applications
           Product: gwenview
           Version: 24.02.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: nyanpas...@tuta.io
  Target Milestone: ---

Created attachment 168171
  --> https://bugs.kde.org/attachment.cgi?id=168171&action=edit
A 2x1 checkerboard edited by X11 Gwenview's Annotate button at 125% scaling.

SUMMARY
If your screen is set to fractional (eg. 125%) or 200% scaling, and you
annotate an image from Gwenview, the resulting image is scaled by 125% or 200%
rather than retaining its original size.

STEPS TO REPRODUCE
1. Login under X11 or Wayland with display scaling enabled.
2. Open an image in Gwenview.
3. In the left sidebar, click Annotate.
4. Optionally draw on the image. Then click OK.

OBSERVED RESULT
On X11, the image is resized by your current display scale factor (eg. 125%),
using nearest neighbor interpolation (which results in uneven pixels).
On Wayland, the image is resized by (your current display scale factor →
rounded up to the nearest integer scale factor). At 125% scaling, this is 200%.

EXPECTED RESULT
You can draw on the image at its original resolution (like editing it in GIMP
or Kolourpaint).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.7.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550M DS3H

ADDITIONAL INFORMATION

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

Reply via email to