chcg / NPP_HexEdit

Notepad++ Plugin Hexedit
821 stars 156 forks source link

Status bar not refreshed immediately after change bin/hex or endianes #42

Open ArkadiuszMichalski opened 3 years ago

ArkadiuszMichalski commented 3 years ago

STR (for latest Notepad 7.9 and HexEditor 0.9.8):

  1. Open Notepad++.
  2. Open file in first tab and invoke for this tab View in HEX (via command or press icon).
  3. From context menu >> View in >> change format bin/hex or it endianes.

Status bar display previous state. When we change tab to other and back then label is correct. also off/on View in HEX refresh this label.

chcg commented 3 years ago

@ArkadiuszMichalski Can't confirm your observation exactly. For me the changes just take effect on newly opened files. So it is possible to have multiple different settings on each open tab. Probably that is not the expected behaviour.

grafik

grafik

grafik

ArkadiuszMichalski commented 3 years ago

@chcg Please follow my STR, I operate only with one file, then change from context menu >> View in >> format bin/hex or it endianes. The change takes place in the Edit area, but the current state is not updated in the status bar. When we change tab to other and back then label is correct. also off/on View in HEX refresh this label.

This is very simillar to https://github.com/chcg/NPP_HexEdit/issues/25, but here it deals with other options/labels.

It seems that the status bar update is not being done at the right time (after executing commands that change data format).