-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow individual status bar messages to clip instead of hide #84258
Comments
I thought about that but I wasn't sure how the impact is for extensions. E.g. if a message is always clipped something like "Delete File Without Confirmation" might become "Delete File..." which hint at a confirmation. Is that clever? |
Yeah.. does not makes sense for actions, but allowing statuses to be clipped is a valid scenario. Also, I do not think we hide buttons instead clip labels at other places right? |
Maybe behind an option for the status bar entry. |
@bpasero I am looking into this and looks like nothing can be done unless the status bar items do not wrap. Currently status bar item wrap and overflow items are wrapped underneath. Is wrapping necessary ? |
I think the wrapping is just there out of historic reasons because we used to have a |
Verify that left items in the status bar are not wrapped where as items on the right gets wrapped while resizing the window. |
Screen cheese 🧀. Also I think this isn't an ideal solution... I see how it fulfils the needs of showing diagnostic messages but now as my cursor moves I see a very nervously flashing status bar ⬇️ I have also concerns about extensions because their status bar entries are affected by this behavioural change, e.g by us giving a clear priority to left-aligned items. I think we can do better here, eg using some flex rules to shrink items, like very long messages, or by hiding items with lower priority. |
Can you please let me know how I can reproduce the screen cheese? Yes the current fix changes to hide right items first, before, we were hiding left items first. Not sure if there is a fixed priority here. @bpasero Let me know what do you think is the best way you suggest to go forward here. |
With a long error message and some window resizing. |
I think the screen cheese needs to be fixed, e.g. no status entry should appear partially in the status bar. I find the behaviour otherwise OK when I play around with it. After all the error message is pushing out the elements to the right, I do not see how we can change that unless we maybe introduce some max-width for it? |
Yeah, something like that. A single super long message (we know that they can be long) shouldn't push out all other items but it should be truncated at one point. Ideally so that other entries are still visible |
Should we move this to December? The setting is disabled by default anyway. |
Yeah we can and it will also give us time to get feedback. |
I believe this can be done nicely in CSS. Let's use this as a flex-box learning opportunity. |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
Background: Supporting a feature to show current error in the status - #20183
The text was updated successfully, but these errors were encountered: