usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.73k stars 1.28k forks source link

When system/application is crashed the unsaved request is seen as blank file. #3420

Open Luvji opened 2 weeks ago

Luvji commented 2 weeks ago

I have checked the following:

Describe the bug

System: linux bruno version: 1.33 - 1.34 The system crashed while working on a project. There were few bruno tabs open and unsaved with few changes done. It was already imported from a collection , so I expected the old version would still be there. Which was fine for me. After rebooting the system , a snap upgrade for bruno seems to happen. I also seen a update notification on my software center(ver:1.29) but it but much lower than my version (1.33 -before the snap upgrade) which after the update It was seen as 1.34.1

The issue is the tabs that were opened and was actively editing is seen as blank in the explorer, on further investigation I see the bru file is actually empty. In GUI

image

bru file image

I guess we need a temp file for editing purposes.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

image