ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.49k stars 180 forks source link

Previewing images breaks while previewing other file types as well #1900

Open stodirascu opened 8 months ago

stodirascu commented 8 months ago

Description

In the attached screen recording you can see that I'm scrolling through responses of different responses with the Body tab selected. At first the jpeg image shows correctly (awesome feature btw), but when switching to a video (is mp4 previewing implemented btw? I don't know, we're downloading partial content using Ranges so that might be why it's not previewing) the preview switches to Hex, and when going back to the image it stays hex.

Expected Behaviour

Would be cool if somehow the last previewing type per file extension e.g. would be persisted, always switching to jpeg in that dropdown is a bit annoying. Thanks!

Environment

https://github.com/ProxymanApp/Proxyman/assets/111747822/679cd9d3-7e49-4d73-9b31-135e748120c5

NghiaTranUIT commented 8 months ago

Thanks. It's because Proxyman automatically switches to the Hex and persists in this setting for the next selection.

I agree that it's quite annoying. I will change this behavior.

stodirascu commented 8 months ago

Cheers!

NghiaTranUIT commented 7 months ago

@stodirascu you can try this build: https://download.proxyman.io/beta/Proxyman_4.15.0_Fix_UI_Previewer.dmg

The selected mode will remain, it doesn't automatically change as the current build anymore.

stodirascu commented 7 months ago

@NghiaTranUIT Works! Thank you 🙌