gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Columned tree views should highlight the element on which a context menu was opened

Open chisandrei opened this issue 2 years ago • 2 comments

It becomes unclear which element was selected when using context menus in columned tree lists.

GtPhlowView empty columnedTree
	items: [ 1 to: 10 ];
	children: [ :e | #() ];
	column: 'Data' text: [ :e | e ];
	contextItemLabel: 'Test 1'
		action:  [ :anElement :anItem |  ]
		if: [:anItem |  true ];
	contextItemLabel: 'Test 2'
		action:  [ :anElement :anItem |  ]
		if: [:anItem |  true ];
	contextItemLabel: 'Test 3'
		action:  [ :anElement :anItem |  ]
		if: [:anItem |  true ];
	contextItemLabel: 'Test 4'
		action:  [ :anElement :anItem |  ]
		if: [:anItem |  true ]
Screenshot 2023-06-24 at 11 49 57 Screenshot 2023-06-24 at 11 50 01

chisandrei avatar Jun 24 '23 09:06 chisandrei

There is the same problem in the Code Changes tool. After applying changes, the log selection on the left resets

seandenigris avatar Jun 24 '23 15:06 seandenigris

@seandenigris The issue is slightly different there. In that case the entire code changes tool is updated, and the list showing changes is recreated from scratch.

chisandrei avatar Jun 27 '23 07:06 chisandrei