Status Update
Comments
js...@gmail.com <js...@gmail.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.
vi...@google.com <vi...@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.
tn...@google.com <tn...@google.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.
js...@gmail.com <js...@gmail.com> #5
Take note that, Same problem occurs regardless on whether you are using androidx.appcompat.widget.AppCompatEditText or android.widget.EditText
js...@gmail.com <js...@gmail.com> #6
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
tn...@google.com <tn...@google.com> #7
This is expected behavior. Until the different font is entered the system is not aware of the Japanese text line height. Therefore when the user starts to enter Japanese text, the expected line height changes.
If you want to keep the line height the same (which might introduce overlapping glyph in different lines) please set fallbackLineSpacing to false.
https://developer.android.com/reference/android/widget/TextView.html#attr_android:fallbackLineSpacing
If you want to keep the line height the same (which might introduce overlapping glyph in different lines) please set fallbackLineSpacing to false.
ce...@gmail.com <ce...@gmail.com> #9
> If you can still reproduce this after 3.6.0-rc02 let me know.
Still happening for me on AS 3.6.2. It happens when trying to ignore a third-party library lint rule, and for some reason, lint doesn't like that.
Still happening for me on AS 3.6.2. It happens when trying to ignore a third-party library lint rule, and for some reason, lint doesn't like that.
Description
Here's an example:
```
16:10:19 > Task :repository:mergeInternalDebugUnitTestResources
16:10:19
16:10:19 FAILURE: Build failed with an exception.
16:10:19
16:10:19 * What went wrong:
16:10:19 Execution failed for task ':app:lintInternalDebug'.
16:10:19 > Lint found errors in the project; aborting build.
16:10:19
16:10:19 Fix the issues identified by lint, or add the following to your build script to proceed with errors:
16:10:19 ...
16:10:19 android {
16:10:19 lintOptions {
16:10:19 abortOnError false
16:10:19 }
16:10:19 }
16:10:19 ...
16:10:19
16:10:19 Errors found:
16:10:19
16:10:19 /Volumes/Code/Jenkins/workspace/Faithlife-Android/app: Error: Unknown issue id "BinaryOperationInTimber", found in /Volumes/Code/Jenkins/workspace/Faithlife-Android/app/lint.xml [LintError]
```
Our lint configuration related to that rule since we adopted the library (about two years ago). Initially, I thought it might be related to Gradle because of
The difficult part of the problem is that it seems to show up on different machines randomly. Between the two full-time android developers on our team and our build server, we've each seen the problem crop up at different times.
The only thing that seems to squelch the issue is reverting AGP to 3.5.2 (without any other changes!). As far as we can tell, this addresses the issue on every machine we use.
I'm unsure if this interaction is specific to Timber, lint, or some weird interaction of the two. But issues like these are pretty obvious deterrents from making good use of static analysis (our team has even written custom rules!). We can't really work around weird problems like this since the problem seems to exist outside of any changes we've made.
I haven't made a sample reproduction of the problem because, as I've said previously, the problem itself is relatively indeterminate.