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

Bug: "Alt+^" not assignable as Hotkey #23

Open
p5hema2 opened this issue Nov 7, 2023 · 1 comment
Open

Bug: "Alt+^" not assignable as Hotkey #23

p5hema2 opened this issue Nov 7, 2023 · 1 comment

Comments

@p5hema2
Copy link

p5hema2 commented Nov 7, 2023

If you define "Alt+^" as Hotkey the program fails to start.

Version 6.0.0.2

Error.log

System.InvalidOperationException: Error constructing handler for request of type MediatR.IRequestHandler`2[EveOPreview.Mediator.Messages.StartService,MediatR.Unit]. Register your handlers with the container. See the samples in GitHub for examples. ---> System.ArgumentException: Der angeforderte Wert "^" konnte nicht gefunden werden.
   bei System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   bei System.Windows.Forms.KeysConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   bei EveOPreview.Configuration.Implementation.ThumbnailConfiguration.StringToKey(String hotkey)
   bei System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   bei EveOPreview.Services.ThumbnailManager.RegisterCycleClientHotkey(IEnumerable`1 keys, Boolean isForwards, Dictionary`2 cycleOrder)
   bei EveOPreview.Services.ThumbnailManager..ctor(IMediator mediator, IThumbnailConfiguration configuration, IProcessMonitor processMonitor, IWindowManager windowManager, IThumbnailViewFactory factory)
   bei DynamicMethod(Object[] , Scope )
   bei LightInject.PerContainerLifetime.GetInstance(GetInstanceDelegate createInstance, Scope scope, Object[] arguments)
   bei DynamicMethod(Object[] , Scope )
   bei MediatR.ServiceFactoryExtensions.GetInstance[T](ServiceFactory factory)
   bei MediatR.Internal.RequestHandlerBase.GetHandler[THandler](ServiceFactory factory)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei MediatR.Internal.RequestHandlerBase.GetHandler[THandler](ServiceFactory factory)
   bei MediatR.Internal.RequestHandlerWrapperImpl`2.<>c__DisplayClass1_0.<Handle>g__Handler|0()
   bei MediatR.Internal.RequestHandlerWrapperImpl`2.Handle(IRequest`1 request, CancellationToken cancellationToken, ServiceFactory serviceFactory)
   bei MediatR.Mediator.Send[TResponse](IRequest`1 request, CancellationToken cancellationToken)
   bei EveOPreview.Presenters.MainFormPresenter.Activate()
   bei EveOPreview.View.MainForm.Show()
   bei EveOPreview.Presenter`1.Run()
   bei EveOPreview.Program.Main()

json

   {
  "ConfigVersion": 1,
  "CycleGroup1ForwardHotkeys": [
    "Alt+^",
  ],
  "CycleGroup1BackwardHotkeys": [
  ],
  "CycleGroup1ClientsOrder": {
    "EVE - xxx": 1,
    "EVE - xxx": 2,
    "EVE - xxx": 3,
    "EVE - xxx": 4,
    "EVE - xxx": 5
  },
...
}
@Vizis
Copy link

Vizis commented Feb 4, 2024

same with tilde "`" or "~"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants