Skip to content

鸿蒙 4.2 部分手机端编辑工具栏不显示 #14512

Open
@EarthJason

Description

@EarthJason

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

https://ld246.com/article/1743212144575

复现工具栏不显示的情况:
手机打开思源app,编辑文档弹出输入法;
息屏后重新亮屏,点编辑文档,弹出的输入法已经丢失了工具栏。

需要再次重启应用,点编辑文档才能出现编辑工具栏。
非常影响使用体验。

Expected result

每次弹出输入法,编辑工具栏都应该出现

Screenshot or screen recording presentation

No response

Version environment

- Version: 
- Operating System: 
- Browser (if used):

Log file

More information

No response

Activity

TCOTC

TCOTC commented on Apr 5, 2025

@TCOTC
Contributor
  1. 思源更新到 3.1.26
  2. 手机型号、系统和版本
  3. 录屏演示一下
EarthJason

EarthJason commented on Apr 5, 2025

@EarthJason
Author

手机型号:mate60pro
系统:HarmonOS 版本 4.2.0

petal_20250405_212004.mp4
88250

88250 commented on Apr 6, 2025

@88250
Member

和息屏时间长短有关联吗?

EarthJason

EarthJason commented on Apr 6, 2025

@EarthJason
Author

和息屏时间长短有关联吗?

测试了下息屏时间长短也会复现这个工具栏丢失情况。
而且发现有时候即使弹出来了工具栏,也要等大概2秒加载出来。

想到的方案:把工具栏固定在底部,因为手机本身是长方形,一些便签软件也是直接固定工具栏在底部。提高速度,这样是不是兼容性就上来了。也可以加个开关,给用户选择是否固定在底部,还是跟随输入法一起弹出。

88250

88250 commented on Apr 6, 2025

@88250
Member

请导出系统日志上传一下。

固定不了的,输入法弹出后 WebView 高度会变小,无法固定在底部的。

88250

88250 commented on Apr 6, 2025

@88250
Member

另外,在工具栏未出现的情况下,请试下手动收起输入法后再次点击编辑器弹起输入法,看看这个时候工具栏是否会出现。

EarthJason

EarthJason commented on Apr 6, 2025

@EarthJason
Author

另外,在工具栏未出现的情况下,请试下手动收起输入法后再次点击编辑器弹起输入法,看看这个时候工具栏是否会出现。
试过了如果工具栏不出现,手动收起输入法后再次点击编辑器弹起输入法也不会出现工具栏。
只能关闭应用,重启应用才会出现工具栏。

siyuan(1).log

added a commit that references this issue on Apr 6, 2025
88250

88250 commented on Apr 6, 2025

@88250
Member

我这里目前还是重现不了问题(小米手机)。

刚刚增加了一些日志以便诊断问题,如果方便的话请发送邮件到 845765@qq.com 我会将新打好的包发你测试,谢谢。(导出日志请使用 右侧栏面板 - 关于 - 系统日志 - 导出)。

EarthJason

EarthJason commented on Apr 6, 2025

@EarthJason
Author

日志已经重新导出发送过去邮箱了

88250

88250 commented on Apr 6, 2025

@88250
Member

我们邮件联系,谢谢。

EarthJason

EarthJason commented on Apr 6, 2025

@EarthJason
Author
EarthJason

EarthJason commented on Apr 6, 2025

@EarthJason
Author
changed the title [-]手机端编辑工具栏不显示[/-] [+]鸿蒙 4.2 部分手机端编辑工具栏不显示[/+] on Apr 7, 2025
88250

88250 commented on Apr 7, 2025

@88250
Member

目前无法定位到问题,可能是鸿蒙 4.2 部分手机 WebVew 或者某个组件适配的问题,暂时保持打开一段时间看看是否有更多类似问题,谢谢。

added a commit that references this issue on Apr 7, 2025
EarthJason

EarthJason commented on Apr 15, 2025

@EarthJason
Author

使用小米11pro手机,也会概率性出现工具栏不显示的问题。息屏后,工具栏概率性不显示,只有重启应用。
操作系统:MIUI14 V14.0
看来是这个工具栏模块的问题,不同手机也能复现
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @88250@EarthJason@TCOTC

        Issue actions

          鸿蒙 4.2 部分手机端编辑工具栏不显示 · Issue #14512 · siyuan-note/siyuan