Page 1 of 1

Cannot hide WebHelp tooltips

Posted: Sun Dec 08, 2019 10:47 pm
by davenz
Hi all,

If I set webhelp.publication.toc.tooltip.position to hidden, Oxygen XML Editor still shows the tooltip in the WebHelp output.

If I set the parameter to any other value (such as left or right), the tooltip position does change. It's just that setting the parameter to hidden doesn't hide the tooltip.

Am I missing something?

I'm testing this on Oxygen XML Editor 21.1 with the DITA Map WebHelp Responsive theme.

Thanks,
Dave

Re: Cannot hide WebHelp tooltips

Posted: Mon Dec 09, 2019 11:30 am
by Costin
Hi davenz,

Thank you for reporting this!
I confirm this seems to be a bug, so I've just logged it in our internal issues tracking system to be analyzed by the development team for a fix.
We will notify this thread when the fix will be implemented.

Meanwhile, a simple workaround is to use the following CSS rule in a customization CSS:

Code: Select all

*[class~="topicref"][data-state~="expanded"] *[class~="wh-tooltip"]{
	display: none;
}
To use a customization CSS, you could edit the transformation scenario, then set the "args.css" parameter's value to the path of your own customization .css file that contains the above mentioned rule and also set the "args.copycss" parameter to "yes", or pass the publishing template to your own publishing template (if applicable / in case you are using a publishing template).

Regards,
Costin

Re: Cannot hide WebHelp tooltips

Posted: Mon Dec 09, 2019 10:59 pm
by davenz
Great—thanks for confirming and the workaround.

Cheers,
Dave

Re: Cannot hide WebHelp tooltips

Posted: Thu Oct 13, 2022 2:54 pm
by dananthonyobrien
Hello there,
Hope all well. This workaround doesn't seem to work for me. Is there another solution I can try? I need to turn off tool tips as they are behaving strangely in the live site (flickering, half appearing, not disappearing). Also tried the solution here: other-issues/topic21051.html but no luck. I am using Oxygen version 24.0.
image.png
image.png (7.37 KiB) Viewed 734 times
Any advice would be greatly appreciated,

Dan

Re: Cannot hide WebHelp tooltips

Posted: Mon Oct 17, 2022 11:26 am
by alin
Hello,

You can hide the tooltip by setting the webhelp.publication.toc.tooltip.position transformation parameter to hidden.
Alternatively, you can use the following CSS rule:

Code: Select all

.wh-display-tooltip {
  display: none;
}
The issue that was mentioned in the original post has been fixed since version 22. The CSS solution mentioned in the previous posts is outdated.

Regards,
Alin