You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the References view, the styling of the tree nodes flickers when changing node. The flickering seems to be caused by the focused styling not being applied correctly.
Bug Demo:
Correct Styling Demo (Explorer View):
Steps to Reproduce:
Start Theia application
Select a random text in your editor -> Right-Click -> Find All References (Alt+Shift+F12)
Go to the References view
Click on different results
Notice the incorrect styling of the nodes
Additional Information
Operating System: Windows 10
Theia Version: 1.40
The text was updated successfully, but these errors were encountered:
vince-fugnitto
added
tree
issues related to the tree (ex: tree widget)
vscode
issues related to VSCode compatibility
ui/ux
issues related to user interface / user experience
labels
Aug 2, 2023
I'm trying to look into this. As I understand, this References view comes with theia's vscode-builtin-extensions. Since the vscode's extensions source code can not be modified, then it's Theia's API that should be looked into, correct?
Okay, after looking into this for a bit, I discovered this: when a LineNode is selected, the line is focused in the editor and it is due to this behavior that the TreeViewWidget loses focus, and therefore loses its styling. Clicking anywhere on the TreeViewWidget will refocus it and reapply the styling, resulting in the flickering mentioned in the issue.
In VS Code's implementation of this LineNode selection, it seems that the editor is not focused when the line is brought into view. Should I look into this behavior and make it so that the TreeViewWidget maintains focus?
Bug Description:
In the
References
view, the styling of the tree nodes flickers when changing node. The flickering seems to be caused by thefocused
styling not being applied correctly.Bug Demo:
Correct Styling Demo (
Explorer View
):Steps to Reproduce:
Find All References
(Alt+Shift+F12
)References
viewAdditional Information
The text was updated successfully, but these errors were encountered: