- ago
Two Issues
1) No Menu Item to "Open Workspace"
2) Attempts to Save Workspace Throws Exception

Conditions:
* Windows 10 Multiple Monitor Setup - WL7 is open only on monitor #1
* Data folder Workspaces is empty
* Data folder is in the default installation location
* Also fails using "Set as Default Workspace"

Exception Messages:

System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at WealthLab7.WorkspaceManager.EnableFilter(Window ident, Tokenizer cfg)
at WealthLab7.WorkspaceManager.RateFilter(MainWindow instance, Tokenizer vis)
at WealthLab7.WorkspaceManager.MoveFilter(String task, Boolean colinstall)
at WealthLab7.WorkspaceManager.SaveNewWorkspace()
at WealthLab7.MainWindow.ResetList(Object )
at WealthLab7.MainWindow.ConnectSingleton(Object reference, RoutedEventArgs cfg)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
977
Solved
5 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
1) No Menu Item to "Open Workspace"

There has never been. Click on a saved workspace's name to load it.
1
- ago
#2
QUOTE:
System.InvalidOperationException: Sequence contains more than one matching element

I see what may be going wrong here, let's see if we can fix this for B27.
1
Glitch8
 ( 12.10% )
- ago
#3
Hi Rich, can you let us know about the Workspace you're saving? Is there more than one "Main" window, and what tools do you have open in the window?
0
Glitch8
 ( 12.10% )
- ago
#4
Hmmm according to the error you have two monitors that somehow overlap!! In any case, I changed some logic so this won't cause an exception for B27.
1
Best Answer
- ago
#5
Never noticed that my monitor layout (4 of em) had an overlap. I'll get on it. Thanks for the ongoing effort. The inability to create spaces isn't a problem yet as I am still transitioning my code. Thanks... RJ
0

Reply

Bookmark

Sort