Code::Blocks Forums

User forums => Help => Topic started by: LETARTARE on April 01, 2022, 04:11:03 pm

Title: 'Horrible' Linux printing
Post by: LETARTARE 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



Title: Re: 'Horrible' Linux printing
Post by: Miguel Gimenez on April 01, 2022, 04:17:49 pm
There is a ticket (https://sourceforge.net/p/codeblocks/tickets/1214/) for this.

What is different from Kate to Leap? May be the GTK version? Please add this information and the PDF to the ticket.
Title: Re: 'Horrible' Linux printing
Post by: LETARTARE 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)
Title: Re: 'Horrible' Linux printing
Post by: LETARTARE on April 01, 2022, 04:45:08 pm
Check: 'Kate' uses 'Qt5'.
Update  ticket.
Title: Re: 'Horrible' Linux printing
Post by: LETARTARE 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/ (https://sourceforge.net/p/codeblocks/tickets/1214/)