Menu

#1214 Printing to file fails under KDE Neon and Linux Mint

Undefined
open
nobody
Bug_Report
2022-04-11
2022-02-25
No

I'm running Linux Mint 20.3 Cinnamon 5.2.7.
I'm using Code::Blocks
Release 20.03 rev 11997 (2020-03-28 13:56:24) gcc 9.3.0 Linux/unicode - 64 bit
I select Print from the File menu, Active editor, black and white, Print, in the print dialog I select Print to File, and Preview.
The file is mangled. Attached is the .pdf it generates under Linux Mint. Under KDE Neon, no .pdf file is produced.

1 Attachments

Related

Tickets: #48

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2022-02-25

    Discussion in the forum and other printing test from Mint 18.

     

    Last edit: Miguel Gimenez 2022-02-25
  • Miguel Gimenez

    Miguel Gimenez - 2022-02-25

    Looks like the printing method, wxStyledTextCtrl::FormatRange(), is Windows only. From the documentation:

    On Windows, will draw the document into a display context such as a printer.

    Surprisingly, there are no crashes on Linux and something is printed.

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-02-25
    • labels: --> Linux, Printing
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-04-01

    I created an issue in wxWidgets, but Vadz says the problem is inside Scintilla.

    I have been looking in the Scintilla tickets, but have not found any related to this.

     
  • LETARTARE

    LETARTARE - 2022-04-01

    Thanks.

     
  • LETARTARE

    LETARTARE - 2022-04-05

    This problem is very very old, I found a message from r10922 ! (January 16, 2017)
    printer

     
  • LETARTARE

    LETARTARE - 2022-04-11

    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.

     

    Last edit: LETARTARE 2022-04-11

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.