Commit ee5bd70
committed
fix: disable menu scroll indicator in application tray plugin
1. Removed scroll indicator functionality in QMenu submenus to prevent
display issues
2. Added private Qt headers to access QMenuPrivate and disable scrolling
3. Adjusted window positioning logic for popup sub-windows
Log: Disabled menu scroll indicator in application tray to fix display
issues
Influence:
1. Test application tray menu display without scroll indicators
2. Verify sub-menu opening behavior and positioning
3. Test popup window positioning for wayland integration
4. Verify menu size and layout correctness
5. Test on different screen resolutions and scaling factors
fix: 禁止托盘菜单滚动指示器功能
1. 移除 QMenu 子菜单的滚动指示器功能,解决显示问题
2. 添加 Qt 私有头文件以访问 QMenuPrivate 并禁用滚动
3. 调整弹出子窗口的定位逻辑
Log: 禁用托盘菜单滚动指示器以修复显示问题
Influence:
1. 测试托盘菜单显示,确认无滚动指示器
2. 验证子菜单打开行为和定位
3. 测试 wayland 集成下的弹出窗口定位
4. 验证菜单尺寸和布局正确性
5. 在不同屏幕分辨率和缩放比例下测试
PMS: BUG-3332431 parent bdcbe70 commit ee5bd70
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
0 commit comments