Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.08k stars 86 forks source link

[Discussion] Should "Closing all" respect the current filter? #204

Closed diiigle closed 1 year ago

diiigle commented 1 year ago

Say I have a bunch of images open and I only want to close some that match a certain pattern (eg. "*_closeme.exr"). Intuitively I'd filter those out with the filename filter ("Find"/regex functionality) and then hit Ctrl+Shift+W.

Right now this closes indeed all images, even those that are hidden.

What's the community's opinion on this?

Tom94 commented 1 year ago

I think this would be correct behavior in any case -- I made the change real quick.

I also added a shortcut (Esc) to reset the current find string (which was sorely missing :)). If anyone relied on the previous behavior, they can press Esc followed by Ctrl+Shift+W from now on.