Skip to content

修复在运行时调整屏幕分辨率导致整个任务栏消失的问题 #1957

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joneeky
Copy link

@joneeky joneeky commented Feb 5, 2025

I have only ran it on win11.
I use a 4K monitor. This problem is likely to occur when I adjust the resolution to 2K or 1K.
Especially when playing full-screen games. If the resolution of your game settings is inconsistent with the actual resolution of the screen. At this time, you return to the desktop from the game screen. The problem is likely to recur.
My initial guess is that the taskbar will be temporarily invalid when adjusting the screen resolution. This may cause this problem to occur.

My solution is to recreate the taskbar window when receiving the WM_DISPLAYCHANGE message

@joneeky
Copy link
Author

joneeky commented Feb 5, 2025

It‘s gone
bc0917c171cbd6a592f45bdd66232ef

@zhongyang219
Copy link
Owner

任务栏窗口消失的问题还是要找到原因,不能简单粗暴地关闭再打开任务栏窗口,但是我这边无法复现你说的这个问题。任务栏窗口显示不出来无非就两个原因,一个是显示到屏幕外面去了,一个是渲染问题(例如之前有人反馈开启HDR之后任务栏不显示)。你这里遇到的问题猜测应该属于前者,就是显示到屏幕外面去了。你先看看现在的最新版本还有没有这个问题。

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

Successfully merging this pull request may close these issues.

2 participants