On Mon, 2023-01-23 at 07:28 +1030, Tim via users wrote:
Does anyone know why I can't print from appimages (e.g.
MuseScore)?
The printers are listed, and you can go through all the normal
motions
to print to one of them, but nothing happens. The printer requester
disappears, as you'd expect when printing commences, but nothing
prints. There's appearing or stuck in the queue. It just disappears
into a black hole.
It can print to a PDF file, that works. Although it's a seriously
annoying work around, having to save a file any time you want to
print,
then open the file in a PDF viewer and print from that.
Other programs print properly.
If I run the app from the command line I get a gazillion and one
lines
like this appearing in the terminal when I try to print, though I
have
no idea if they're fatal errors or just something it doesn't actually
need to do:
QPainter::begin(): Returned false
QPainter::setRenderHint: Painter must be active to set rendering
hints
QPainter::setRenderHint: Painter must be active to set rendering
hints
QPainter::scale: Painter not active
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::translate: Painter not active
QPainter::setFont: Painter not active
QPainter::translate: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::translate: Painter not active
Something related to sandboxing? IIRC flatpak apps can have this sort
of problem as well.
poc