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

Fix Chromebook text input focus issues #518

Merged

Conversation

merttumer
Copy link
Contributor

This fixes various of focus problems related to
writing. We have a hack for mobile devices for
hiding onscreen keyboard and to do that, we blur the
TextInput. But it is not relevant for Chromebooks despite
being a mobile app.

Also fixes calc text input problem, now theres no need to
double tap on a cell to write.

Change-Id: I674a3d553e130c34211c04ad0ebcb6401b462412
Signed-off-by: mert mert.tumer@collabora.com

  • Resolves: #
  • Target version: master

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

This fixes various of focus problems related to
writing. We have a hack for mobile devices for
hiding onscreen keyboard and to do that, we blur the
TextInput. But it is not relevant for Chromebooks despite
being a mobile app.

Also fixes calc text input problem, now theres no need to
double tap on a cell to write.

Change-Id: I674a3d553e130c34211c04ad0ebcb6401b462412
Signed-off-by: mert <mert.tumer@collabora.com>
@merttumer merttumer requested a review from kendy November 5, 2020 10:36
@mmeeks mmeeks requested a review from tml1024 November 5, 2020 11:46
@mmeeks
Copy link
Contributor

mmeeks commented Nov 5, 2020

I guess Tor is a good person to sync with here =)

@tml1024
Copy link
Contributor

tml1024 commented Nov 5, 2020

Well, I can only say that it if helps for the problem at hand, good. One point about the commit message, though: Is this about the Android app, running on a Chromebook? (No idea if that even is possible.) Or using Online in a web browser on a Chromebook? (If the latter, mentioning "mobile app" in the commit message is misleading.)

@merttumer
Copy link
Contributor Author

merttumer commented Nov 5, 2020

@tml1024
Yes it is our android App running on Chromebook. ChromeOS runs android apps with few tweaks. So in this case window.ThisIsAMobileApp is true for Chromebook devices which breaks the desktop experience.

@kendy kendy merged commit b5bd8e1 into distro/collabora/co-6-4 Nov 5, 2020
@kendy kendy deleted the private/mert/fix-chromebook-textinput-focus branch November 5, 2020 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants