Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoints tree does not grow #25384

Closed
alexdima opened this issue Apr 26, 2017 · 9 comments
Closed

Breakpoints tree does not grow #25384

alexdima opened this issue Apr 26, 2017 · 9 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verification-found Issue verification failed verified Verification succeeded
Milestone

Comments

@alexdima
Copy link
Member

I collapsed all the other sections in order to get a good look at the breakpoints, but the list does not adjust to the window size:

breakpoints

@isidorn isidorn added the feature-request Request for new features or functionality label Apr 26, 2017
@isidorn isidorn added this to the Backlog milestone Apr 26, 2017
@isidorn
Copy link
Contributor

isidorn commented Apr 26, 2017

I agree that in this scenario it would be better that the breakpoint view automatically expands to the maximum size.
However on the implementation side it is a AdaptiveCollapsibleViewletView which does not grow past its limit (which is a flow in this case).

just fyi @joaomoreno

@joaomoreno
Copy link
Member

Uh-hoh

@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug and removed feature-request Request for new features or functionality labels Apr 26, 2017
@isidorn
Copy link
Contributor

isidorn commented Nov 13, 2017

@joaomoreno too bad this was not fixed with the split view refactoring

@joaomoreno joaomoreno removed their assignment Nov 13, 2017
@joaomoreno
Copy link
Member

You should fix it at your layer. The breakpoints view should have an infinite max size only if all of the other views have a finite max size; it should be fixed otherwise.

@isidorn isidorn modified the milestones: Backlog, November 2017 Nov 13, 2017
@isidorn
Copy link
Contributor

isidorn commented Nov 17, 2017

@joaomoreno I can fix it in my layer but it will be ugly. Currently my DebugViewlet is not aware of all the panes which are contributed.
So I would have to introduce a hack in my debug viewlet to listen to all the changes of all my views and in case that all of them are expanded excepet one I let that one know that it can have an infinite size.

Doesn't it make more sense to handle this internaly in the split view?

Or am I missing something here?

@joaomoreno
Copy link
Member

joaomoreno commented Nov 18, 2017

You got the SplitView which gives you the minimalist IView interface. On top of that you have the PanelView which gives you more powerful panels.

If you need a view which dynamically changes the properties of a panel based on all the other panels' states, I'd either code it in the user's domain (DebugViewlet) or create yet another wrapper. Otherwise I have to introduce a maximum size is infinite if all other panels have non-infinite maximum size setting per panel. That's the kind of setting which got us into the old splitview messy code.

Let's code something up together next week?

@isidorn isidorn added the debug Debug viewlet, configurations, breakpoints, adapter issues label Nov 21, 2017
@bpasero
Copy link
Member

bpasero commented Dec 6, 2017

Now I am not seeing a scrollbar when breakpoints overflow:

flicker_chrome58

@bpasero bpasero reopened this Dec 6, 2017
@bpasero bpasero added the verification-found Issue verification failed label Dec 6, 2017
@isidorn
Copy link
Contributor

isidorn commented Dec 6, 2017

Unrelated issue which was also happening in stable, please open a new bug. Actually I can open it

@isidorn
Copy link
Contributor

isidorn commented Dec 6, 2017

Voila #39796

@bpasero bpasero added the verified Verification succeeded label Dec 6, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verification-found Issue verification failed verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants