The officially official Devuan Forum!

You are not logged in.

#1 2022-12-12 14:57:57

Tritonio
Member
Registered: 2022-01-09
Posts: 34  

[SOLVED] Atril print preview does not work

What the title says. Version 1.24.0 on Chimaera. Print preview in Atril shows a progress bar quickly and then nothing, it just goes back to showing the document as is. You can fix this by installing evince. I thought I'd post in case anyone encounters this in the future.

Offline

#2 2022-12-13 10:52:51

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Atril print preview does not work

same in ceres/sid, with atril 1.26.0-2 .
(topic shouldn't be marked as solved imho, installing another app, doesn't solve atril's problem.)

in my case i see these in .xsession-errors :

(atril:12486): WARNING **: 12:17:46.086: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files
[ 13/12/2022 12:18:06.680 x_create_picture_with_pictfmt_and_pixmap ERROR ] failed to create picture (X error 9 DRAWABLE request 139 minor 4 serial 6369528)
[ 13/12/2022 12:18:06.693 paint_one ERROR ] Window 0x03001f39 is missing painting data.
[ 13/12/2022 12:18:06.694 x_create_picture_with_pictfmt_and_pixmap ERROR ] failed to create picture (X error 9 DRAWABLE request 139 minor 4 serial 6369559)

Last edited by xinomilo (2022-12-13 10:53:08)

Offline

#3 2022-12-13 17:22:22

Tritonio
Member
Registered: 2022-01-09
Posts: 34  

Re: [SOLVED] Atril print preview does not work

I suppose evince should be marked as an suggested dependency on Atril and that would solve the issue, correct? But in terms of this thread, is there anything more to do to resolve it?

You error seems somewhat different. I also got the avahi errors since I've removed avahi but I got a message clearly saying evince was not found, which I don't see in your log.

Offline

#4 2022-12-13 19:51:54

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Atril print preview does not work

atril is a document viewer app
evince is another document viewer app.
one is not needed to run the other.. no relation/dependency between those 2.
that's why i'm saying atril's problem is not fixed. by installing evince, you just use evince for viewing/printing documents..

Offline

#5 2022-12-14 10:13:28

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: [SOLVED] Atril print preview does not work

xinomilo wrote:

no relation/dependency between those 2.

Just guessing: may be one of them have a dependency needed by the other but not stated?

Offline

#6 2022-12-14 11:46:23

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Atril print preview does not work

Tritonio wrote:

I suppose evince should be marked as an suggested dependency on Atril and that would solve the issue, correct?

Are you still using Atril as the image viewer or did you change to Evince?

Tritonio wrote:

But in terms of this thread, is there anything more to do to resolve it?

If you are still using Atril as the image viewer and installing Evince fixed a bug in Atril then you should report that as a bug in the Atril package to the Debian maintainer using the reportbug package. See also https://www.debian.org/Bugs/Reporting.


Brianna Ghey — Rest In Power

Offline

#7 2022-12-14 12:57:42

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] Atril print preview does not work

Just a similar case.
When updating, obviously, the dependencies in the spec file were not fully indicated.
When installing the clone program, they were installed and the initially non-working program became operational.

https://www.pclinuxos.com/forum/index.p … 709.0.html

Offline

#8 2022-12-14 13:41:21

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [SOLVED] Atril print preview does not work

just tested, after installing evince, atril is using evince-previewer for print preview. and that works. not atril-previewer as it should(?) ...
so probably atril-previewer is buggy/fails/whatever...

edit] running standalone `atril-previewer $file` works.

Last edited by xinomilo (2022-12-14 13:45:24)

Offline

#9 2022-12-15 00:17:11

Tritonio
Member
Registered: 2022-01-09
Posts: 34  

Re: [SOLVED] Atril print preview does not work

I still use Atril, it's just that the print preview now opens, and it opens in evince, and before installing evince Atril was complaining (in the stdout) that evince was not found.

Could it be that print previews are for example in postscript and for some reason postscript is associated with evince even when evince is not installed? But I don't see how this could be the case. Where are file associations stored in XFCE? I think the suggested ones come from .desktop files but where is the currently active association stored? The one that xdg-open would use to open the file (if xdg-open is even used by XFCE).

Offline

Board footer