Commit c5982f0
fix: restore right-click context menu in windowed launcher's frequently used view
The TapHandler addition in 957e8a7 caused MouseArea to participate in the
pointer event delivery system, which bypassed the acceptedButtons filter and
allowed right-click events to be consumed by onClicked, triggering app launch
instead of the context menu.
fix: 修复弹窗启动器"常用应用"区域右键菜单失效的问题
957e8a7 提交中新增的 TapHandler 导致 MouseArea 参与指针事件分发系统,
绕过了 acceptedButtons 过滤,右键事件被 onClicked 消费,触发启动应用
而非弹出右键菜单。
PMS: BUG-3608551 parent 44b8409 commit c5982f0
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | | - | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | | - | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
| |||
0 commit comments