archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
955 stars 268 forks source link

Model tree panel goes blank when toolbar is hidden #811

Closed lvmm closed 2 years ago

lvmm commented 2 years ago

Version of Archi

4.9.2

Archi Plug-ins

no

Operating System

Windows 10

Expected Behaviour

Model tree panel should always display the tree

Actual Behaviour

If toolbar is hidden and one clicks on a view name in the Models tree panel, then on its documentation (or any other field in its properties) and then again on the same view name in Models, Models tree disappears.

Steps to Reproduce the Behaviour

  1. hide toolbar if not hidden (window-show tollbar)
  2. press ^N to create a new empty model
  3. click on 'Default view' in model tree
  4. click on Documentation in properties pane
  5. click on 'Default view' in model tree again - with the exception of the view name tree pane goes blank (screenshot)

Tested with clean profile. Nothing in error log. This issue occurs only when toolbar is hidden. archi-disappearing-pane

Phillipus commented 2 years ago

This is a strange bug somewhere in Eclipse.

It happens under these conditions:

  1. Windows only
  2. Toolbar is hidden
  3. A Tree that has drag support
  4. With certain themes ("Light" and "Dark")

It can be triggered by putting the focus on a Tree and then putting focus on another part (say, a diagram View) and focussing back and forth.

So there's something weird happening here which, unless someone can create a simple stand-alone test case and report it to Eclipse, is unlikely to be fixed.

Phillipus commented 2 years ago

I've made a simple test project and reported it to Eclipse:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=578622

Phillipus commented 2 years ago

This is an old, known issue in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=578622#c7), so I'll close this issue here as it's not an Archi bug.