Skip to content

Add ability to fold categories in Profiler#119586

Open
LeavingPython33 wants to merge 1 commit into
godotengine:masterfrom
LeavingPython33:fold_categories_in_profiler
Open

Add ability to fold categories in Profiler#119586
LeavingPython33 wants to merge 1 commit into
godotengine:masterfrom
LeavingPython33:fold_categories_in_profiler

Conversation

@LeavingPython33
Copy link
Copy Markdown

Fixes godotengine/godot-proposals/issues/14809

Categories with subcategories can be collapsed for better readability. They're expanded by default, allowing users to determine the relevance of variables before folding.

fold_categories_in_profiler

Copy link
Copy Markdown
Contributor

@AdriaandeJongh AdriaandeJongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected and is a nice usability improvement. Didn't look at the code.

However, the carets disappear and appear because the items in it appear and disappear (why?! bug?), which isn't ideal, but also has nothing to do with this PR – al though this PR does make that behavior more obvious... Perhaps someone from the debugger team (@godotengine/debugger) knows why those item appear and disappear, anyway? Expected behavior is that the items don't disappear.

Screen.Recording.2026-05-20.at.09.19.19.mp4

@YeldhamDev YeldhamDev modified the milestones: 4.x, 4.8 May 20, 2026
@YeldhamDev
Copy link
Copy Markdown
Member

@AdriaandeJongh

the carets disappear and appear because the items in it appear and disappear (why?! bug?)

That happens because nothing stores the selected item once the tree is refreshed, so it just "forgets" it. But as you said, unrelated to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to fold categories in Profiler

3 participants