Commit graph

2890 commits

Author SHA1 Message Date
Keyman Build Agent
a3d2e8a1a8 auto: increment beta version to 15.0.224 2022-03-27 14:44:10 -04:00
Marc Durdin
295f25144d
Merge pull request #6383 from keymanapp/fix/web/5929-ios-popup-positioning-and-style
fix(web): ios popup positioning and style
2022-03-28 04:46:00 +11:00
Keyman Build Agent
7b2cc72245 auto: increment beta version to 15.0.223 2022-03-25 14:02:20 -04:00
Marc Durdin
b3ddf633df fix(web): adjust calc for callout height 2022-03-25 09:10:29 +11:00
Keyman Build Agent
3aa0819c5b auto: increment beta version to 15.0.222 2022-03-24 14:02:12 -04:00
Marc Durdin
3858a4c9e5 fix(web): further iOS adjustments 2022-03-24 07:35:28 +11:00
Keyman Build Agent
12a7e13c5f auto: increment beta version to 15.0.221 2022-03-23 14:07:31 -04:00
Darcy Wong
19f1d4f5a7 chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/subkey-move 2022-03-23 13:05:25 +07:00
Marc Durdin
5c388d1d7e
Merge pull request #6366 from keymanapp/feat/web/6364-new-layer-old-layer-replaces-layerchanged
feat(web): `&newLayer` and `&oldLayer`
2022-03-23 16:53:34 +11:00
Marc Durdin
336ab51010
Merge pull request #6406 from keymanapp/fix/web/5942-touch-alias-element-position
fix(web): adjust touch alias element positioning
2022-03-23 11:27:35 +11:00
Marc Durdin
adf3fe28c9 fix(web): tweak iOS key preview and longpress dimensions
Adjusts the dimensions to use pixel boundaries to prevent antialiasing
for some of the key preview and longpress popups, and adjusts horizontal
positioning of key preview to center more precisely, for iOS.
2022-03-23 08:23:29 +11:00
Keyman Build Agent
c2462f7c4c auto: increment beta version to 15.0.220 2022-03-22 14:02:35 -04:00
Marc Durdin
409da3ecae
Merge pull request #6407 from keymanapp/fix/ios/kill-background-wait-font-timer
fix(ios): remove busy 100ms waitForFonts timer on iOS
2022-03-22 19:11:01 +11:00
Marc Durdin
558a742a45 fix(web): adjust callout height 2022-03-22 10:02:36 +11:00
Marc Durdin
6b1ae79c11 fix(ios): remove busy 100ms waitForFonts timer on iOS
Observed while debugging another issue on iOS. The
VisualKeyboard.waitForFonts function sets up a busy timer to wait for
font loading. This functionality is not even needed on the iOS app,
because it's really only used for the touch alias elements.

However, it was being called, potentially multiple times, leading to the
timer never being removed. On Android, the timer was correctly removed.

This aligns the iOS code path with the Android code path.
2022-03-22 09:21:17 +11:00
Marc Durdin
88ffb8bbd2 fix(web): adjust touch alias element positioning
Fixes #5942.

The touch alias element position was not consistent across all browsers,
leading to misalignment in some situations. Identified missing CSS to
make the positioning consistent, as far as I can tell, which led to the
additional benefit of reducing the per-browser special cases.
2022-03-22 08:38:12 +11:00
Keyman Build Agent
b3c8372cb9 auto: increment beta version to 15.0.219 2022-03-21 14:01:46 -04:00
Keyman Build Agent
f13c07acbf auto: increment beta version to 15.0.218 2022-03-19 14:02:39 -04:00
Marc Durdin
767d278f87
Merge pull request #6357 from keymanapp/fix/web/bounding-rect-offset
fix(web): bounding rect offset was incorrect
2022-03-19 13:13:19 +11:00
Keyman Build Agent
5d6bc10de9 auto: increment beta version to 15.0.217 2022-03-18 14:02:34 -04:00
Keyman Build Agent
cdc94f73b2 auto: increment beta version to 15.0.216 2022-03-17 14:03:41 -04:00
Marc Durdin
d63bd4edde chore(web): rebuild obolo_chwerty keyboard 2022-03-17 20:47:00 +11:00
Marc Durdin
e3537e7bb7 fix(web): crash on focus before init
Fixes the following crash noted when testing on keymanweb.com, focusing
during the load process on a slow network.

```
helpers.ts:111 Uncaught TypeError: Cannot read properties of null (reading 'vkbd')
    at g.pageFocusHandler (keymanweb.ts:125:44)
    at sentryWrapped (helpers.ts:87:17)
```
2022-03-17 15:50:52 +11:00
Darcy Wong
70ec9b7096 fix(web): Don't update base key if popups displayed 2022-03-17 10:58:48 +07:00
Marc Durdin
dde56e6b90 fix(web): adjust positioning for longpress popup
Adjusts positioning calculations for longpress popups and corresponding
styles to make it consistent across all platforms, particularly iOS.
2022-03-17 10:20:19 +11:00
Marc Durdin
86b4b82661 fix(web): key preview position was inconsistent on iOS
Adjusts calculations for key preview and ensures we use box-sizing:
content-box in all circumstances, to make it consistent across all
platforms.
2022-03-17 10:19:10 +11:00
Marc Durdin
24398b4461 fix(web): key square needed vertical align top
On Safari, some keys were vertically misaligned, due to different
default vertical-align.
2022-03-17 10:17:23 +11:00
Marc Durdin
a2aef99c3e fix(web): font size on key preview
Font size adjustment needed an override for the key preview to prevent
it using the base key font size as a starting point.
2022-03-17 10:15:40 +11:00
Keyman Build Agent
a595b63422 auto: increment beta version to 15.0.215 2022-03-16 14:30:41 -04:00
Marc Durdin
7a5d1b964f chore(web): Merge branch 'beta' into feat/web/6364-new-layer-old-layer-replaces-layerchanged 2022-03-17 04:55:25 +11:00
Marc Durdin
d3136b8860 fix(web): ios popup positioning and style
Fixes #5929.
Fixes #6381.

This fixes four separate issues with the longpress popups and key
previews:

1. The key preview was offset by a couple of pixels (unreported issue).
2. The background 'shim' did not cover the key caps, which caused them
   to look startlingly white when the rest of the background greyed
   down (#5929).
3. The popup menu was incorrectly wrapping to two rows due to sizing
   model mismatches (#6381).
4. The popup menu would be realigned incorrectly for the in-app
   keyboard, when moving it to keep it in the keyboard area (#5929).
2022-03-16 11:24:02 +11:00
Keyman Build Agent
ed5dd2f2bd auto: increment beta version to 15.0.214 2022-03-15 14:31:13 -04:00
Marc Durdin
1038379c41
Merge pull request #6351 from keymanapp/fix/web/caps-state-tracking-for-touch
fix(web): caps state tracking for touch
2022-03-15 10:04:45 +11:00
Marc Durdin
4b15c4988e
Merge pull request #6340 from keymanapp/fix/web/5964-subkey-position-on-scroll-non-zero
fix(web): subkey touch position after scroll
2022-03-15 10:02:07 +11:00
Marc Durdin
45c5f8a1ea chore(web): remove 0 from store defaults 2022-03-13 08:31:15 +11:00
Marc Durdin
b23df3fbc8 feat(web): &newLayer and &oldLayer
Fixes #6364.

Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364.
2022-03-13 08:29:15 +11:00
Keyman Build Agent
7fe1997754 auto: increment beta version to 15.0.213 2022-03-11 13:02:26 -05:00
Keyman Build Agent
a64ead9287 auto: increment beta version to 15.0.212 2022-03-10 13:49:17 -05:00
Marc Durdin
ada527bd80 fix(web): bounding rect offset was incorrect
When embedding the On Screen Keyboard into a page, the calculation for
the bounding rectangle only took into account the first offsetParent,
which meant it would get the offset incorrect when there were multiple
layers of offsetParents.

Once I changed to using getAbsoluteX / getAbsoluteY, this also corrects
for scroll with window.pageOffsetY, so we can eliminate that special
case for fixed positioning.

This was observable in the Web Developer test window, where interaction
with the bottom row of the keyboard in touch mode was not working
correctly, in 15.0.210-beta.
2022-03-11 04:34:36 +11:00
Marc Durdin
455ce98dcc
Merge pull request #6353 from keymanapp/chore/common/cleanup-sh-color-globals
chore(common): cleanup sh global color variables
2022-03-10 19:39:28 +11:00
Marc Durdin
e1e82aacce fix(web): add test keyboards 2022-03-10 13:33:21 +11:00
Marc Durdin
f355722191 fix(web): back out caps lock and refix
The Caps Lock change I made in the previous commit broke
desktop Caps Lock handling. The fix was a little more
convoluted. Turns out that _UpdateVKShift is also pretty
crufty. I simplified it, removing dead code.
2022-03-10 13:31:06 +11:00
Keyman Build Agent
64abc2914b auto: increment beta version to 15.0.211 2022-03-09 19:26:21 -05:00
Marc Durdin
6e1e7e8e7e chore: additional scripts 2022-03-10 10:26:15 +11:00
Marc Durdin
9f153ecc17 chore(common): cleanup sh global color variables
Some of the global color variables in shellHelperFunctions.sh were a
little dangerously named. This cleans that up and removes a couple of
redundant functions from other locations.

mac/bashHelperFunctions.sh should be removed and replaced with
references to shellHelperFunctions.sh -- but I wanted to leave that for
a separate branch.
2022-03-10 10:12:09 +11:00
Keyman Build Agent
6852aaadb4 auto: increment beta version to 15.0.210 2022-03-08 16:43:31 -05:00
Marc Durdin
272c1f0d1c fix(web): subkey touch position after scroll
Fixes #5964.

It seems that the test for subkey position was incorrect when the
document had been scrolled. Removing the test for `fixed` positioning
resolves the issue.
2022-03-08 17:27:16 +11:00
Marc Durdin
f633174f9f fix(web): stop masking error
We are seeing this error thrown in some logs but it masks the underlying error.
2022-03-04 11:44:54 +11:00
Keyman Build Agent
db0753fa26 auto: increment beta version to 15.0.207 2022-03-02 01:45:00 -05:00
Marc Durdin
aeeffc3568
Merge pull request #6310 from keymanapp/fix/web/6072-stop-css-repeated-injection
fix(web): stop repeated CSS injection ✂
2022-03-02 12:50:16 +11:00