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

            Bug ID: 503823
           Summary: "Screenshot of Selection": Blurry with fractional
                    scaling
    Classification: Applications
           Product: kate
           Version: 25.04.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: madness...@proton.me
  Target Milestone: ---

Created attachment 180973
  --> https://bugs.kde.org/attachment.cgi?id=180973&action=edit
Screenshot taken at 100% scaling.

SUMMARY
When trying to save a screenshot of a selection with fractional scaling, the
output is very blurry.

STEPS TO REPRODUCE
1. Set monitor to 125% scaling (Desktop -> Right Click -> Display
Configuration).
2. Open Kate and browse to any document.
3. Select 1 or more lines
4. Right click and select "Take Screenshot of Selection".
5. Click on "copy".
6. Open Dolphin and paste the file.

Due to bug 503821 directly saving it doesn't work. You need to copy/paste the
screenshot.

OBSERVED RESULT
The screenshot is much blurrier when fractional scaling is enabled.

EXPECTED RESULT
Image quality similar to screenshots taken at 100% scaling.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 42
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
- Launching Kate with `QT_SCALE_FACTOR_ROUNDING_POLICY=Ceil` drastically
improves the image quality.

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

Reply via email to