gdb-frontend icon indicating copy to clipboard operation
gdb-frontend copied to clipboard

FeatReq: Close windows in right sidebar

Open RenHoekNL opened this issue 2 years ago • 5 comments

The right sidebar has a number of windows, however my screen is a little small on my laptop.

When I step through my program I want to keep an eye on the variables, but I can't see those without scrolling the sidebar down a bit.

Then I step, and the sidebar window is reset again to the top. Again, I can't see my variables anymore.

Fixes:

  • Allow me to close windows I don't need, e.g. Disassembly
  • Keep the windows position where it is when stepping

Ideally both these changes are put in. Thanks in advance.

RenHoekNL avatar Feb 21 '23 22:02 RenHoekNL

Hi @RenHoekNL thank you for your feedback.

GF got a feature about that it must keep your current scroll position on each step.

It must act like this:

https://user-images.githubusercontent.com/1125150/220484389-0d326f26-9b3e-4c6a-8a17-2b868e7a8cbe.mp4

Seems like it is not working for you 🙁

What is your browser? If it is not Chrome can you try it on Chrome?

rohanrhu avatar Feb 21 '23 23:02 rohanrhu

Can confirm it 'works' in Chrome. I'm using Firefox 110.0 (64-bit).

It does jump the sidebar around in Chrome as well, at least it stick to the part I was using. It doesn't just stay where I was though and when I'm deep in structs I still have to scroll back.

It could use some TLC.

RenHoekNL avatar Feb 22 '23 22:02 RenHoekNL

Can confirm it 'works' in Chrome. I'm using Firefox 110.0 (64-bit).

Oh good... Just use Chrome till I fix it for the other browser.

It does jump the sidebar around in Chrome as well, at least it stick to the part I was using. It doesn't just stay where I was though and when I'm deep in structs I still have to scroll back.

It expands all previously opened structs right? I remember variables view has its own scrollable too I'm not sure if it has the same feature as the whole inspector side but I will add the same feature for that too.

rohanrhu avatar Feb 22 '23 22:02 rohanrhu

Please consider this another request for the ability to remove unneeded right-side widgets. i literally never need the Registers window and it takes up a LOT of space which i'd much rather have for the Variables. i can use the browser's Inspector to remove the Registers widget, but then the Variables has a fixed max size so won't grow to fill that space. i can get around that by removing the max-height from div.VariablesExplorer_content it and adding resize:vertical to that element, but this is a tedious workaround.

sgbeal avatar Feb 21 '24 02:02 sgbeal

Please consider this another request for the ability to remove unneeded right-side widgets. i literally never need the Registers window and it takes up a LOT of space which i'd much rather have for the Variables. i can use the browser's Inspector to remove the Registers widget, but then the Variables has a fixed max size so won't grow to fill that space. i can get around that by removing the max-height from div.VariablesExplorer_content it and adding resize:vertical to that element, but this is a tedious workaround.

Hi @sgbeal my brain is really burning because of working and some other things but I'll find a time for these things soon.

I'll make right bar sections optionally enabled/disabled, I'll also make right bar's variables explorer dynamic-sized.

rohanrhu avatar Feb 21 '24 08:02 rohanrhu