You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Added lastOsdType tracking in OsdPanel to store previous OSD type
2. Modified displaymode, kblayout, and windoweffect OSD handlers to only
trigger actions when current type matches last type
3. This prevents duplicate actions when receiving multiple OSD
notifications of same type in quick succession
4. Added Q_PROPERTY for lastOsdType to make it accessible from QML
5. Updated hideOsd and showOsd methods to properly manage lastOsdType
state
fix: 防止相同类型OSD的重复操作
1. 在OsdPanel中添加lastOsdType跟踪以存储先前的OSD类型
2. 修改了displaymode、kblayout和windoweffect的OSD处理程序,仅在当前类型
与上次类型匹配时才触发操作
3. 防止在快速连续收到相同类型的多个OSD通知时出现重复操作
4. 添加了lastOsdType的Q_PROPERTY使其可从QML访问
5. 更新了hideOsd和showOsd方法以正确管理lastOsdType状态
pms: BUG-304139
0 commit comments