Open syyrmb opened 3 years ago
I can not reproduce this with RawTherapee_dev_5.8-2822-g170df0393_20210320 on Windows 10, RT does not crash, no problems of any kind here.
I can not reproduce this with RawTherapee_dev_5.8-2822-g170df0393_20210320 on Windows 10, RT does not crash, no problems of any kind here.
Thanks for testing. That's pretty weird, then (Maybe it's my computer being weird again). I recorded a video demo, hopefully it can be useful (I blurred some parts due to privacy concerns). RT_crash_demo.zip
Update: I can reproduce it, but only when the test folder, that gets deleted, is empty. In my first attempt I have put a couple of photos into it.
Same behaviour on my Windows 10 laptop with RT 5.8-2461.
I will try to reproduce this...
I created an empty folder at my C: drive C:\empty
, opened the folder in RawTherapee, switched to Windows explorer, deleted the folder, switched to RawTherapee and got no crash. I must miss something...
@syyrmb Your video shows a freeze, not a crash. Though in my tests I even get no freeze...
@syyrmb Your video shows a freeze, not a crash. Though in my tests I even get no freeze...
Yeah this is not a crash, I'll fix that. If you don't double click on the "empty" folder in RT, then it'll be fine when you delete it.
I double clicked in RT on the non existing (after deletion) empty folder and still no freeze or crash
I double clicked in RT on the non existing (after deletion) empty folder and still no freeze or crash
Sorry for not being clear, the first step is double clicking on the empty folder, then delete it, and finally going back to RT.
Sorry for not being clear, the first step is double clicking on the empty folder, then delete it, and finally going back to RT.
That was quite clear and exactly what I did without a crash or freeze. Really strange...
I can confirm the freeze...
Edit: for reference (the file is sent to the recycle bin, but the dialog is on my second screen)
https://user-images.githubusercontent.com/6567747/112000949-bfea1180-8b1e-11eb-888d-522e56d00d1e.mp4
Sorry for not being clear, the first step is double clicking on the empty folder, then delete it, and finally going back to RT.
That was quite clear and exactly what I did without a crash or freeze. Really strange...
Where did you deleted folder go, to the recycle bin or totally deleted? I found that using shift+delete is fine.
@Thanatomanic
I can confirm the freeze...
Can you nail it with a debug build?
@syyrmb
Where did you deleted folder go, to the recycle bin or totally deleted? I found that using shift+delete is fine.
Good point. I totally deleted in my test...
Okay, so far:
Anyway, I'll try @heckflosse 's suggestion for a debug build!
@Thanatomanic
Anyway, I'll try @heckflosse 's suggestion for a debug build!
Keep in mind that debugging a frozen program is not straight forward using gdb on msys2. You can not use CTRL-C because then gdb will terminate. You will have to use another msys2 terminal and attach gdb to the process of the frozen RT session. There is an issue somewhere in RT Github, but I didn't find it on the rush...
Short description When opening a folder in RawTherapee's file browser, and then delete that folder in Windows 10s' explorer, RawTherapee will freeze up and requires you to force-quit it.
Steps to reproduce
Expected behavior RawTherapee should updates its file browser and removes the deleted folder without freezing.
Additional information
Other useful information: