Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Searching response data works once, then you can't change the text

Open spnkr opened this issue 2 years ago • 7 comments

Proxyman version? (Ex. Proxyman 1.4.3)

3.8.0

macOS Version? (Ex. mac 10.14)

12.5

Steps to reproduce

  • click the filter button
  • add 3 filters
  • disable 1 of them
  • select an HTTP request in the main list
  • in the view of the response, choose the "JSON" mode
  • click inside the response preview area
  • press command + s to search and type something
  • press enter to find it
  • select a different HTTP request in the main list
  • try to search the response for a new string
  • ^ you can't! the search bar is hidden :(

Expected behavior

you should be able to search the JSON response for a different string without quitting and reopening the app

Screenshots (optional)

spnkr avatar Aug 18 '22 23:08 spnkr

Can you record a video to demonstrate it? I tried to reproduce but had no luck 🤔

Video: https://drive.google.com/file/d/1VY29FMp-l-VonBRLeJk-isG2VLLn1py4/view?usp=sharing

NghiaTranUIT avatar Aug 19 '22 00:08 NghiaTranUIT

I'm facing the same issue. I don't have precise steps, but you can try to open Map Local Editor and repeat multiple times:

  • press cmd+f to open search bar
  • make some search
  • close search bar clicking on text
  • press cmd+g to search for the next result

At some point search won't work. I can reproduce this issue in other windows including response viewer.

ildar-gilfanov avatar Aug 23 '22 08:08 ildar-gilfanov

@ildar-gilfanov thanks for the hint. I'm able to reproduce the issue 🎉 It looks like the CodeMirror has buggy UI when using CMD+F, CMD+g, and selecting a new text.

Fixing it now 👍

NghiaTranUIT avatar Aug 23 '22 10:08 NghiaTranUIT

Hey @spnkr and @ildar-gilfanov Please check out this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.8.0_Fix_Search_Bar_is_hidden.dmg

I'm able to reproduce the bug and it's completely fixed 💯

Thanks again for opening the issue 👍 😄

NghiaTranUIT avatar Aug 24 '22 03:08 NghiaTranUIT

Hi @NghiaTranUIT! I can't reproduce the issue in new build. Thank you for fixing it!

Although I have found strange behaviour. If I click on text after search and press cmd+g it either doesn't work or work, but quite slow. In this case green circle above text view becomes yellow. As far as I understand this means some king of processing, but I don't expect search to trigger any kind of heavy working. Could you take a look?

ildar-gilfanov avatar Aug 24 '22 06:08 ildar-gilfanov

In this case green circle above text view becomes yellow

It switches to editing mode. After 500ms, it automatically saves the file.

If I click on text after search and press cmd+g it either doesn't work or work, but quite slow. Can you try with cmd+f?

NghiaTranUIT avatar Aug 24 '22 07:08 NghiaTranUIT

Can you try with cmd+f?

Yes, if I open search bar again it works as I expect

ildar-gilfanov avatar Aug 24 '22 07:08 ildar-gilfanov