| Summary: | Gwenview's Print Preview Window Size is Tiny in Multi-screen Setups | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | Lenzoid <strong.drum0546> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 25.04.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/gwenview/-/commit/8dd932534d805e055173ebbe77096a03f64124e3 | Version Fixed/Implemented In: | 25.04.3 |
| Sentry Crash Report: | |||
| Attachments: | Demonstration Screenshot | ||
|
Description
Lenzoid
2025-05-29 18:13:46 UTC
Will have a MR soon. Created attachment 181879 [details]
Demonstration Screenshot
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/333 Git commit 2974b19e0cb5e0265cef7d932648a43162177a76 by Nate Graham, on behalf of Matthias Danzl. Committed on 03/06/2025 at 18:28. Pushed by ngraham into branch 'master'. Fixing Gwenview print preview window size in multi-screen setups By inserting a resize of the preview dialog it works around the bug exclusive to multi-screen systems where this preview window is opened with a tiny size. This solution is adopted from a portion in bool KatePrinter::printPreview() It has been suggested that this is a Qt bug. While that may be so, the purpose of this is to provide a workable solution until the root cause is addressed properly. So far I have not found an existing Qt issue for this. M +6 -0 lib/print/printhelper.cpp https://invent.kde.org/graphics/gwenview/-/commit/2974b19e0cb5e0265cef7d932648a43162177a76 Git commit 8dd932534d805e055173ebbe77096a03f64124e3 by Nate Graham. Committed on 03/06/2025 at 18:32. Pushed by ngraham into branch 'release/25.04'. Fixing Gwenview print preview window size in multi-screen setups By inserting a resize of the preview dialog it works around the bug exclusive to multi-screen systems where this preview window is opened with a tiny size. This solution is adopted from a portion in bool KatePrinter::printPreview() It has been suggested that this is a Qt bug. While that may be so, the purpose of this is to provide a workable solution until the root cause is addressed properly. So far I have not found an existing Qt issue for this. (cherry picked from commit 2974b19e0cb5e0265cef7d932648a43162177a76) Co-authored-by: Matthias Danzl <md@ml1.net> M +6 -0 lib/print/printhelper.cpp https://invent.kde.org/graphics/gwenview/-/commit/8dd932534d805e055173ebbe77096a03f64124e3 |