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

            Bug ID: 506909
           Summary: "Screenshot of Selection": White space with fractional
                    scaling
    Classification: Applications
           Product: kate
      Version First 25.04.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 183157
  --> https://bugs.kde.org/attachment.cgi?id=183157&action=edit
Showcase of the bug.

SUMMARY
When using fractional scaling, the saved screenshot will have a huge white
space around the code.

STEPS TO REPRODUCE
1. Open System Settings -> Display & Monitor ->  Set scaling 125%.
2. Open a file in Kate.
3. Select a couple of lines.
4. Right click -> "Take Screenshot of Selection" -> Save.

OBSERVED RESULT
The image has a huge white space around it.

EXPECTED RESULT
The image should not show excessive white space around it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
- It seems to have appeared with commit:
https://invent.kde.org/frameworks/ktexteditor/-/commit/d5ef4a26cf5be5a0a0a22782db54e5627e8857d8

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

Reply via email to