Reproduction steps:
1. Open the attached “IN-144501” project
2. Open the “Scenes/SampleScene” Scene
3. Drag “Circle” GameObject under “Triangle” GameObject in the Hierarchy window (make it a child)
4. Select the “Triangle” GameObject in the Scene View
5. Observe the Hierarchy window
Actual result: “Circle” GameObject remains highlighted
Expected result: “Triangle” GameObject becomes highligted
Reproducible with: 6000.0.1f1, 6000.0.77f1, 6000.3.18f1, 6000.4.12f1, 6000.5.0f1, 6000.6.0a7
Reproducible on: Ubuntu 25.04
Not reproducible on: Windows 11