dotnet / dotnet/wpf

After setting the Window.TaskbarItemInfo property, the taskbar widget does not appear

Open
#10,177 0 comments 0 reactions 0 assignees View on GitHub
Investigate
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

After setting the Window.TaskbarItemInfo property, the taskbar widget does not appear

##### ---------------------------

在设置了 Window.TaskbarItemInfo 属性后,任务栏小窗显示不出来了

---------------------------

After the TaskbarItemInfo property is set for the WPF Window instance in Windows 11 26100, the application window does not appear when the mouse moves over the taskbar icon

##### ---------------------------

在 Windows 11 26100 为 WPF Window 实例设置了 TaskbarItemInfo 属性后,鼠标移动到任务栏图标上,应用程序小窗显示不出来

---------------------------

Set the TaskbarItemInfo property in the WPF Window instance

在 WPF Window 实例设置 TaskbarItemInfo 属性
![Image](https://github.com/user-attachments/assets/c5e6bdda-f869-4989-b1bb-30d53d7e8688)

When the mouse moves over the taskbar icon, the WPF program does not display the taskbar window

鼠标移动到任务栏图标上,WPF 程序显示不出任务栏小窗
![Image](https://github.com/user-attachments/assets/7ac4d0fc-b5f8-4fb1-bbef-b535d8fb84d1)

Move the mouse over another program icon, and a small taskbar window will normally appear

鼠标移动到其他程序图标上,正常显示出任务栏小窗
![Image](https://github.com/user-attachments/assets/f43562b4-2c01-4e34-a1fb-824bce55f8ed)

### Reproduction Steps

1. Create WPF programs (.NET Framework and.NET Core)
2. Add a TaskbarItemInfo instance to the newly created MainWindow class.
3. Move the mouse to the taskbar icon window

##### ---------------------------

1.创建 WPF 程序(.NET Framework 和 .NET Core)
2.为新建的 MainWindow 类添加 TaskbarItemInfo 实例。
3.鼠标移动到任务栏图标小窗上

---------------------------

### Expected behavior

After the TaskbarItemInfo property is set, the Taskbar window appears normally

##### ---------------------------

在设置 TaskbarItemInfo 属性后,任务栏小窗能正常显示

---------------------------

### Actual behavior

After the TaskbarItemInfo property is set for the WPF Window instance in Windows 11 26100, the application window does not appear when the mouse moves over the taskbar icon

##### ---------------------------

在 Windows 11 26100 为 WPF Window 实例设置了 TaskbarItemInfo 属性后,鼠标移动到任务栏图标上,应用程序小窗显示不出来

---------------------------

### Regression?

Do not set the TaskbarItemInfo property

##### ---------------------------

不设置 TaskbarItemInfo 属性

### Known Workarounds

None

### Impact

None

### Configuration

.NET Framework 4.8.1,.NET Core 9
Windows 11 26120.2702
Windows X64
![Image](https://github.com/user-attachments/assets/8555c762-776b-4b7f-8b5c-92c0cfbea822)

### Other information

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.