After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756366 - High cpu usage *after* selecting text
High cpu usage *after* selecting text
Status: RESOLVED DUPLICATE of bug 755442
Product: evince
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-10 23:01 UTC by mesadev123
Modified: 2015-10-12 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mesadev123 2015-10-10 23:01:10 UTC
To reproduce:
1.) Get any PDF file, for example this one: https://www.opengl.org/registry/doc/glspec45.core.pdf
2.) Open it with evince.
3.) Select some text with your mouse.
4.) Open gnome-system-monitor and notice how evince is now eating cpu cycles.

The amount of cpu usage depends on the length of your selection. Selecting a whole paragraph results in more cpu usage than selecting a single word. I use Arch linux with Cinnamon and evince 3.18.0.

Notice that the high cpu load occurs when the selection has already been made and the mouse button has been released again (not only during selecting). So this is *not* the same as bug #732404. You can even minimize evince and still have high cpu load. The cpu usage goes back to 0% again when you remove the selection.
Comment 1 mesadev123 2015-10-10 23:08:51 UTC
This does not happen on my Manjaro system with Evince 3.16.1.
Comment 2 Germán Poo-Caamaño 2015-10-10 23:28:56 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 732404 ***
Comment 3 Germán Poo-Caamaño 2015-10-10 23:29:53 UTC
Opps. I just noticed it is *after* the mouse is released.  Re-opening.
Comment 4 William Di Luigi 2015-10-11 04:00:46 UTC
I can reproduce the bug on Archlinux with evince 3.18, the cpu stays to about 7% when text is selected, and 0% when text is not selected.
Comment 5 Antoine Jacoutot 2015-10-11 18:35:02 UTC
Bug confirmed as well on OpenBSD.
Comment 6 José Aliste 2015-10-11 22:36:12 UTC
I think this bug is fixed by commit 
https://git.gnome.org/browse/evince/commit/?id=1987f04ea36329b1bd61d053a19d9e341e0454ce


can you confirm it's the same bug?
Comment 7 Antoine Jacoutot 2015-10-12 06:11:04 UTC
(In reply to José Aliste from comment #6)
> I think this bug is fixed by commit 
> https://git.gnome.org/browse/evince/commit/
> ?id=1987f04ea36329b1bd61d053a19d9e341e0454ce
> 
> 
> can you confirm it's the same bug?

Oh yes, I can :-)
That commit does indeed fix the issue here.

Thank you José.
Comment 8 Germán Poo-Caamaño 2015-10-12 16:03:50 UTC

*** This bug has been marked as a duplicate of bug 755442 ***