Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
182 stars 38 forks source link

Enabled/Disabled state of columns isn't properly synchronized anymore #335

Closed Kittyfisto closed 3 years ago

Kittyfisto commented 3 years ago

Current behaviour

Expected behaviour

The LogViewer should only reserve space for columns which are enabled for the current data source. The view menu items should synchronize themselves to the current state when switching a data source.

Steps to reproduce the problem

  1. Have at least two data sources open
  2. Check any column, for example "show delta time"
  3. Go to the next data source

The space for the "Show Delta Time" column is reserved even though the column should be disabled.

  1. Go to the previous data source
  2. Open the view menu

The "Show Delta Time" menu entry remains unchecked even though the column is clearly shown.

This defect was introduced with the new UI and must be solved for 1.0