FreeCAD / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
19.46k stars 4.02k forks source link

Gui: changing documents on right click in the tree view still displaying the wrong context menu #15418

Open farleyrunkel opened 3 months ago

farleyrunkel commented 3 months ago

Originally posted by @maxwxyz in https://github.com/FreeCAD/FreeCAD/issues/13643#issuecomment-2212509515

fixed in https://github.com/FreeCAD/FreeCAD/pull/15419

Is there an existing issue for this?

Problem description

Changing documents on right click in the tree view still displays the wrong context menu if the tree gets smaller but still activates all documents.

Demo:

https://github.com/FreeCAD/FreeCAD/assets/6246609/2edf221a-01e5-4561-a1cc-3110a31f6e3a

I'm using the Collapse/Expand setting: grafik

Full version info

OS: Windows 11 build 22631
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.38043 (Git)
Build type: Release
Branch: main
Hash: 561e521817034ea7660de987d8ab7183ad583595
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: German/Germany (de_DE)
Installed mods: 
  * CfdOF 1.27.3
  * Curves 0.6.40
  * dodo 1.0.1
  * fasteners 0.5.24
  * freecad.gears 1.2.0
  * OpenTheme 2024.7.3
  * OpticsWorkbench 1.0.18
  * Rocket 3.3.0
  * sheetmetal 0.4.21
farleyrunkel commented 3 months ago

@maxwxyz I reproducted this problem with the Sync view conmand turned on. I have fixed it in #15419