variar / klogg

Really fast log explorer based on glogg project
https://klogg.filimonov.dev
GNU General Public License v3.0
2.38k stars 208 forks source link

[bug] Klogg does not allow to remove a file even when tab was closed #641

Open Abay11 opened 1 year ago

Abay11 commented 1 year ago

I can't say a scenario how the problem can be reproduced, but time to time I face with this problem. I can delete a file/folder only if I exit from the app. Closing a tab is not enough. The build version the problem was last reproduced with is 23.06.0.1500 (windows 10 x64, qt 5.15.2).

variar commented 1 year ago

Is "keep the file closed" setting enabled (it is in File tab)?

Abay11 commented 1 year ago

I've found the setting in Advanced tab. It was disabled. I'll try with it. Thank you.

Abay11 commented 1 year ago

I've reopened the issue because I've faced the problem again despite enabled "Keep file closed" setting.

Filelock pointed Klogg still was using a file:

image

variar commented 1 year ago

I've added some logging to file holder to check if it is not released properly.

Abay11 commented 1 year ago

Thank you! I will try to reproduce the issue and attach new logs