Univention Bugzilla – Bug 37473
Consider repositioning the feedback button in the PDF version
Last modified: 2022-09-30 09:58:33 CEST
A workshop attendee reported that one hits the feedback button in the PDF version of the manual quite often by accident, when reading on a touch-device. This opens the browser every time which is annoying. In the PDF version the feedback button is at the far right and most right-handers tend to scroll in this area.
Looking at the *printed* manual, those 375 feed-back icons serve no purpose and look quiet strange. Perhaps remove the feed-back icon from the PDF completely? Or try <http://stackoverflow.com/questions/4717055/hide-text-in-pdf-when-printing>.
(In reply to Philipp Hahn from comment #1) > Looking at the *printed* manual, those 375 feed-back icons serve no purpose > and look quiet strange. > Perhaps remove the feed-back icon from the PDF completely? > > Or try > <http://stackoverflow.com/questions/4717055/hide-text-in-pdf-when-printing>. Hm… it's a pity that people are not able to click on the printed button… maybe we could print the full URI instead ;) ? Very nice idea to hide them in the printed version :) !
Created attachment 9532 [details] Optional Content Group with Apache-FOP-2.2 Apache-FOP supports "Optional Content Groups" since version 2.2. Debian (as of today) only has 2.1: <https://packages.debian.org/search?keywords=fop&searchon=sourcenames&exact=1&suite=all§ion=all> FOP have an example using layers: <http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/test/layoutengine/standard-testcases/pdf-dictionary-extension_2.xml?view=markup> The attached file shows a minimal working example: The layer showing the feedback icons/links can be enabled/disabled as the user sees fit (checked with KDE okular). For printing it is disabled (checked with chromium - okular does not disable the layer by default as GhostScript from Debian-Stretch is too old; See <https://bugs.ghostscript.com/show_bug.cgi?id=696076>. With gs-9.22 from Debian-Sid it works: gs -q -dNOPAUSE -dBATCH -dPrinted -sDEVICE=pgm -sOutputFile=37473-pdf-feedback.pgm 37473-pdf-feedback.pdf)
With the transformation to reStructuredText I close this bug as works for me. The PDF artifacts produced from reStructuredText documentation doesn't have the feedback button anymore.