Summary: | Text selection uses wrong region (regression in 1.12) and immediately deselects (in master) | ||
---|---|---|---|
Product: | MuPDF | Reporter: | scr2 |
Component: | apps | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | tor.andersson |
Priority: | P4 | ||
Version: | 1.12.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
scr2
2018-02-27 19:37:56 UTC
There are two separate viewers on linux: mupdf-x11 and mupdf-gl. It appears that mupdf-x11 has a bug where what is highlighted isn't what is copied. Selecting by lines is specific to mupdf-gl. This viewer only sets the clipboard at the moment, so ^V should paste the content, rather than middle-click. I think this is an oversight, we should also be setting the primary selection on X11. However, since you mention not being able to copy the selection at all, you should be aware that you MUST build with OUR copy of FreeGLUT. The standard system FreeGLUT does NOT have copy & paste support. We have added clipboard support to our fork of FreeGLUT. I have tried to get our additions adopted upstream, but the maintainers are slow to respond, so please use our version of freeglut when building mupdf. Fixed in commit 4614c7472c7eb43bde8ffbbcf37e207e4c83a143 Author: Tor Andersson <tor.andersson@artifex.com> Date: Wed Mar 7 12:18:26 2018 +0100 Fix 699081: Missing coordinate transformation when copying text. |