This repository was archived by the owner on Mar 23, 2026. It is now read-only.
fix: 优化全屏和最大化检测逻辑#482
Merged
Merged
Conversation
#### 全字排除
- Program Manager
- Desktop
- 空标题
- 重构 check_fullscreen() check_windows_maximize() 函数 - 引用 psutil 库获取进程信息 - 排除系统进程和系统窗口的隐式全屏 - 优化匹配逻辑 - 修复部分系统桌面环境下的误判(win11_23h2)全屏
Member
Author
|
openai是我大跌,fix:#218 |
Member
Author
xuanxuan1231
approved these changes
Mar 1, 2025
Contributor
|
请更改冲突。 |
Member
Author
done |
pizeroLOL
pushed a commit
to pizeroLOL/Class-Widgets
that referenced
this pull request
Aug 10, 2025
## 优化 - 添加 `get_process_name` 使用 `psutil` 获取进程信息 - 新增过滤进程:`explorer.exe`(无标题栏/Program Manager,桌面底状态), `shellexperiencehost`, `searchui` - 普通窗口:覆盖屏幕边界,窗口面积>=95%屏幕时返回全屏 ## 重构 - 修复 Win11_23H2 误判问题 - 检查句柄有效性 - 增加`psutil` ==> `requirements.txt` ~~由我给openai打工()~~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


优化
get_process_name使用psutil获取进程信息explorer.exe(无标题栏/Program Manager,桌面底状态),shellexperiencehost,searchui重构
psutil==>requirements.txt由我给openai打工()