Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

lucasmerlin
Copy link
Member

Related

What

Changes the default for should_always_show_buttons to true when adding a menu button.
Maybe we should change the default to be always true though?
I feel like usually you want to always show buttons, unless every list item has it (e.g. visibility in the blueprint tree) where it would add too much noise / use too much space.

When I worked on the new ItemButtons, I defaulted to false since that was the default in LabelContent.

Copy link

github-actions bot commented Sep 17, 2025

Web viewer built successfully.

Result Commit Link Manifest
b97f852 https://rerun.io/viewer/pr/11247 +nightly +main

Note: This comment is updated whenever you push a commit.

@lucasmerlin lucasmerlin added 🪳 bug Something isn't working include in changelog labels Sep 17, 2025
@lucasmerlin lucasmerlin changed the title Fix unusable item menu buttons Fix some menu buttons closing unexpectedly Sep 17, 2025
@Wumpf Wumpf self-requested a review September 17, 2025 14:24
@Wumpf Wumpf added the consider-patch PRs & issues that should be considered to be cherry-picked to a patch release branch. label Sep 17, 2025
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

Maybe we should change the default to be always true though?
I feel like usually you want to always show buttons, unless every list item has it (e.g. visibility in the blueprint tree) where it would add too much noise / use too much space.

agreed! but it's probably also good to keep this iteration more minimal? 🤔

a bit shocking that none of our image comparison tests triggers on this change. Strange!

Can be a separate PR, but it would be nice to also fix the formatting here:
image
(this was called out in the same issue, but more as a sidenote)

@lucasmerlin lucasmerlin merged commit 06fb841 into main Sep 18, 2025
43 checks passed
@lucasmerlin lucasmerlin deleted the lucas/fix-item-button-menu-not-usable branch September 18, 2025 08:50
Wumpf pushed a commit that referenced this pull request Sep 18, 2025
### Related

* Closes #11245

### What

Changes the default for `should_always_show_buttons` to true when adding
a menu button.
Maybe we should change the default to be always true though?
I feel like usually you want to always show buttons, unless every list
item has it (e.g. visibility in the blueprint tree) where it would add
too much noise / use too much space.

When I worked on the new ItemButtons, I defaulted to false since that
was the default in LabelContent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working consider-patch PRs & issues that should be considered to be cherry-picked to a patch release branch. include in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component defaults menu is broken
2 participants