Graylog2 / Graylog2/graylog2-server

Screen flicker when updating throughput values in menu bar

Open
#19,880 2 comments 0 reactions 0 assignees View on GitHub
bug frontend triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

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.

![image](https://github.com/Graylog2/graylog2-server/assets/12073930/532dd265-6004-45b5-8407-10f8e876b0b6)

## Steps to Reproduce (for bugs)

1. Stop all inputs except for a random input, that sleeps 1000ms between messages.
2. Resize the GL window so that menu bar is just shy of breaking lines
3. Observe how it toggles between 1 and 2 lines, when throughput is updated

## Your Environment

* Graylog Version: 6.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.