pharo icon indicating copy to clipboard operation
pharo copied to clipboard

DrTest: Selecting a class in the second pane does not update the selection

Open jecisc opened this issue 7 months ago • 4 comments

In the current Pharo 14 you can reproduce the bug like this:

  • Open DrTest
  • Select AI-Algorithms-Graphs-Tests
  • See that it is written that 16 test cases are selected at the top of the tree
  • Select one class
  • You can see that we still have 16 test cases selected instead of one!
  • Select another test case and now only 1 is selected

The first selection does not seems to be taken into account

jecisc avatar Jul 30 '25 17:07 jecisc

I tried to put a halt in DTDefaultPluginPresenter>>#initializeItemsListAndLabel in the #whenSelectionChangedDo: and I see that it does not get triggered when I select the class the first time.

I don't know if it is a Spec or DrTest problem

jecisc avatar Jul 30 '25 17:07 jecisc

I have the impression that the problems comes from the #selectAll on trees.

The next selection does not launch a selection event.

jecisc avatar Jul 30 '25 17:07 jecisc

Ive come to the same conclusion while creating my issue, it looks like a Spec problem with the changedDo: event

AlexisCnockaert avatar Oct 31 '25 12:10 AlexisCnockaert

@estebanlm can you help us on this?

Ducasse avatar Nov 08 '25 12:11 Ducasse