Add explorer-tree-click-expand mod#4767
Conversation
Submission reviewNote: This review was done by Claude, and then refined manually. Due to the amount of submissions, doing a fully manual review for each pull request is no longer feasible. Thank you for understanding. Please address the following issues. The items in the collapsed sections are optional, so it's your call whether to address them. 1. The low-level hook has no message loop. The mod might work when loaded early (e.g. on boot) because the init runs on the main thread, and Explorer creates a message loop later on, but it's incorrect to rely on it. 2. Replace the system-wide mouse hook with subclassing the nav-pane tree. The mod only cares about clicks on Explorer's own navigation-pane 3. Cross-process corruption: 4. No blocking work inside a low-level hook. Optional improvements
Minor polish — none of this affects users once the items above are addressed, so it's your call.
|
|
Thanks for the detailed review! I've pushed a rewrite that addresses all four required items:
I also added proper cleanup in Haven't added the optional GIF yet, let me know if that's still worth doing before merge. Ready for another look whenever you have time. |
By default, in File Explorer's navigation pane (tree view), left-clicking
a folder only selects it; you have to click the small chevron/arrow to
expand it.
This mod adds three click behaviors to the navigation pane tree:
pressing Numpad +). The native chevron behavior is untouched.
its original state (all folders collapsed).
recursively, down to the last level (like pressing the Numpad * key).
Both Ctrl+click and Alt+click behaviors can be individually enabled or
disabled in the mod's settings. Both are enabled by default.
Changelog
If this pull request updates an existing mod, describe the changes below:
Mod authorship
If this pull request introduces a new mod, please complete the section below.
This mod was created by:
Please select the options that best apply. Your selection does not affect the acceptance criteria, but it helps reviewers understand the context of the code and provide relevant feedback.