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 library changes by rotating screen #936

Closed
115ek opened this issue Jan 23, 2017 · 4 comments
Closed

Emoji library changes by rotating screen #936

115ek opened this issue Jan 23, 2017 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@115ek
Copy link
Contributor

115ek commented Jan 23, 2017

Expected behaviour

all emojis should be displayed in the same way (either iOS, or android or custom...) in portrait and landscape mode (when typed in editTextBox and not sent yet)

Actual behaviour

-in portrait mode the emojis are shown in iOS style
-in landscape mode they are shown in default android style
(typed in editTextBox, not sent)

Steps to reproduce

1.portrait mode: insert emoji, don't send
2.change screen rotation to landscape
3.open keyboard

Environment

Kontalk version: build from scratch, basic flavor @ 653f261

Android version: CyanogenMod 14.1

Device model: iyokan / Sony Ericsson Xperia Pro

localization: german
portrait
landscape

@TheLastProject
Copy link
Contributor

I cannot reproduce this on 4.0.0-beta5 on CyanogenMod 14.1 on my Motorola Moto E 2015 LTE (surnia). Are you sure that in the second screenshot you're not using the keyboard's emoji button instead of Kontalk's emoji button?

@115ek
Copy link
Contributor Author

115ek commented Jan 23, 2017

I used the Kontalk emoji button (emojicon library) to insert the smiley once, then rotated the device and opened the keyboard in landscape mode. I have also tested with an Android 4.1.1 device and official Kontalk 4.0.0 beta 6 basic release.

landscape_4 1 1

@daniele-athome
Copy link
Member

Despite having disabled the system behaviour leading to that input mode, some input methods (read: AOSP keyboard) insist in making the input window their own way and I'm not sure I can control it from the application. I'll investigate.

@daniele-athome daniele-athome added the pending Issue is pending further analysis label Jan 23, 2017
@daniele-athome daniele-athome added this to the 4.0.0 milestone Jan 23, 2017
@daniele-athome daniele-athome added bug Something isn't working and removed pending Issue is pending further analysis labels Jan 25, 2017
@daniele-athome daniele-athome self-assigned this Jan 25, 2017
@daniele-athome
Copy link
Member

Found it. However this will disable the fullscreen landscape view it may affect smaller screens.

https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_EXTRACT_UI

However, most IM apps seem to be doing the same, so...

115ek added a commit to 115ek/androidclient that referenced this issue Oct 8, 2017
problems were fixed here: kontalk#936
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants