Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Preliminary Verification
- I have searched existing open and closed issues and discussions to verify this bug is not already reported.
- I have tested or verified this behavior on the latest release or beta version.
- I have tried clearing app cache or testing with default settings.
Description of the Bug
So i was trying to modify the hexagonal layout (because i want to create dvorak varient) and that's when i discovered that even slightly modifying breaks it.
Heck even copying the honeycomb json code that already leantype uses and pasting it in different layout breaks it.
Steps to Reproduce
Go to settings
Language and layouts
Active keyboards english
Under config layouts
Press edit paste the hexagon json code
You can also select TypeWise honeycomb layout
Change say a single letter to another letter and it breaks
[
[
{ "label": "w", "width": 0.142857 },
{ "label": "e", "width": 0.142857, "popup": { "main": { "label": "1" } } },
{ "label": "t", "width": 0.142857, "popup": { "main": { "label": "2" } } },
{ "label": "z", "width": 0.142857, "popup": { "main": { "label": "3" } } },
{ "label": "i", "width": 0.142857, "popup": { "main": { "label": "4" } } },
{ "label": "o", "width": 0.142857 }
],
[
{ "label": "q", "width": 0.142857 },
{ "label": "a", "width": 0.142857 },
{ "label": "r", "width": 0.142857, "popup": { "main": { "label": "5" } } },
{ "label": "g", "width": 0.142857, "popup": { "main": { "label": "6" } } },
{ "label": "u", "width": 0.142857, "popup": { "main": { "label": "7" } } },
{ "label": "l", "width": 0.142857 },
{ "label": "p", "width": 0.142857 }
],
[
{ "label": "shift", "width": 0.071429, "hexVariant": 1 },
{ "label": ",", "width": 0.142857, "popup": { "main": { "label": "'" }, "relevant": [{ "label": "-" }] } },
{ "code": 32, "label": " ", "width": 0.142857 },
{ "label": "f", "width": 0.142857, "popup": { "main": { "label": "8" } } },
{ "label": "h", "width": 0.142857, "popup": { "main": { "label": "9" } } },
{ "code": 32, "label": " ", "width": 0.142857 },
{ "label": ".", "width": 0.142857, "popup": { "main": { "label": "!" }, "relevant": [{ "label": "?" }] } },
{ "label": "delete", "width": 0.071429, "hexVariant": 2 }
],
[
{ "label": "y", "width": 0.142857 },
{ "label": "s", "width": 0.142857 },
{ "label": "d", "width": 0.142857 },
{ "label": "n", "width": 0.142857, "popup": { "main": { "label": "0" } } },
{ "label": "m", "width": 0.142857 },
{ "label": "j", "width": 0.142857 },
{ "label": "k", "width": 0.142857 }
],
[
{ "label": "x", "width": 0.142857 },
{ "label": "c", "width": 0.142857 },
{ "label": "v", "width": 0.142857 },
{ "label": "b", "width": 0.142857 },
{ "label": "symbol_alpha", "width": 0.142857 },
{ "label": "action", "width": 0.142857 }
]
]
Expected Behavior
It should maintain the honeycomb layout
Logs / Crash Report
No response
Build Flavor
Standard (with local AI, voice, and OCR support)
App Version
V4.3.2
Device & Android Version
Tried it in other devices its not android or device specific issue
Target App (if applicable)
No response
Screenshots or Screen Recordings
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
[-][Bug]: Hexagonal layout[/-][+][Bug]: modifying Hexagonal layout breaks it[/+]rkdikshan-commits commentedon Nov 13, 2026
For help I asked claude and looks like it has a simple fix
The Problem
Right now, copying the default Typewise Honeycomb JSON from LeanType’s settings and pasting it directly into a Custom Layout slot breaks the keyboard. Because the hexagonal renderer and axial hit-tester only trigger for hardcoded built-in IDs (
hex_typewise/hex_qwerty), custom layouts get routed through the standard rectangular grid parser—which breaks on the0.857-width outer rows (6 × 0.142857) andhexVarianthalf-keys.Simple Fixes (Pick Any One)
Auto-detect via
hexVariant(Zero schema or UI changes):LeanType’s existing honeycomb JSON already uses
"hexVariant": 1(shift) and"hexVariant": 2(delete) on Row 3. In the custom layout loader, checking whether any key defineshexVariant(e.g.,rows.flatten().any { it.hexVariant != null }) is enough to route the layout to the hexagonal renderer instead of the rectangular one. Existing honeycomb JSONs will work out of the box when copied and modified.Add a "Hexagonal Grid" toggle (or
hex_name prefix):If explicit selection is preferred over auto-detection, add a simple Grid Shape: Rectangular / Honeycomb switch in the Custom Layout editor—or trigger the hex engine whenever a custom layout name starts with
hex_(e.g.,hex_dvorak).rkdikshan-commits commentedon Nov 13, 2026
Easiest way to reproduce this bug is just change the name of working honeycomb layout.
LeanBitLab commentedon Nov 14, 2026
there will be an beta release in 30 minutes if it didnt fixed it ill reopen the issue
LeanBitLab commentedon Nov 14, 2026
https://github.com/LeanBitLab/LeanType/releases#release-beta-433-1