Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Evince Refreshing Incorrectly [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Fri Jul 15, 2022 7:59 pm    Post subject: Evince Refreshing Incorrectly [SOLVED] Reply with quote

Hello,
Over the past few days, I've noticed a problem when evince refreshes a document (e.g. I have it open and then recompile the LaTeX source). The rendering seems to get mildly to severely messed up on the refresh; it looks fine if I close evince and restart. Has anyone else experienced this? Any ideas on how to fix it?

I'm running 42.3:
Quote:

~ # eix evince
[I] app-text/evince
Available versions: 42.2(0/evd3.4-evv3.3) 42.3(0/evd3.4-evv3.3) {cups djvu dvi gnome gnome-keyring gstreamer gtk-doc +introspection nautilus postscript spell tiff xps}
Installed versions: 42.3(0/evd3.4-evv3.3)(06:40:50 AM 07/15/2022)(cups gnome-keyring introspection tiff -djvu -dvi -gnome -gstreamer -gtk-doc -nautilus -postscript -spell -xps)
Homepage: https://wiki.gnome.org/Apps/Evince
Description: Simple document viewer for GNOME


I also tried to re-emerge everything evince depends on to fix it -- no dice:

Code:

equery -C -q depgraph evince | cut -d']' -f2 | grep -v ":" | sed 's/-[0-9].*$//g' | tr -d ' ' | xargs emerge -1


Thanks in advance for any insights!


Last edited by justin_brody on Fri Jul 29, 2022 8:37 am; edited 1 time in total
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Fri Jul 15, 2022 10:02 pm    Post subject: Reply with quote

please try with starting evince from terminal and maybe it'll show some error messages.
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Fri Jul 15, 2022 10:22 pm    Post subject: Reply with quote

Thanks for the suggestion! Unfortunately no error message. When I recompiled, a bunch of characters just got dropped (and the font got messed up) but nothing in the terminal. Hitting <CTRL>+<R> doesn't bring them back but closing evince and restarting does...
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Fri Jul 15, 2022 10:56 pm    Post subject: Reply with quote

i have no idea about current gnome (because i never used it), but have you also installed app-editors/gnome-latex ?
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Sat Jul 16, 2022 2:49 am    Post subject: Reply with quote

I haven't -- I just use emacs for editing LaTeX. Do you think just installing it might make a difference?
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Sat Jul 16, 2022 3:04 pm    Post subject: Reply with quote

justin_brody wrote:
I haven't -- I just use emacs for editing LaTeX. Do you think just installing it might make a difference?


i don't know, tbh - just trying to help.

are you using only gnome desktop (wayland) ?

can you upload a picture? >>> here >>> https://0x0.st/

greetings
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Tue Jul 19, 2022 6:37 pm    Post subject: Re: Evince Refreshing Incorrectly Reply with quote

justin_brody wrote:
Hello,
Over the past few days, I've noticed a problem when evince refreshes a document (e.g. I have it open and then recompile the LaTeX source). The rendering seems to get mildly to severely messed up on the refresh; it looks fine if I close evince and restart. Has anyone else experienced this? Any ideas on how to fix it?


I'm having the same problems with version 42.3. Moreover, deluge is acting strangely, freezing up after a while, so it needs to be restarted. Could this be related to the recent change-over to Python 3.10?
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Mon Jul 25, 2022 12:44 pm    Post subject: Reply with quote

Hi CooSee,
Here's an image of what it looks like after corruption: https://0x0.st/oj9Y.png
Hopefully I posted that right!
Also I'm not using wayland, just X11 with XFCE4.

@koslowj -- I'm glad I'm not the only one! I haven't been able to find anything else about it on a general web search so I wonder if it's just a gentoo problem. For what it's worth I'm having the issue on both my gentoo boxes; they are both recently updated but also both have Python3.8 as the system interepreter -- 3.10 is considered fallback.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Wed Jul 27, 2022 12:22 am    Post subject: Reply with quote

sorry for the dealy.

that looks awful.

when this behaviour wasn't there before, maybe you can find the culprit package which was updated.
Code:
genlop --list --date 2 days ago

i found this:

https://gitlab.gnome.org/GNOME/evince/-/issues/1727

i hope it helps.
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Wed Jul 27, 2022 12:30 am    Post subject: Reply with quote

Thanks! I didn't know about the genlop command; that seems useful. And it does look like evince was updated in the past couple of weeks, which makes me think there's something in the new version. Unfortunately there are no versions I can downgrade to!

Honestly, I think I'll just try to live with it for now. Quitting and restarting evince isn't the worst thing in the world. (Now that I know that's the problem! I did lose several hours of my life trying to debug a latex package which I thought was faulty :wink: Such is life!)
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Wed Jul 27, 2022 12:37 am    Post subject: Reply with quote

have you looked at the link?

could be poppler's (including cairo's) fault.

look if poppler was updated couple of days ago.
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "


Last edited by CooSee on Thu Jul 28, 2022 10:48 am; edited 1 time in total
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Wed Jul 27, 2022 12:09 pm    Post subject: Reply with quote

Hi CooSee,
The problem seemed a little different (errors loading the document initially) so I didn't follow up on this at first.
But it turns out poppler was upgraded in the past couple of weeks, so I installed 22.07.0
So far it's looking good! I will follow up in the next couple of days for sure.

Thanks for your help!!
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Wed Jul 27, 2022 12:37 pm    Post subject: Reply with quote

Quote:
Thanks for your help!!

you're welcome 8)

great - i'am :D for you.

greetings
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 84

PostPosted: Thu Jul 28, 2022 3:09 pm    Post subject: Reply with quote

I can confirm that the evince problem went away here as well. There were quite a few updates lately, among them poppler 22.06.0 on July 26.
As I haven't used deluge lately, I can't comment on that issue though. The hint about genlop was very useful for me as well, thanks!
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Thu Jul 28, 2022 3:13 pm    Post subject: Reply with quote

koslowj wrote:
I can confirm that the evince problem went away here as well. There were quite a few updates lately, among them poppler 22.06.0 on July 26.
As I haven't used deluge lately, I can't comment on that issue though. The hint about genlop was very useful for me as well, thanks!


ok, you're welcome too :D
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Fri Jul 29, 2022 8:37 am    Post subject: Reply with quote

Can confirm that upgrading poppler works!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum