WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
37.44k stars 1.64k forks source link

[Bug] When multiple files have been modified, ImHex will ask once for every file sequentially #1740

Open RunDevelopment opened 3 weeks ago

RunDevelopment commented 3 weeks ago

Operating System

Windows

What's the issue you encountered?

I opened a bunch of files (>20) in ImHex, forgot about it, and then moved those files to another directory. When I came back to ImHex, the program asked me "Do you want to reload it?" for every file that I opened sequentially.

While this already a bad UX, it gets worse. These prompts did not tell me which file was modified (the currently selected files from the tab list also did not change), so there was no way for me to actually make an informed decision.

And it gets even more annoying :) These prompts did not open one after another automatically. After clicking Yes/No, the next prompt would only show up when I moved the mouse a little. So I had to manually advance the queue. I think what's happening here is that I needed to hover over a different UI element to advance the event loop, but I'm not sure. I only know that changing the UI element the mouse hovered over made the next prompt appear.

image


I would suggest the following behavior:

How can the issue be reproduced?

Steps to reproduce:

  1. Open a bunch of files in ImHex.
  2. Move those files to another directory (e.g. using Windows Explorer).
  3. Go back to ImHex and move the mouse around.

ImHex Version

1.34.0

ImHex Build Type

Installation type

MSI

Additional context?

No response