Cannot hide WebHelp tooltips

Having trouble installing Oxygen? Got a bug to report? Post it all here.
davenz
Posts: 26
Joined: Mon Mar 11, 2019 11:53 am

Cannot hide WebHelp tooltips

Post 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
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Cannot hide WebHelp tooltips

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
davenz
Posts: 26
Joined: Mon Mar 11, 2019 11:53 am

Re: Cannot hide WebHelp tooltips

Post by davenz »

Great—thanks for confirming and the workaround.

Cheers,
Dave
dananthonyobrien
Posts: 1
Joined: Thu Oct 13, 2022 2:27 pm

Re: Cannot hide WebHelp tooltips

Post 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 739 times
Any advice would be greatly appreciated,

Dan
alin
Site Admin
Posts: 268
Joined: Thu Dec 24, 2009 11:21 am

Re: Cannot hide WebHelp tooltips

Post 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
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply