Issues with the Chrome based Root Browser


Two small issues to report.

The chrome based browser displays latex strings such as #bar{p} correctly as anti-proton (p-bar) but once they are printed to PDF, the “bar” disappears and the “p” is too high. But I verified that the bar is properly placed when writing a jpg file.

The chrome based browser event bar status reports data incorrectly. When I overlay several histograms and hover the mouse on one point, I get the value of the last histogram plotted, not the point I am hovering the mouse onto.

Thank you

Claude

ROOT Version: 6.36.02
Platform: macosx64
Compiler: Apple clang version 17.0.0 (clang-1700.6.3.2)


I think @linev can help you with these two small issues.

Hi Claude,

PDF output can have such issues while we start use jsPDF.js to create it - and it may fail.
When run with chrome browser, one can use screenshot functionality like:

c1->SaveAs("c1.screenshot.pdf");

In such case native chrome PDF conversion is used - which should work properly.

And with second issue - try also enable “Tooltip info” to see how mouse interaction with histograms
are working. While tooltip info used also to show event status - even when tooltip is not displayed.
For instance, when mouse cursor higher than histogram - than no tooltip shown.
If there are several histograms - histogram selection is more tricky. So just try to see how tooltip is working.

Regards,
Sergey

Thanks Sergey

I will give your suggestions a try. :slight_smile:

Claude

Hello again.

The tooltip tool works fine. Thanks!!! I will use that in the future…

However, Using c1->SaveAs(“xxxx.pdf”) does not produce the desired result (on my MAC)– although it is faster.

CP

Did you start root with root --web=chrome?