Skip to content

fix(ios): restore keyboard scale map for iPad Air 2#14305

Merged
jahorton merged 1 commit intomasterfrom
fix/ios/ipad-air-2-scaling
Jul 9, 2025
Merged

fix(ios): restore keyboard scale map for iPad Air 2#14305
jahorton merged 1 commit intomasterfrom
fix/ios/ipad-air-2-scaling

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

@jahorton jahorton commented Jul 7, 2025

Fixes: KEYMAN-IOS-JC

@keymanapp-test-bot skip

@keymanapp-test-bot
Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S7 milestone Jul 7, 2025
jahorton added a commit that referenced this pull request Jul 7, 2025
Fixes: KEYMAN-IOS-JC
Cherry-pick-of: #14305
scalings[KeyboardScaleMap.hashKey(for: Device.iPad8)] = Scaling(portrait: KeyboardSize(w: 810, h: 265, b: 55), landscape: KeyboardSize(w: 1080, h: 353, b: 55))
scalings[KeyboardScaleMap.hashKey(for: Device.iPad9)] = Scaling(portrait: KeyboardSize(w: 810, h: 265, b: 55), landscape: KeyboardSize(w: 1080, h: 353, b: 55))
scalings[KeyboardScaleMap.hashKey(for: Device.iPad10)] = Scaling(portrait: KeyboardSize(w: 820, h: 262-5, b: 55), landscape: KeyboardSize(w: 1180, h: 347-5, b: 55)) // has negative 'system inset' (-5), which causes a mismatch in final height balanced by the subtraction
scalings[KeyboardScaleMap.hashKey(for: Device.iPadAir2)] = Scaling(portrait: KeyboardSize(w: 768, h: 258, b: 55), landscape: KeyboardSize(w: 1024, h: 343, b: 55)) // Banner always shows; merges copy ctrls with pred-banner.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Restored from stable-17.0 here:

scalings[KeyboardScaleMap.hashKey(for: Device.iPadAir2)] = Scaling(portrait: KeyboardSize(w: 768, h: 258, b: 55), landscape: KeyboardSize(w: 1024, h: 343, b: 55)) // Banner always shows; merges copy ctrls with pred-banner.

Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete left a comment

Choose a reason for hiding this comment

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

LGTM

@jahorton jahorton merged commit e366117 into master Jul 9, 2025
7 checks passed
@jahorton jahorton deleted the fix/ios/ipad-air-2-scaling branch July 9, 2025 13:02
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jul 9, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.81-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants