Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Don't scroll unless at the top/bottom

Open vrnvorona opened this issue 4 years ago • 5 comments

Proxyman version? 2.34.1

macOS Version? 11.6

Steps to reproduce

  1. Make some requests
  2. Scroll down a little and select request to inspect
  3. Send more requests Expected: When scrolled, there is no autoscroll, and selected request stays in the same place Actual: With new requests list scrolls a little bit, and selected request is drifting away

I would expect similar behavior as terminals do, if you are at the very bottom (or top since I prefer sorting this way), then it's doing auto scroll, but other wise it stays in same place for comfort navigation between requests.

vrnvorona avatar Oct 29 '21 14:10 vrnvorona

Hey @vrnvorona thanks for your feedback.

but what you describe is what Proxyman works at the moment. Please see the video here: https://www.dropbox.com/s/50m4gb3uw62sg4n/Screen%20Recording%202021-10-29%20at%2021.40.37.mov?dl=0

  • If the scroll bar is at the bottom, it will auto scroll down if I add more request (Open Product Hunt App).
  • If I scroll to a middle position, it will stay there regardless of the new coming requests.

If you don't mind, please record a video and share to [email protected] (If you have sensitive data that you don't want to public). I'd like to investigate it 👍

NghiaTranUIT avatar Oct 29 '21 14:10 NghiaTranUIT

Here it is. Maybe there is some setting? Or maybe it doesn't work with time filter? https://user-images.githubusercontent.com/11422913/139456170-eb81beec-e62c-4210-a219-79db42369979.mp4

vrnvorona avatar Oct 29 '21 14:10 vrnvorona

Ah, I see. It because the DESC Sorting.

On macOS, the origin coordinator of the TableView is top-left corner. Therefore, when appending new row on the top, the NSTableView will push the current selection to below row, even thought the offset scroll view is remained.

I will check out tomorrow and see if I can fix it 👍

For now, to work around, you might click on the ID Column to select ASC Sorting (New row at the bottom). It will work

NghiaTranUIT avatar Oct 29 '21 14:10 NghiaTranUIT

Thanks for workaround, works like a charm. And functionally is almost same as Time sorting.

vrnvorona avatar Oct 29 '21 15:10 vrnvorona

I also prefer the DESC sorting method (usually by request ID number) and this is still an annoyance when I'm testing something that is generating new calls at the top of the list.

Would love to find a way to properly fix this auto scroll when columns are using DESC sort bug. 🤞

sleeve avatar Jan 28 '24 17:01 sleeve