Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight the hovered item in the editor's tree widgets (scene, filesystem, etc.) #7160

Open
mieldepoche opened this issue Jun 26, 2023 · 1 comment

Comments

@mieldepoche
Copy link

Describe the project you are working on

prototypes

Describe the problem or limitation you are having in your project

I stumbled upon a bug I can't reproduce, but it's actually (maybe) a cool thing:

simplescreenrecorder-2023-06-26_09.53.36.webm

(in this video, I am simply moving the mouse over the tree without pressing any button)

As you can see the highlight is always on for some reason (it's supposed to only be there when drag and dropping something in the tree).

Having this full time in the Scene and FileSystem docks would provide a clear indication of which is the hovered row when they are wide (so you're sure) (in my case, this would prove a bit useful for the FileSystem dock -- I widened the scene dock for the sake of the above demonstration, but my FileSystem dock has a similar size on my setup).

A potential drawback is that it looks a bit odd, maybe? And noisy? idk.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

implement this full time

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

like it works now when drag and dropping something

If this enhancement will not be used often, can it be worked around with a few lines of script?

small ux tweak

Is there a reason why this should be core and not an add-on in the asset library?

small ux tweak

@Calinou
Copy link
Member

Calinou commented Jun 26, 2023

This requires implementing support for hover highlights in Tree, which may be an expensive operation in complex trees (such as the scene tree dock when you have hundreds of nodes).

That said, this should improve usability quite a lot.

cc @davthedev

@Calinou Calinou changed the title highlight the hovered item in the editor's tree widgets (scene, filesystem, etc.) Highlight the hovered item in the editor's tree widgets (scene, filesystem, etc.) Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants