Skip to content
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

Hex Viewer Selection Range incorrect based on selection direction #11

Open
Hogflash opened this issue Jun 7, 2022 · 0 comments
Open

Comments

@Hogflash
Copy link
Contributor

Hogflash commented Jun 7, 2022

Steps to reproduce:

  1. Launch Hex Viewer, select Hexadecimal, Big Endian, 1-byte, view ASCII modes

  2. Set window width so 16 columns are displayed.

  3. Drag select an address range starting with a LOW address to a HIGH address e.g. from 0x0010 to 0x001E. The blue selection range will show from 0x0010 to 0x001E, the last byte in the row is NOT selected.

  4. Observe that the selection range in the status bar is listed as 00000010 - 0000001F which is incorrect, the high address is one too large. The length is indicated as 15 bytes which IS correct.

  5. Now, select a new region from HIGH to LOW range e.g. from 0x001E to 0x0010. The selection will now correctly show the range 0000001E - 00000010 with a length of 15, which is correct.

  6. This same bug manifests for all column sizes, 1,2,4, or 8 and all display modes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant