Skip to content

[Feature request] - Auto-timeout on open file error message #786

Open

Description

@ElroySullivan

I'm sometimes in a situation where I'm examining 100s of files that don't have an extension. Some of them are images but some of them aren't. I can set things up such that PhotoDemon attempts to open them upon double-click. However, here's my problem:

When PhotoDemon fails to figure out how to open a file, an error message pops up. That's all fine, but I may wind up with 100 or more copies of PhotoDemon opened when checking these files. And, to close them, I have to click "OK" on the error message, and then click the X on PhotoDemon.

If that error message had something like a 5 (or even 10) second timeout, that would be fantastic. Personally, I wouldn't mind if there was an option on that message box to "never show this error again", but I suspect that may not be workable for some. Or, another alternative might be to reroute error messages into some kind of PhotoDemon text console. Just anything so that I can quickly just click the X on PhotoDemon and get MANY copies of it closed more quickly.

Thanks In Advance for your consideration,
Elroy Sullivan

Activity

  1. added
    fixed
    and removed on Jun 18, 2026
  2. tannerhelland commented on Jun 18, 2026

    @tannerhelland
    Owner

    Thank you for raising this issue, @ElroySullivan . I especially appreciate the helpful explanation of your workflow - it's very hard to know how to best address a problem like this without context!

    (And thank you also for your kind donation.)

    I've just added a new preference to the Tools > Options > Loading panel, which lets you suspend the warning message that appears when image file(s) aren't loaded successfully:

    Image

    Turn that OFF to prevent the "image failed to load" message box from appearing.

    Also, I don't know if it's compatible with your workflow, but if you drag + drop a list of files onto PhotoDemon, PD will try to load all of the dropped files in turn. Any failure messages get merged together and only shown as a single dialog at the end of the process, like this:

    Image

    This typically requires drag + drop because Microsoft hides the "Open With..." option from the right-click menu in Explorer when multiple files are selected, but perhaps there's a way to force-enable it. (Basically, any time PhotoDemon sees that you're trying to load multiple images at once, it'll suspend all warnings until the end of the load process. This works via drag+drop at run-time, or when bulk loading images from the command line.)

    Let me know if this is an acceptable solution. In the future, it would indeed be nice to mirror this preference with a "don't show this warning anymore" toggle right there on the warning box, but that's a larger project for me as it would require a custom dialog box and a number of reworked language translations. I went with the faster, easier, fewer-translations-required approach for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions