-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug 1:
Left click the tray icon has a 2 seconds delay. but show/hide in flyout has no delay.
Delay:
<tb:TaskbarIcon LeftClickCommand="{x:Bind ShowHideWindowCommand}">
No delay:
<tb:TaskbarIcon.ContextFlyout>
<MenuFlyout>
<MenuFlyoutSeparator />
<MenuFlyoutItem
Command="{x:Bind ShowHideWindowCommand}"
Text="show/hide" />
</MenuFlyout>
</tb:TaskbarIcon.ContextFlyout>
Bug 2:
When the window was hide while it is not on the top. Window.Show() will not bring it on the top, but the same z-index level. I think this is not the expectation.
public void ShowHideWindow()
{
var window = (Window)this;
if(window == null)
{
return;
}
if(window.Visible)
{
window.Hide();
}
else
{
window.Show();
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working