davemckeown / TidyTabs-VisualStudio

A Visual Studio extension that keeps your document well organized and clear of unused document tabs
Apache License 2.0
23 stars 16 forks source link

Tabs are not closed but left in strange state #14

Open DomasM opened 8 years ago

DomasM commented 8 years ago

I use TidyTabs in VS 2015, together with several other extensions: Power Tools, CodeRush for Roslyn and VsVim. Instead of closing tabs TidyTabs bring them in some sort of strange state. Tab is left open, but file content is not displayed, just uniform gray color. To view file I have to close it and open again. I am not sure if this happens with every tab TidyTabs tries to close, but it happens a lot. image

DomasM commented 8 years ago

Logs show nothing strange: 2016-06-17 09:28:46.2948 | INFO | Starting Tidy Tabs inside Visual Studio Community 14.0 for solution D:\c#\c#projects\Topas4\TOPAS4.sln 2016-06-17 09:30:26.1793 | INFO | Closed 2 tabs to maintain a max open document count of 10 2016-06-17 09:37:25.4442 | INFO | Closed 1 tabs to maintain a max open document count of 10 2016-06-17 09:39:47.7808 | INFO | Closed 5 tabs that were inactive for longer than 10 minutes 2016-06-17 09:52:05.1689 | INFO | Closed 3 tabs that were inactive for longer than 10 minutes 2016-06-17 10:04:02.7607 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 10:10:39.8079 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 10:11:48.8318 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 10:21:15.3360 | INFO | Closed 2 tabs that were inactive for longer than 10 minutes 2016-06-17 10:27:41.1426 | INFO | Closed 2 tabs that were inactive for longer than 10 minutes 2016-06-17 10:27:57.8471 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 10:31:28.5493 | INFO | Closed 2 tabs that were inactive for longer than 10 minutes 2016-06-17 10:41:05.5757 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 10:46:47.9392 | INFO | Closed 2 tabs that were inactive for longer than 10 minutes 2016-06-17 10:48:25.8136 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 10:59:55.3279 | INFO | Closed 2 tabs that were inactive for longer than 10 minutes 2016-06-17 11:20:40.5326 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 11:26:23.8849 | INFO | Closed 1 tabs that were inactive for longer than 10 minutes 2016-06-17 11:34:24.8336 | INFO | Starting Tidy Tabs inside Visual Studio Community 14.0 for solution D:\c#\c#projects\Topas4\TOPAS4.sln 2016-06-17 11:42:20.9365 | INFO | Closed 12 tabs to maintain a max open document count of 10 2016-06-17 11:43:14.2752 | INFO | Closed 1 tabs to maintain a max open document count of 10 2016-06-17 11:44:13.8304 | INFO | Closed 1 tabs to maintain a max open document count of 10 2016-06-17 11:45:46.0828 | INFO | Closed 2 tabs to maintain a max open document count of 10

davemckeown commented 8 years ago

Hi @DomasM,

Thank you for reporting this issue. I'm not longer using Visual Studio for my day-to-day work, but I would still like to fix this issue.

I noticed you were editing XAML files in your screenshot, doe this just happen for XAML files? I'm wondering if it is related to to the visual designer/code mixed use tab?

If you could submit a pull request with a project added where the issue it reproducible that would be a huge help.

Thanks

DomasM commented 8 years ago

I can't reliably reproduce issue, especially with dummy projects siting idle. It does happen only with .xaml files. I use visual designer only for very short amounts of time so this issue is certainly not specific only to split tab (code+preview).