You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running two OptiKey instances and noticed that the OptiKey instances don't group together on the taskbar on Win10 like other apps do when they have multiple windows open.
Here's a part of a screenshot that maybe explains the issue better.
This is a minor issue, but at the same time, I do use the first slots on the taskbar to push down the "important" apps so that it's easier for me to reach them with the mouse.
The text was updated successfully, but these errors were encountered:
@lsaranto thanks for the report, I can only assume that the different command line args are affecting the application ID and therefore the grouping behaviour.
Suggested fix according to Phind - this is a note to myself to try to implement a fix...
To control the taskbar grouping behavior, you can manually assign the same AUMID to all instances of your application. You can do this using the Application.SetUserModelId method in WPF. Here's an example:
In this example, Application.ExecutablePath is the path of your application's executable file. By setting the user model ID to the executable path, you're ensuring that all instances of your application will have the same AUMID, regardless of their command line arguments.
Please note that the SetUserModelId method should be called before the application's main window is shown, so you should typically call it in your application's Startup event or Main method.
Also, be aware that SetUserModelId requires Windows 7 or later, and it won't have any effect on earlier versions of Windows Microsoft Docs.
I'm running two OptiKey instances and noticed that the OptiKey instances don't group together on the taskbar on Win10 like other apps do when they have multiple windows open.
Here's a part of a screenshot that maybe explains the issue better.
This is a minor issue, but at the same time, I do use the first slots on the taskbar to push down the "important" apps so that it's easier for me to reach them with the mouse.
The text was updated successfully, but these errors were encountered: