stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.72k stars 179 forks source link

Double clicking a file causes program to crash #483

Closed smelcher closed 2 months ago

smelcher commented 2 months ago

When I double click on one of the files in the "Search results" tab, it causes GrepWin to crash out. This behavior started with the release from a few weeks ago.
Thanks!

stefankueng commented 2 months ago

I can not reproduce this. What kind of files are shown/do you double click on? (txt, ...) what default editor is configured for that file type? does it happen for all files or just a few?

smelcher commented 2 months ago

I have tried a few different file types with the same behavior: .txt, .rar, .xls. It seems to be happening for me for all file types. My default editor for .txt files is Notepad++.

craigtp commented 2 months ago

I have the same problem, which I've noticed with .pdf and .epub files (if may affect other files, but these are the ones I've noticed the error with). For both filetypes, my default program to open these files is SumatraPDF.

This issue was introduced in version 2.1.0. The immediately prior version, 2.0.15 does not exhibit this behaviour.

ask9 commented 2 months ago

@smelcher use old version. it is more stable and doesn't get crashed. Starting with 2.1.0 it becomes nearly impossible to work with the app due to regular crashes.

stefankueng commented 2 months ago

I can reproduce the problem now: it only happens if there are no results in the found files (e.g. if you leave the search text empty and only search for filenames/types).