microsoft / VS-PPT

Productivity Power Tools - a set of Visual Studio extensions improving developer productivity.
http://aka.ms/extendvs
Other
888 stars 146 forks source link

Custom Doc Well crashing when too many tabs pinned #153

Open justcla opened 7 years ago

justcla commented 7 years ago

User (Daniel Bekker) asked question on Marketplace Q&A:

This is crashing my studio as well. it appears that if too many tabs are pinned it gets into some kind of sort loop which locks out studio. Sometimes i can save it by closing one of the tabs but generally the UI is locked out from user input. cant even save on close. i have to kill the vs task. This is bad. otherwise its a decent tool but i will likely uninstall this as its causes too much frustration in the IDE.

justcla commented 7 years ago

Daniel, can you help us repro this?

crunchygremlin commented 7 years ago

From what i can tell it appears to be having tabs pinned that exceed the window width or near window width. it doesnt happen right away. it appears to happen after compile or on debug breakpoint or break. perhaps its trying to add a tab here. I am not sure. But it will cycle making two rows of tab and one over and over. This appears to max out the CPU thread. Sometimes making the studio UI very slow but often just unreachable. im using vs2017 with resharper and productivity tools.

justcla commented 7 years ago

Thanks for the info. We'll see if we can reproduce it.

Do you get this problem if you disable ReSharper?

crunchygremlin commented 7 years ago

I disabled resharpers code analysis. did not help. ill give you all the extensions i have installed when i get home

justcla commented 7 years ago

Thanks. No need. Your description has helped us. We think it might be something to do with creating new tab rows. It calculates it needs another row, then starts setting it up, then calculates it will fit into one row, and the process repeats.

We're working to find a fix for it.

DianaNites commented 6 years ago

I've encountered this issue as well. I can save it by using ctrl+F4 to close the offending tab, havnt had it crash yet.

I have 7 tabs open, 6 of them pinned, and opening another causes the issue. The offending tab will constantly move between a new tab row and the main one, slowing down VS and showing high CPU usage until closed.

I use no sorting options.

Perhaps huge gap in space between pinned and nonpinned tabs isnt accounted for somehow?

mikocot commented 6 years ago

I have a setup with VS 2017 and no extra extensions, besides the Custom Document Well and get even several crashes per day, which didn't happen before installing this one. I have scrolling enabled + colors by regex and alphabetical sorting. I usually work with much more tabs open than the vertical bar can fit, several of them pinned.

mikocot commented 5 years ago

@justcla Do you have any updates on that? This is the only problem stopping many of us from using this superb plugin and the issue has been reported many times in the QA section of the marketplace.

Any chances to get it solved?

justcla commented 5 years ago

Hey @mikocot. Sure thing. @prnadago Is looking into it.