Bug 475937 - Unable to print in landscape mode
Summary: Unable to print in landscape mode
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-21 20:26 UTC by Real Name
Modified: 2024-04-20 15:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Real Name 2023-10-21 20:26:02 UTC
SUMMARY
Selecting "landscape" mode in the printer properties (in the "Print" dialog") does nothing except print the image in portrait mode with a third of the image missing. This happens in all KDE applications that can print, not just Gwenview.


STEPS TO REPRODUCE
1. Open the "Print image" dialog by pressing Ctrl+P or from the menu
2. Click the "properties" button and select "Landscape" in the "Orientation" box
3. Print

OBSERVED RESULT
Image is printed in portrait mode anyway

EXPECTED RESULT
Image printed in landscape mode as selected

SOFTWARE/OS VERSIONSOperating System: Fedora Linux 39
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.7-300.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD A10-7860K Radeon R7, 12 Compute Cores 4C+8G
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 590 Series

ADDITIONAL INFORMATION
Installed evince and gthumb to rule out a driver bug and yes, both can print in landscape mode just fine, so this is 99% a Qt/KDE exclusive bug. This seems to be a recurrent bug as well.
Comment 1 gwarser 2023-11-06 09:20:24 UTC
Can be related to CUPS update. I think I had driver "Brother DCP-T520W, driverless, 1.8" before, now it's "2.0".

Printing from GIMP and Firefox seems fine.
Comment 2 João Vidal da Silva 2023-12-04 06:10:52 UTC
I'm having the same issue since I last updated my system (Manjaro).
It was a large update, many KDE components and also all CUPS related components (cups and filters, ppd).
My Canon Pixma drivers were not updated but I reinstalled them and removed/readded the printer. No good.

Printing with 'lp', Libreoffice Writer, Gimp, all ok.
Last week I was sure I was having the same issue printing PDFs from Okular, but I tried it now and seems ok.

Gwenview definitely has this issue, printing 'landscape layout' images.
Comment 3 João Vidal da Silva 2023-12-05 01:25:49 UTC
I updated Gwenview to 23.08.3-2 but the problem remains.
But it's interesting to notice that, although Okular prints PDFs correctly, it prints images incorrectly just like Gwenview.
Comment 4 joelsonejr 2024-02-02 23:24:51 UTC
I was able to confirm the misbehavior when printing from Gwenview, version  23.08.4. Printing from Chrome and Gimp are working fine. 
Below is my system information:

Kernel: 6.6.10-1-MANJARO 
  Uptime: 1 hour, 16 mins 
  Packages: 1318 (pacman), 10 (flatpak), 6 (snap) 
  Shell: bash 5.2.21 
  Resolution: 2560x1440 
  DE: Plasma 5.27.10 
  WM: KWin 
  Theme: [Plasma], Breeze [GTK2/3] 
  Icons: [Plasma], breeze [GTK2/3] 
  Terminal: yakuake 
  CPU: Intel i7-4790K (8) @ 4.400GHz 
  GPU: NVIDIA GeForce GTX 1080 
  Memory: 4404MiB / 32042MiB