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

Emoji disappears when zooming in too much #205

Closed
mzorz opened this issue Nov 22, 2019 · 1 comment
Closed

Emoji disappears when zooming in too much #205

mzorz opened this issue Nov 22, 2019 · 1 comment
Assignees
Labels
[Type] UI Bug The app works, user can complete their task, but the UX is not as we designed it to be.

Comments

@mzorz
Copy link
Contributor

mzorz commented Nov 22, 2019

Testing against PR #204, interaction can be seen on the video

https://cloudup.com/cdzajd8Lxpd

When emoji disappears, this can be seen in the logcat:

2019-11-22 09:11:14.763 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 359, 338
2019-11-22 09:11:14.779 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 360, 339
2019-11-22 09:11:14.763 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 359, 338
2019-11-22 09:11:14.779 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 360, 339
2019-11-22 09:11:14.780 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 360, 339
2019-11-22 09:11:14.795 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 362, 341
2019-11-22 09:11:14.796 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 362, 341
2019-11-22 09:11:14.811 9332-9378/com.automattic.portkey E/OpenGLRenderer: Font size too large to fit in cache. width, height = 364, 343

Same issue as described in #76, but this time the textInputTv.setLayerType(View.LAYER_TYPE_SOFTWARE, null) is set as per #84 so, opening a new issue here.

@mzorz
Copy link
Contributor Author

mzorz commented Nov 29, 2019

This issue is quite persistent as per what I could observe in several devices. Essentially this is a problem with how certain fonts are rendered and the capability each device has with their GPU to render 2D views. Essentially, this can be avoided by disabling HW acceleration using LAYER_TYPE_SOFTWARE, at the expense of performance / quality, albeit that might be the only option we're left with.

This problem is:

Because of these reasons, closing this issue for now (leaving the primary issue #207 open before we make a decision on that approach)

@mzorz mzorz closed this as completed Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] UI Bug The app works, user can complete their task, but the UX is not as we designed it to be.
Projects
None yet
Development

No branches or pull requests

1 participant