Actions
Bug #8213
openThe result of the function WTreeView::scrollTo is wrong if any parent of the element is collapsed.
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/17/2021
Due date:
% Done:
0%
Estimated time:
Description
Hello,
The function must expand all parent of the element if the element is to become visible. The possible solution is attached.
Files
Updated by Korneel Dumon about 4 years ago
I don't know if this function should automatically expand, perhaps in this case it should scroll to the parent of the item. Is this what you see?
It seems to me you can implement what you want in application code.
Updated by Andreas Frolov about 4 years ago
The documentation of WTreeView::scrollTo says:
"Scrolls the view to ensure that the item which represents the provided index is visible ".
But current implementation doesn't always do that. For me it's a bug.
Actions