FS#59418 - [mupdf-gl] Copying text with right-mouse button broken

Attached to Project: Community Packages
Opened by Kartik Singh (kartik) - Sunday, 22 July 2018, 23:12 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 03 September 2023, 09:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No



mupdf-gl supports copying a region of text from a document to the clipboard by selecting it with the right mouse button. However, this feature seems to be broken with this package. Note that the feature works fine with the regular mupdf package.

I was able to find a solution to this issue here (see the second message): https://ghostscript.com/mupdfirclogs/2018/05/21.html

The issue is that the mupdf-gl package is using the freeglut library provided by the system instead of the enhanced version of freeglut bundled with the mupdf-gl source. I was able to fix the issue locally by editing the PKGBUILD for mupdf-gl accordingly.

Additional info:

* package version: mupdf-gl 1.13.0-1

Steps to reproduce:

With a document open in mupdf-gl, right click and drag to select a region of text. Try pasting the selected text somewhere.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 03 September 2023, 09:14 GMT
Reason for closing:  Won't fix
Additional comments about closing:  We don't patch packages to use a bundled library. Improvements should go into freeglut so everyone can benefit.
Comment by Toolybird (Toolybird) - Tuesday, 06 December 2022, 06:34 GMT
Dupes  FS#67969   FS#70007 
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.