Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

=> 提 Issues 前阅读须知 <= (功能讨论前往隔壁 Discussions) #51

Open
YummyLau opened this issue Jun 28, 2020 · 2 comments
Labels
Issue须知 提 Issue 前阅读规范

Comments

@YummyLau
Copy link
Collaborator

YummyLau commented Jun 28, 2020

针对 API 的使用疑惑统一使用以下模版:

  • 场景: 比如 “在直播间使用评论功能”,必要时可提供贴图等
  • 问题: 比如 “如何使用xxxx/ 为什么xxxx / 等等”,必要时可提供代码等
  • 期望: 比如 “希望能够能后像抖音一样的场景”,必要时可提供贴图等

针对 Bug 的反馈:

  • Androidx版本:是/否
  • PanelSwitchHelper版本:v1.3.2
  • 手机型号: 小米5x
  • 手机系统版本: Android 5.0
  • 问题描述:比如 “在xxx场景下输入法无法顶起底部布局”,必要时可提供代码,贴图等。
  • Log提供:过滤 PanelSwitchLayout,提供异常场景下的 log 信息

由于机型反馈的问题很多都是机型兼容/开发者API使用不当导致的,定位问题比较难。
希望反馈者能针对上述要求提供对应信息,否则很难帮助您定位到具体问题,望理解。

update 2022/01/19 :
大家的问题反馈多数是文字表达,框架接入业务之后出现的缺陷希望能够附带缺陷场景视频及业务实现逻辑,以方便协助定位问题。

@YummyLau YummyLau added the help wanted Extra attention is needed label Jun 28, 2020
@YummyLau YummyLau pinned this issue Jun 28, 2020
@YummyLau YummyLau added Issue须知 提 Issue 前阅读规范 and removed help wanted Extra attention is needed labels Jul 6, 2020
@YummyLau
Copy link
Collaborator Author

YummyLau commented Nov 9, 2020

提供的 log 至少包含

2020-11-09 15:18:53.712 27328-27328/com.example.demo D/LogTracker: PanelSwitchLayout(194659349)#onLayout => 界面每一次 layout 的信息回调 
    layoutInfo                                         = onLayout(changed : false , l : 0  , t : 0 , r : 1440 , b : 2873) ===================&&&&================= 
    currentPanelState                                  = 收起所有输入源 
    isPad                                              = false 
    isFullScreen                                       = false 
    isPortrait                                         = true 
    isNavigationShown                                  = true 
    screenH (static,include SystemUI)                  = 3040 
    screenH (static,exclude SystemUI)                  = 2874 
    screenH (dynamic,exclude SystemUI)                 = 2873 
    localLocation[y]                                   = 114 
    toolbarH                                           = 0 
    StatusBarH                                         = 114 
    NavigationBarH                                     = 53 
    layout Location                                    = (0,114) 
    paddingTop                                         = 0 
    keyboardH                                          = 1285 
    ContentContainerTop                                = 0 
    ContentContainerH                                  = 2873 
    PanelContainerTop                                  = 2873 
    PanelContainerH                                    = 1285 
    changeBounds                                       = true 
    reverseResetState                                  = true 
    contentContainer Layout                            = (0,0,1440,2873) 
    panelContainer Layout                              = (0,2873,1440,4158) 
2020-11-09 15:18:53.714 27328-27328/com.example.demo D/LogTracker: PanelSwitchLayout(194659349)#onGlobalLayout => 界面每一次变化的信息回调 
    windowSoftInputMode                                = 19 
    currentPanelSwitchLayoutVisible                    = true 
    screenHeight                                       = 3040 
    contentHeight                                      = 2873 
    isFullScreen                                       = false 
    isNavigationBarShown                               = true 
    deviceStatusBarH                                   = 114 
    deviceNavigationBarH                               = 53 
    systemInset                                        = left(114) top(0) right(0) bottom(53) 
    inset                                              = left(0) top(114) right(0) bottom(53) 
    currentSystemInfo                                  = statusBarH : 114, navigationBarH : 53 全面屏手势虚拟栏H : 0 
    currentSystemH                                     = 167 
    minLimitCloseKeyboardH                             = 53 
    minLimitOpenKeyboardH                              = 300 
    lastKeyboardH                                      = 0 
    currentKeyboardInfo                                = keyboardH : 0, realKeyboardH : 0, isShown : false 

@YummyLau YummyLau changed the title => 提 Issues 前阅读须知 <= => 提 Issues 前阅读须知 <= (功能讨论前往隔壁 Discussions) Dec 11, 2020
@chenciyaun
Copy link

当采用今日头条的兼容适配方案时,底部的虚拟返回键会挡住部分输入框的布局。原因是计算虚拟键的高度计算错误,建议采用系统的资源的API Resources.getSystem() 来获取虚拟返回键的高度,而不是当前的上下文。这个坑很浪费时间定位呀,恳请兼容一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue须知 提 Issue 前阅读规范
Projects
None yet
Development

No branches or pull requests

2 participants