View Issue Details

IDProjectCategoryView StatusLast Update
0001991NoesisGUIC# SDKpublic2021-05-04 02:40
ReporterKeldorKatarn Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version3.0.11 
Summary0001991: TreeViewItem.BringIntoView() does not work in default ItemContainer Style
Description

The control does not correctly wrong the item into view. It seems it scrolls it into the area of the screen, but not of the actual control.

PlatformAny

Activities

KeldorKatarn

KeldorKatarn

2021-04-30 09:36

reporter   ~0007199

I THINK this might actually have to do with the expansion animation, maybe?

sfernandez

sfernandez

2021-05-03 11:19

manager   ~0007206

Yes, you are right, the problem is the expand animation. I have to check it but I guess this kind of style will fail to bring the item into view also in WPF.
Anyway, our theme provides a non-animated TreeViewItem style too:

<Style TargetType="TreeViewItem" BasedOn="{StaticResource {x:Type TreeViewItem}}">
<Setter Property="Template" Value="{StaticResource Template.TreeViewItem.NoAnim}"/>
</Style>

I tried it and bring into view works as expected that way.

KeldorKatarn

KeldorKatarn

2021-05-03 14:05

reporter   ~0007210

Last edited: 2021-05-03 14:34

I found some other Themes to be working as well. Maybe they have a shorter animation.
Yes I'd assume this fails in WPF too. I've had the problem of animations causing issues in this regards in other projects too. I guess it's a problem that can't really be resolved nicely.

Issue History

Date Modified Username Field Change
2021-04-30 09:33 KeldorKatarn New Issue
2021-04-30 09:36 KeldorKatarn Note Added: 0007199
2021-04-30 11:45 jsantos Assigned To => sfernandez
2021-04-30 11:45 jsantos Status new => assigned
2021-05-03 11:19 sfernandez Status assigned => feedback
2021-05-03 11:19 sfernandez Note Added: 0007206
2021-05-03 11:19 sfernandez Target Version => 3.0.12
2021-05-03 14:05 KeldorKatarn Note Added: 0007210
2021-05-03 14:05 KeldorKatarn Status feedback => assigned
2021-05-03 14:34 KeldorKatarn Note Edited: 0007210
2021-05-04 02:40 jsantos Target Version 3.0.12 => 3.0.13