Skip to content

TH2 palette tick length is silently modified when passed to TGLAxisPainter #8618

@ferdymercury

Description

@ferdymercury
  • Checked for duplicates

Describe the bug

In a divided canvas, after some filling and "update", I see some weird horizontal lines of the color palette reaching over a TH2:

image

Expected behavior

Palette lines stay were they were in the beginning.
image

To Reproduce

  1. Download bugpalette.zip
  2. Run as root -l compton_reco.cpp+(2,0,true,true)
  3. Click one on the "next event arrow"
  4. Click again, artefact appears
  5. If you keep clicking, you will see that the lines move with the palette as the scale gets recalculated.

Setup

   ------------------------------------------------------------------
  | Welcome to ROOT 6.25/01                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on May 17 2021, 10:49:42                 |
  | From heads/master@v6-25-01-861-g5ea261143f                       |
  | With                                                             |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions