Repository navigation
fix: 修复 Windows 11 小任务栏下歌词显示不全 - #428
Merged
imsyy merged 1 commit intoOct 30, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
改动类型
是否包含破坏性变更
改动说明
修复 Windows 11 26H2 任务栏处于小模式时,双行歌词和悬停歌曲信息显示不全的问题。
排查时发现,原生模块获取的任务栏高度为 32px,但 Electron 在设置窗口高度后,实际窗口和渲染视口仍为 39px。原先按
100vh布局,内容会超出任务栏可见范围;固定的上下留白也进一步压缩了双行文字的可用空间。本次修改:
关联 Issue
暂无
测试情况
验证平台:Windows 11 26H2,Windows x64
pnpm typecheck通过pnpm lint通过pnpm build:win通过,已生成安装版和便携版,构建过程包含原生模块编译未验证 macOS / Linux,本次未修改原生模块源码
截图 / 录屏
修复前
修复后
自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.tsdev分支提交