NewTools icon indicating copy to clipboard operation
NewTools copied to clipboard

Inspector class inheritance tree does not work in the inspector in the debugger

Open Ducasse opened this issue 4 years ago • 8 comments

Screenshot 2021-04-25 at 11 29 41

Ducasse avatar Apr 25 '21 09:04 Ducasse

We cannot get the subclasses! So totally useless.

S

Ducasse avatar Apr 25 '21 09:04 Ducasse

This only happens in the debugger inspector, when using the normal inspector it shows the complete hierarchy

MarcusDenker avatar Jun 21 '21 14:06 MarcusDenker

That's odd. It is the same inspector as the normal one. I will try.

StevenCostiou avatar Jun 21 '21 15:06 StevenCostiou

PS: I don't see those bugs if they are not tagged "debugger" and put in the project "debugging and debggers"...

StevenCostiou avatar Jun 21 '21 15:06 StevenCostiou

Ok, actually, it works: the space is too small and the class is hidden. You can see it if you enlarge the class hierarchy height.

There should be a vertical scrollbar I guess, but it never appears. You will have the same problem if you lower the height of the standard inspector too much.

This is a spec problem. How can we move this issue from here to the spec repo?

StevenCostiou avatar Jun 21 '21 15:06 StevenCostiou

I see the scrollbar in the inspector but you have to select an item in the tree pane first.

But even though the scrollbar exists, it does not allow to scroll to the bottom if the pane is not big enough.

So, indeed, I think that this is a Spec problem. The problem does not really appear in the normal inspector because it is bigger than in the debugger, but it seems that the scrollbar:

  • only appears when we select an item in the tree pane
  • , when we reduce the size of the pane, allows to scroll down but does not realize that it should scroll down further as the pane's size has been reduce (may be an expandable SpBoxLayout-related problem or a problem directly related to the scrollbar )

adri09070 avatar Jan 26 '23 13:01 adri09070

Is this still happening in Pharo11 ? What if we force the tree to open all the leafs when opening the tab, would it allow the scrolling?

StevenCostiou avatar Feb 10 '23 11:02 StevenCostiou

Is this still happening in Pharo11 ?

yes

What if we force the tree to open all the leafs when opening the tab, would it allow the scrolling?

I'm not sure. I would say no but we have to try

adri09070 avatar Feb 10 '23 12:02 adri09070