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

            Bug ID: 504978
           Summary: Gwenview's Print Preview Window Size is Tiny in
                    Multi-screen Setups
    Classification: Applications
           Product: gwenview
      Version First 25.04.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: strong.drum0...@fastmail.com
  Target Milestone: ---

SUMMARY
On one of the two screens, the Print preview window being opened is way too
small. At least Gwenview from git-master and also flatpak (25.04.1) are
affected.

STEPS TO REPRODUCE
1. Have more than one screen
2. In Gwenview open File > Print preview 
3. If you don't see it, move Gwenview to the other screen and try there.

OBSERVED RESULT
On one of the two screens, the Print preview window being opened is way too
small.

EXPECTED RESULT
It size should be comparable to the parent window and not that tiny.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.14.7-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X3D 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B85
System Version: 1.0

ADDITIONAL INFORMATION
Moving straight to ASSIGNED, because it was reported by Jason and I could
confirm it. I have written and locally tested a simple fix by including a
simple resize of the window based on the parent window, analogous to the
solution implemented in Kate seen here: 
https://invent.kde.org/frameworks/ktexteditor/-/blob/master/src/printing/kateprinter.cpp?ref_type=heads#L185

Nate said this is a Qt bug but since the fix is trivial I chose to do this
first.

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

Reply via email to