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

add workaround to avoid emoji picker to take the full screen height #1942

Merged
merged 2 commits into from
Apr 23, 2022

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Apr 22, 2022

first try to fix #1914


The toggleEmojiPopup method is a hacky workaround to avoid bug #1914
As the bug happens only for the very first time when the popup is opened,
it is closed after some milliseconds and opened again.

200 milliseconds seems to be a good value to initialize the popup correctly with the desired size

downside: there is even some flickering when opening the "more emojis" window

Signed-off-by: Marcel Hibbe [email protected]

The toggleEmojiPopup method is a hacky workaround to avoid bug #1914
As the bug happens only for the very first time when the popup is opened,
it is closed after some milliseconds and opened again.

200 milliseconds seems to be a good value to initialize the popup correctly with the desired size

downside: there is even some flickering when opening the "more emojis" window

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi added this to the 14.0.0 milestone Apr 22, 2022
@mahibi mahibi added the 3. to review Waiting for reviews label Apr 22, 2022
@mahibi mahibi self-assigned this Apr 22, 2022
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine with me as a workaround, and yeah, some flickering but still better than the full-screen original state

Signed-off-by: Andy Scherzinger <[email protected]>
@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/1942-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

@nextcloud-android-bot
Copy link
Collaborator

Lint

TypemasterPR
Warnings156156
Errors11

SpotBugs (new)

Warning Type Number
Bad practice Warnings 9
Correctness Warnings 91
Experimental Warnings 2
Internationalization Warnings 9
Malicious code vulnerability Warnings 115
Performance Warnings 27
Security Warnings 2
Dodgy code Warnings 158
Total 413

SpotBugs (master)

Warning Type Number
Bad practice Warnings 9
Correctness Warnings 91
Experimental Warnings 2
Internationalization Warnings 9
Malicious code vulnerability Warnings 115
Performance Warnings 27
Security Warnings 2
Dodgy code Warnings 158
Total 413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

emoji picker sometimes opens in full screen height
3 participants