root icon indicating copy to clipboard operation
root copied to clipboard

Make web-based widgets default

Open linev opened this issue 1 year ago • 1 comments

Following widgets will be web-based by default:

  1. TCanvas
  2. TBrowser
  3. TTreeViewer
  4. TGeomPainter

Type of all these widgets can be configured via rootrc file:

# As options for Canvas.Name, ROOT provides TWebCanvas and the legacy TRootCanvas.
Canvas.Name:                TWebCanvas

# Type of Browser: TRootBrowser or TRootBrowserLite or ROOT::RWebBrowserImp
Browser.Name:                ROOT::RWebBrowserImp

# Type of geometry painter: root or web
GeomPainter.Name:            web

# Type of tree viewer: TTreeViewer or RTreeViewer
TreeViewer.Name:             RTreeViewer

Any of these settings can be adjusted in local .rootrc file.

One can provide special config for web-based fit panel. For the moment TH1::FitPanel() always starts classical GUI and there is no configurable plugin for that. The only problem - web-based fit panel was not tested for long time.

linev avatar Jun 24 '24 09:06 linev

Test Results

    13 files      13 suites   3d 0h 17m 0s :stopwatch:  2 646 tests  2 645 :white_check_mark: 0 :zzz: 1 :x: 32 580 runs  32 579 :white_check_mark: 0 :zzz: 1 :x:

For more details on these failures, see this check.

Results for commit 9bddf5d9.

github-actions[bot] avatar Jun 24 '24 11:06 github-actions[bot]