Status Update
Comments
jv...@google.com <jv...@google.com>
vi...@google.com <vi...@google.com> #2
Take note that, https://play.google.com/store/apps/details?id=com.google.android.keep&hl=en (Google Keep), which android:targetSdkVersion 28 inherits same problem. If you create a new note, and type using non English, you will observe the line after input being pushed down.
an...@google.com <an...@google.com> #3
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Please provide sample project or apk to reproduce the issue.
Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Expected output
What is the expected output?
Current output
What is the current output?
Note: We could notice the issue in Google keep application as provided in comment #2 .
The line spacing differs in English, Japanese and Chinese languages.
Please don't mind the words typed in Japanese and Chinese as they are randomly typed and also we don't know reading / writing Japanese and Chinese.
Please provide sample project or apk to reproduce the issue.
Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Expected output
What is the expected output?
Current output
What is the current output?
Note: We could notice the issue in Google keep application as provided in
The line spacing differs in English, Japanese and Chinese languages.
Please don't mind the words typed in Japanese and Chinese as they are randomly typed and also we don't know reading / writing Japanese and Chinese.
kv...@gmail.com <kv...@gmail.com> #4
I included the complete source code to reproduce the problem.
https://github.com/yccheok/bug-131284662
Folder API28 - Demonstrate the line spacing bug occurs in API 28
Folder API27 - Demonstrate the line spacing bug doesn't occur in API 27
Please kindly look at README.md for the outcome.
Please kindly let me know, if you need additional information.
Thank you.
Folder API28 - Demonstrate the line spacing bug occurs in API 28
Folder API27 - Demonstrate the line spacing bug doesn't occur in API 27
Please kindly look at README.md for the outcome.
Please kindly let me know, if you need additional information.
Thank you.
vi...@google.com <vi...@google.com>
kv...@gmail.com <kv...@gmail.com> #5
Take note that, Same problem occurs regardless on whether you are using androidx.appcompat.widget.AppCompatEditText or android.widget.EditText
Description
AI-193.5233.102.40.6137316, JRE 13.0.1+9x64 Gentoo, OS Linux(amd64) v5.4.13-gentoo, screens 3840x2160, 3840x2160
AS: 4.0 Canary 9; Kotlin plugin: 1.3.61; Android Gradle Plugin: 4.0.0-alpha09; Gradle: 6.1; NDK: from local.properties: 21.0.6113669, latest from SDK: 21.0.6113669; LLDB: LLDB 3.1 (revision: 3.1.4508709); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: 3.16.2
File: com.android.tools.idea.run.deployment.DeviceAndSnapshotComboBoxAction.java
Function: createCustomComponent
Code:
Group horizontalGroup = layout.createSequentialGroup()
.addComponent(button, 0, JBUI.scale(GroupLayout.DEFAULT_SIZE), JBUI.scale(Short.MAX_VALUE))
.addGap(JBUI.scale(3));
DEFAULT_SIZE and MAX_VALUE should be not wrapped with JBUI.scale - it leads to plugin crash on hidpi (4k) screens.