Screen flicker when updating throughput values in menu bar
The menubar jumps between displaying on a single line and breaking across 2 lines - without any user interaction.
Expected Behavior
Screen should not flicker unnecessarily. We should reserve sufficient screen space for a reasonable range of throughput values.
Current Behavior
When throughput values are updated, menu bar briefly breaks across 2 lines.
Steps to Reproduce (for bugs)
- Stop all inputs except for a random input, that sleeps 1000ms between messages.
- Resize the GL window so that menu bar is just shy of breaking lines
- Observe how it toggles between 1 and 2 lines, when throughput is updated
Your Environment
- Graylog Version: 6.1
On a 14-inch laptop I can't reproduce this. There is more than enough space for the throughput values. When you pull the browser window so it's smaller, eventually there won't be enough space for all elements, and then they will be aligned below each other. There is no alternative solution to this. And as some numbers are wider than others, in some cases, it might flicker because the size of the element changes. But I wasn't able to reproduce this, really. @patrickmann Did I misread this issue?
Here's a repro from my Thinkpad. Strangely, I couldn't repro it on my secondary screen. Maybe something related to screen resolution. https://github.com/user-attachments/assets/5125a62a-afb5-4871-a56d-e48b299d647d