Bug 122691 - Export full tooltip for footnote number to PDF
Summary: Export full tooltip for footnote number to PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2019-01-13 16:19 UTC by Paul Unger
Modified: 2020-08-23 17:44 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
simple document to show footnote tooltip behaviour (13.69 KB, application/pdf)
2019-05-18 13:24 UTC, Paul Unger
Details
Word tooltip behaviour_Google Docs (21.27 KB, application/pdf)
2020-04-27 15:12 UTC, Paul Unger
Details
Word tooltip behaviour_Office 365 (89.60 KB, application/pdf)
2020-04-27 15:12 UTC, Paul Unger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Unger 2019-01-13 16:19:41 UTC
When I hover over a footnote marker in Writer I get a pop-up that shows the content of the footnote. Very nice! When I export to PDF, all I get when I hover over a footnote marker is a page number reference... Writer is smart enough to process the page number that the footnote appears on for export to PDF, so it should be able to process the actual content of the footnote, no? I'd rather get the footnote content; the page number is redundant and embarrassing. So if this request is not possible, at the very least it would be nice to strip out the hover-to-show-page-number. [Yes, I think it's that bad... :-( ] Thanks for any help with this!
Comment 1 Usama 2019-05-17 15:01:33 UTC
Thank you for reporting this issue. I had the same experience you had but only with Evnice the default PDF viewer for Ubuntu.
I've tried using Acrobat reader, Sumatra PDF and Firefox internal PDF viewer none of them showed any tooltip when hovering above the footnote reference. Are you using Windows? What is your PDF viewer.

That is for the first part, However I personally believe that Libreoffice should support tooltip.

For now I'm setting the bug status to NEEDINFO, Please set it to UNCONFIRMED again after providing the requested info.

If you have time, please check the latest version from master, you can find an Appimage version here for Linux: https://www.libreoffice.org/download/appimage/
For Windows: https://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

You can always visit our QA channel #libreoffice-qa@freenode if you need help with bugs
https://irc.documentfoundation.org/?settings=#libreoffice-qa


Version: 6.3.0.0.alpha0+
Build ID: 98630a0bd49bd80652145a21e4e0d0ded792b36b
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-05-04_04:44:35
Locale: en-US (tr_TR.UTF-8); UI-Language: en-US
Calc: threaded

And Windows:

Version: 6.3.0.0.alpha1+
Build ID: 31cc28ca7c02f28b64e9d757c9fc17e2a81ba352
CPU threads: 1; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-05-15_04:21:42
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 Paul Unger 2019-05-18 13:00:58 UTC
(In reply to Usama from comment #1)
> Thank you for reporting this issue. I had the same experience you had but
> only with Evnice the default PDF viewer for Ubuntu.
> I've tried using Acrobat reader, Sumatra PDF and Firefox internal PDF viewer
> none of them showed any tooltip when hovering above the footnote reference.
> Are you using Windows? What is your PDF viewer.
> 
> That is for the first part, However I personally believe that Libreoffice
> should support tooltip.
> 
> For now I'm setting the bug status to NEEDINFO, Please set it to UNCONFIRMED
> again after providing the requested info.
> 
> If you have time, please check the latest version from master, you can find
> an Appimage version here for Linux:
> https://www.libreoffice.org/download/appimage/
> For Windows:
> https://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/
> 
> If the bug is present, please leave a comment that includes the information
> from Help - About LibreOffice.
>  
> If the bug is NOT present, please set the bug's Status field to
> RESOLVED-WORKSFORME and leave a comment that includes the information from
> Help - About LibreOffice.
> 
> You can always visit our QA channel #libreoffice-qa@freenode if you need
> help with bugs
> https://irc.documentfoundation.org/?settings=#libreoffice-qa
> 
> 
> Version: 6.3.0.0.alpha0+
> Build ID: 98630a0bd49bd80652145a21e4e0d0ded792b36b
> CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
> TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
> 2019-05-04_04:44:35
> Locale: en-US (tr_TR.UTF-8); UI-Language: en-US
> Calc: threaded
> 
> And Windows:
> 
> Version: 6.3.0.0.alpha1+
> Build ID: 31cc28ca7c02f28b64e9d757c9fc17e2a81ba352
> CPU threads: 1; OS: Windows 6.1; UI render: default; VCL: win; 
> TinderBox: Win-x86@42, Branch:master, Time: 2019-05-15_04:21:42
> Locale: en-US (en_US); UI-Language: en-US
> Calc: threaded

As I noted when I filed the bug, I use Windows (specifically 7). My PDF program of choice is PDF-XChange Editor (currently v. 7.0), previously PDF-XChange Viewer.

I'll give "the latest version from master" a try and report back.
Comment 3 Paul Unger 2019-05-18 13:24:14 UTC
Created attachment 151499 [details]
simple document to show footnote tooltip behaviour
Comment 4 Paul Unger 2019-05-18 13:25:25 UTC
I made a brief test document using LO 6.3.0.0 Alpha. The results are the same as when I first filed the bug report--the tooltip in the exported PDF file displays the page number and not the footnote contents, as LibreOffice does. I will try to attach the PDF file so you can see the results.
Comment 5 Paul Unger 2019-05-18 13:29:08 UTC
Just seeing you asked me to post the Help > About info. Here it is:
Version: 6.3.0.0.alpha1+
Build ID: 10d8682e4cf77361e0ebf68a4ea1b565f05e91a9
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-05-18_00:57:48
Locale: en-CA (en_CA); UI-Language: en-US
Calc: threaded
And I also reset the bug to UNCONFIRMED, as you requested.
Comment 6 Xisco Faulí 2019-06-27 16:52:45 UTC
(In reply to Paul Unger from comment #4)
> I made a brief test document using LO 6.3.0.0 Alpha. The results are the
> same as when I first filed the bug report--the tooltip in the exported PDF
> file displays the page number and not the footnote contents, as LibreOffice
> does. I will try to attach the PDF file so you can see the results.

Could you please attach a PDF created by another software that does create the full tooltip for comparison ?
Comment 7 Paul Unger 2019-06-28 21:20:51 UTC
(In reply to Xisco Faulí from comment #6)
> Could you please attach a PDF created by another software that does create
> the full tooltip for comparison ?
Sorry, no I can't... I had a looked at a number of PDFs (mostly linguistics papers) and they either show page number or what seems to be 'consecutive number' or nothing at all.

But to quote from my original post: Writer is smart enough to process the page number that the footnote appears on for export to PDF, so it should be able to process the actual content of the footnote, no? I'd rather get the footnote content than the page number; the latter is redundant and embarrassing. If this request is *not* possible, at the very least it would be nice to strip out the hover-to-show-page-number.

Thanks!
Comment 8 QA Administrators 2019-06-29 02:59:54 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2019-10-29 10:15:57 UTC
(In reply to Paul Unger from comment #7)
> (In reply to Xisco Faulí from comment #6)
> > Could you please attach a PDF created by another software that does create
> > the full tooltip for comparison ?
> Sorry, no I can't... I had a looked at a number of PDFs (mostly linguistics
> papers) and they either show page number or what seems to be 'consecutive
> number' or nothing at all.
> 
> But to quote from my original post: Writer is smart enough to process the
> page number that the footnote appears on for export to PDF, so it should be
> able to process the actual content of the footnote, no? I'd rather get the
> footnote content than the page number; the latter is redundant and
> embarrassing. If this request is *not* possible, at the very least it would
> be nice to strip out the hover-to-show-page-number.
> 
> Thanks!

well, I asked because I'm not sure whether it's possible to do it with a PDF file, it doesn't matter how smart LibreOffice if PDF doesn't support this feature.
Attaching a sample document created by another app with this feature would make it clear to know whether it's possible or not...
Comment 10 Paul Unger 2019-10-29 16:40:31 UTC
(In reply to Xisco Faulí from comment #9)
> well, I asked because I'm not sure whether it's possible to do it with a PDF
> file, it doesn't matter how smart LibreOffice if PDF doesn't support this
> feature.
> Attaching a sample document created by another app with this feature would
> make it clear to know whether it's possible or not...

Well, somehow it is possible to put the page number (current behaviour). If someone could find where LO gets that info and how it processes it, perhaps it would be possible to alter it to process the actual footnote?
Comment 11 Xisco Faulí 2019-10-29 16:46:07 UTC
I don't know anything about how PDF works internally but they might be different elements, if pages work, it doesn't make footnotes should work too.
What the spec says ?
Comment 12 QA Administrators 2020-04-27 03:41:36 UTC Comment hidden (obsolete)
Comment 13 Paul Unger 2020-04-27 15:12:06 UTC
Created attachment 159998 [details]
Word tooltip behaviour_Google Docs

I've created two documents in Word. I don't own MS Office, so I had to use online versions. I'm not sure how representative that is, as they behave differently... In the Google Docs version, hovering over a footnote marker does nothing--neither in Word nor when exported as PDF. In the Office 365 version, hovering over a footnote marker displays the footnote text in Word format, but nothing when exported to PDF.
Comment 14 Paul Unger 2020-04-27 15:12:52 UTC
Created attachment 159999 [details]
Word tooltip behaviour_Office 365
Comment 15 Paul Unger 2020-04-27 15:20:15 UTC
I have recently switched from Windows to Linux (Ubuntu 18.04 derivative; LO Version: 6.2.8.2; Build ID: 1:6.2.8~rc2-0ubuntu0.18.04.1). Now in LO when I hover over a footnote, I get a hand with a pointing finger that, when clicked, takes me to the footnote to edit it. When I export that file to a PDF, hovering over the footnote marker gives the tooltip, "Go to page X". Clicking with the pointing finger hand that appears takes me to the footnote.

I no longer know how LO 6.2.x.x works in Windows...
Comment 16 Buovjaga 2020-08-23 15:34:11 UTC
(In reply to Paul Unger from comment #15)
> I have recently switched from Windows to Linux (Ubuntu 18.04 derivative; LO
> Version: 6.2.8.2; Build ID: 1:6.2.8~rc2-0ubuntu0.18.04.1). Now in LO when I
> hover over a footnote, I get a hand with a pointing finger that, when
> clicked, takes me to the footnote to edit it. When I export that file to a
> PDF, hovering over the footnote marker gives the tooltip, "Go to page X".
> Clicking with the pointing finger hand that appears takes me to the footnote.
> 
> I no longer know how LO 6.2.x.x works in Windows...

Ok, let's close. Usama in comment 1 confirmed the issue under Linux, so it should be safe to say the problem is gone.
Comment 17 Paul Unger 2020-08-23 16:14:31 UTC
(In reply to Buovjaga from comment #16)

> Ok, let's close. Usama in comment 1 confirmed the issue under Linux, so it
> should be safe to say the problem is gone.

Um, no, the problem is /not/ gone. In comment 1, Usama was confirming that there was a problem. There has been no solution provided. Reopened (if I may be so bold...).
Comment 18 Buovjaga 2020-08-23 17:44:58 UTC
Ok, let's set to new then.

PDF supports tooltips and LibO can mark footnotes with them for sure. LibO can not guarantee the behaviour of individual viewing applications, however. A quick search reveals there are many differences between applications: https://tex.stackexchange.com/questions/155518/tooltip-that-works-with-all-pdf-readers