postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.85k stars 841 forks source link

Postman freezes when opening after closing it with a local file showing #13288

Open BioeJD opened 19 hours ago

BioeJD commented 19 hours ago

Is there an existing issue for this?

Describe the Issue

Postman freezes after opening the app, showing loading indicators on the environment and on the last opened request page. I can not use the app again until I delete my entire Roaming folder.

I saw some similar reports of the app freezing, but I have specific steps to reproduce this issue.

Steps To Reproduce

  1. Open Postman
  2. Select a POST request that uses a file in its form-data body
  3. Select the Body tab for the request
  4. For the file value in the body, select a file from the local system that's not in your working directory
  5. Close Postman with the page (request body) open
  6. Try opening Postman again
  7. Postman freezes until you clear the roaming data

Screenshots or Videos

No response

Operating System

Windows

Postman Version

11.20.0

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

belidzs commented 18 hours ago

Can confirm the same issue on the same version. Downgrading to 11.19.0 solves the problem

chowwinston commented 17 hours ago

@belidzs are you seeing this consistently working in 11.19? We're investigating a similar issue found in 11.12 and I don't believe anything has been fixed since.

belidzs commented 17 hours ago

@chowwinston seems like you're right.

Even after downgrading I was back at square one after selecting the same request with the upload file, saving, closing then restarting the app.

Maybe downgrading the snap package also restored an earlier state when a different tab was open

belidzs commented 16 hours ago

I should probably also mention that I'm using the linux snap package and still experience this issue.

However, a quick workaround which seems to work for me (consistently) is to delete the file called window from the Postman config directory, then restart the application.

mv /home/belidzs/snap/postman/291/.config/Postman/window /home/belidzs/snap/postman/291/.config/Postman/window.backup

The only thing which got lost was the list of open requests tabs, including the one which triggered this bug.