linuxmint / linuxmint/xreader

high cpu usage from thumbnailer when attaching PDF to evolution

Open
#350 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Description

xreader 2.2.3
 * Distribution: mint 19.2 cinnamon

Issue
When attaching a PDF file to a new mail in Evolution(or using "send in email") the program hangs for ~15 seconds with process "xreader-thumbnailer" using one core to 100%, after that it attached the file and the program is responsive again.
Changing the default PDF handler does nothing, same process hanging one core.
If it has been sent before, then it attaches instantly next time

Steps to reproduce
select a PDF in file manager "send in email", as well as drag-n-drop on a mail composition window in evolution

Expected behaviour
Instant attachment

Other information

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem by attaching or dragging a PDF into an Evolution mail composition window and observe xreader-thumbnailer. Start by tracing the thumbnailer entry point involved in the roughly 15-second delay and compare first-time versus repeated attachments. Done means PDF attachment completes without the one-core, high-CPU pause.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.