Skip to content

Comments

#5396 Add an option to hide Recent, Worn and Favorites tabs#5437

Merged
maxim-productengine merged 2 commits intodevelopfrom
maxim/develop-5396
Feb 20, 2026
Merged

#5396 Add an option to hide Recent, Worn and Favorites tabs#5437
maxim-productengine merged 2 commits intodevelopfrom
maxim/develop-5396

Conversation

@maxim-productengine
Copy link
Contributor

Make the Recent, Worn and Favorites tabs optional for users.

@akleshchev
Copy link
Contributor

Do hidden tabs keep processing and do they initialise even when hidden? I feel like this is a good opportunity to win performance wise by not initializing those inventories when they are hidden.

updateMaxScrollPos();
}

bool LLTabContainer::getTabVisibility(const LLPanel* panel)
Copy link
Contributor

Choose a reason for hiding this comment

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

Function can be made const.

@maxim-productengine
Copy link
Contributor Author

Do hidden tabs keep processing and do they initialise even when hidden? I feel like this is a good opportunity to win performance wise by not initializing those inventories when they are hidden.

Not sure if that significantly helps (there are not so many views inside those tabs) but sure let's do it.

@maxim-productengine maxim-productengine merged commit a52066c into develop Feb 20, 2026
15 checks passed
@maxim-productengine maxim-productengine deleted the maxim/develop-5396 branch February 20, 2026 16:18
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2026
@akleshchev
Copy link
Contributor

Not sure if that significantly helps (there are not so many views inside those tabs) but sure let's do it.

Sadly that's incorrect and inventory is poorly optimized

  1. Inventory panel initializes all views if said views aren't going to be visible
  2. Views stay loaded and take a lot of space High RAM utilization upon opening extra inventory windows #3729

Not initializing those panels when all tabs are hidden can triple inventory floater's loading speed and cut memory footprint.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make inventory tabs optional

4 participants