Bug 37473 - Consider repositioning the feedback button in the PDF version
Consider repositioning the feedback button in the PDF version
Status: RESOLVED WORKSFORME
Product: UCS manual
Classification: Unclassified
Component: Docbook
unspecified
Other Linux
: P5 enhancement with 2 votes (vote)
: UCS 4.0-x
Assigned To: Docu maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-07 16:16 CET by Michael Grandjean
Modified: 2022-09-30 09:58 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Design, Usability
Max CVSS v3 score:


Attachments
Optional Content Group with Apache-FOP-2.2 (5.07 KB, application/xml)
2018-05-17 09:47 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2015-01-07 16:16:49 CET
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.
Comment 1 Philipp Hahn univentionstaff 2015-03-25 19:29:28 CET
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>.
Comment 2 Alexander Kläser univentionstaff 2015-03-26 09:55:23 CET
(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 :) !
Comment 3 Philipp Hahn univentionstaff 2018-05-17 09:47:49 CEST
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&section=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)
Comment 4 Nico Gulden univentionstaff 2022-09-30 09:58:33 CEST
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.