40 Star 70 Fork 766

OpenHarmony / window_window_manager

 / 详情

window.on('systemBarTintChange') 回调 data对象data.regionTint.type与文档不一致

已完成
缺陷
创建于  
2022-06-07 09:53

【模块名_概率】简要描述:
window.on('systemBarTintChange') 回调 data对象data.regionTint.type与文档不一致

【环境信息】:
RK开发版 20220606主干版本

【预置条件】:
NA

【测试步骤】:

      window.on('systemBarTintChange', (data) => {
        console.info('tianshi Succeeded in enabling the listener for systemBarTint changes. Data: ' + JSON.stringify(data));
        for (const regionData of data.regionTint) {
          console.info("tianshi" + regionData.type + ":" + regionData.region.height)
        }
        console.info("tianshi" + window.WindowType.TYPE_STATUS_BAR)
      });

【预期结果】:
regionData.type 值为TYPE_STATUS_BAR或TYPE_PANEL

【实际结果】:
tianshi Succeeded in enabling the listener for systemBarTint changes.
Data: {"displayId":0,"regionTint":[{"type":2116,"isEnable":true,"backgroundColor":"#66000000","contentColor":"#E5F
FFFFF","region":{"left":-1442937728,"top":127,"width":2927924824,"height":127}}]}
08-05 21:57:43.079 3156 3156 I 02200/JsApp: tianshi2116:127
08-05 21:57:43.079 3156 3156 I 02200/JsApp: tianshi3

"type":2116 与预期不符

【恢复手段】:
NA

【出现概率】:
必现

【定位信息】:

    1. Log、截图、多媒体文件等,所有和问题有关的信息:

评论 (0)

Tianshi Liu 创建了缺陷
Tianshi Liu 修改了描述
xuchangzhou 通过openharmony/applications_hap Pull Request !912任务状态待办的 修改为已完成
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
1
https://gitee.com/openharmony/window_window_manager.git
git@gitee.com:openharmony/window_window_manager.git
openharmony
window_window_manager
window_window_manager

搜索帮助

53164aa7 5694891 3bd8fe86 5694891