Author Topic: 'Horrible' Linux printing  (Read 2253 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
'Horrible' Linux printing
« on: April 01, 2022, 04:11:03 pm »
OS : Leap-15.3 with KDE-Plasma
using cb-12776::wx-305 ( this is not specific to this version )

file used : managerplugin.cpp:L54-90 (selected area)

Process :
Quote
1- File->Print :
Selected text only : yes
Black & White : yes
All others : no
-> 'Print'

2- Printer dialog
-> Print preview : this calls 'Okular' (viewer of many formats)
Okular->Print->Save as 'managerplugin_50_94_print.pdf'

see the attachment : 'managerplugin_50_94_printing.pdf'

Remarks:
1- this problem has existed for a long time ...
2- to be sure that the problem is not due to the printer or the system => the same file loaded in 'Kate' prints correctly
3- no problem under Win-7, cb12776::wx-315



« Last Edit: April 01, 2022, 04:20:03 pm by LETARTARE »
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: 'Horrible' Linux printing
« Reply #1 on: April 01, 2022, 04:17:49 pm »
There is a ticket for this.

What is different from Kate to Leap? May be the GTK version? Please add this information and the PDF to the ticket.

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'Horrible' Linux printing
« Reply #2 on: April 01, 2022, 04:34:27 pm »
On Leap-15.3 you can only use 'gtk-2.0' ! which is delivered by default (Leap update on 01/04/2022)
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'Horrible' Linux printing
« Reply #3 on: April 01, 2022, 04:45:08 pm »
Check: 'Kate' uses 'Qt5'.
Update  ticket.
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'Horrible' Linux printing
« Reply #4 on: April 11, 2022, 05:56:16 pm »
I just did a comparative test :

    1- Leap-15.3:: with cb-12783, gcc-750, wx-305 (gtk2.0)
    print horrible !!
    2- Leap-15.3:: with cb-12783, gcc-750, wx-315 (gtk3.0)
    print correct.

I can't use the 'wx-305 (gtk-3.0)' pair.

Conclusion: the couple 'wx-305 'gtk-2.0)' is the culprit.

see https://sourceforge.net/p/codeblocks/tickets/1214/
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl