[rbrowser] provide several rootrc parameters#19805
Merged
linev merged 4 commits intoroot-project:masterfrom Sep 3, 2025
Merged
[rbrowser] provide several rootrc parameters#19805linev merged 4 commits intoroot-project:masterfrom
linev merged 4 commits intoroot-project:masterfrom
Conversation
* WebGui.Browser.SortBy: sort by "name", "size", "none" (default "name") * WebGui.Browser.Reverse: reverse items order (default off) * WebGui.Browser.ShowHidden: show hidden files (default off) * WebGui.Browser.Expand: open browser with expand browsable area (default off)
Any changes in settings store not in gEnv, but in RElement class.
Now it is global settings, which changed only when really clicked on the gui side. Or when WebGui.Browser.LastCycle rootrc parameter configured - which is analyzed only once when browser started
bellenot
approved these changes
Sep 2, 2025
Test Results 19 files 19 suites 3d 18h 45m 37s ⏱️ For more details on these failures, see this check. Results for commit 801319b. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now RBrowser can be customized with following parameters:
WebGui.Browser.SortBy: sort by "name", "size", "none" (default "name")WebGui.Browser.Reverse: reverse item order (default off)WebGui.Browser.ShowHidden: show hidden files (default off)WebGui.Browser.LastCycle: show only last key cycle (default off)WebGui.Browser.Expand: expand browsable area (default off)lastcycle field removed from BrowserRequest and used as global attributes which can be set via
ROOT::Browsable::RElement::SetLastKeyCycle(flag)method. This avoids misuse of gEnv for such properties.Also fix file size sorting order - by default large files shown first
Address request on the forum and resolves #10264