Commit graph

1548 commits

Author SHA1 Message Date
Helium314
0b9fb7334d reload the cursor position from text field when in doubt 2024-06-18 00:38:07 +02:00
Helium314
9efb22bd0c fix #881 and improve related tests 2024-06-17 16:05:22 +02:00
Helium314
4ab7e8b78e use fallback layout when custom layout file can't be opened 2024-06-17 15:12:05 +02:00
Helium314
3961060710 add logging that should help with #829 2024-06-15 22:28:18 +02:00
Helium314
0da6f6e4da Revert "adjust alphabet for AlphabetIndexer"
This reverts commit bc1e4d52a8.
see discussion in #803: the commit makes things worse
2024-06-15 22:06:12 +02:00
Helium314
c064ba199c move that special handling for emoji and language switch keys into layouts
for that, a new keyboard_state_selector is added
this allows modifying functional key layouts without having to manually adjust those keys
2024-06-15 21:54:47 +02:00
Helium314
17f30ad6d6 fix typo in split distace (6000 -> 600)
and increase max split distance for high dp devices
fixes #869
2024-06-14 22:01:15 +02:00
Helium314
f7b12757ed set correct icon when voice input key is on keyboard, but no voice input method is available 2024-06-14 18:59:37 +02:00
Helium314
5d0341195e fix newly added layout file not loaded 2024-06-14 18:26:42 +02:00
Helium314
753e5fa6a2 properly open json files
not sure why it works now, while it apparently did not before
2024-06-14 18:17:26 +02:00
Helium314
3eafce9265 update key labels
remove emoji label, not necessary any more as it's a toolbar key
access toolbar labels via enum map
allow CLIPBOARD_CUT key(code)
2024-06-14 17:44:32 +02:00
Helium314
61cff40d3c only use alt-code-while-typing when not clearly inside key
and add alt code to emoji and clipboard keys
fixes #630
2024-06-14 17:08:49 +02:00
Helium314
181ea3b586 disable shrinkResources because the build process seems to randomly ignore tools:keep 2024-06-14 16:32:50 +02:00
Helium314
d1c2ad0a39 fix system sometimes enabling wrong subtype 2024-06-13 20:36:04 +02:00
Helium314
237adc991b properly update toolbar prefs 2024-06-13 20:08:40 +02:00
Helium314
3add493888 version and translations 2024-06-13 00:21:41 +02:00
Helium314
5ccb79a078 disable preview popup for language switch and emoji keys 2024-06-12 23:59:33 +02:00
Helium314
6a34f2c832 improve emoji detection when deleting
still has issues with hand + skin tone emojis
2024-06-12 23:54:23 +02:00
Helium314
d91350524a move cursor in whole codepoints on space / delete swipe
and when space-swiping across emoji, send fake arrow keypress instead (discouraged, but avoids e.g. splitting pirate flag emoji and thus justified)
fixes #859
2024-06-12 22:46:42 +02:00
Helium314
5b1f40f0f6 do a sanity check when setting composing text on text fields that have suggestions disabled
fixes #225
could cause unnecessary text / suggestion reloads or performance regressions, though not found in testing
2024-06-12 20:24:16 +02:00
Timo
0e992dd8b9
fixed typos in layouts.md #870 (#871) 2024-06-11 22:13:44 +02:00
Helium314
b7fa85dcee fix broken tests 2024-06-11 22:12:31 +02:00
Helium314
843b8c44f7 replace old fix from 9713c4a25a with improved consistency check
and avoid somewhat unexpected crash
2024-06-11 22:02:32 +02:00
Helium314
ce30c3b294 fix issue with text being inserted when deleting quicky in joplin (and probably other apps) 2024-06-10 22:53:41 +02:00
Helium314
d596c028a1 more logging 2024-06-09 12:12:38 +02:00
Helium314
9c926911fc set preview popup icons as left drawable instead of bottom
fixes #811

remaining issue:
when pressing a key with icon and preview popup before a letter popup, preview and popup height is too low
but this should only trigger rarely, and is not worse than the fixed issue
2024-06-09 11:25:34 +02:00
Helium314
743874f74c remove icon name "undefined" and use null instead 2024-06-08 11:47:42 +02:00
Helium314
a297b6037c fix missing preview popups for keys with icon and negative code 2024-06-08 11:31:40 +02:00
codokie
d11237ba23
add emoji toolbar key (#845) 2024-06-07 08:21:13 +02:00
Helium314
a841777b92 improve currency popup handling 2024-06-06 22:18:53 +02:00
Helium314
bdc418cb70 improve popup key compatibility woith codes and labels 2024-06-06 21:53:23 +02:00
Helium314
4de8f770ef update description 2024-06-06 18:27:08 +02:00
Helium314
1ea8d936a4 upgrade dependencies 2024-06-03 19:07:39 +02:00
Helium314
c212d9e551 clarify that json layout contributions should only use key type and code if necessary 2024-06-02 17:55:28 +02:00
Helium314
1b5ed60017 add changelog and adjust version name 2024-06-02 15:30:57 +02:00
Helium314
da6d3d1f78 update translations 2024-06-02 15:07:05 +02:00
Helium314
7b7fcb18c4 disable auto-show/hide toolbar by default
to be consistent with previous behavior
2024-06-02 14:04:53 +02:00
Helium314
53c66b8b84 fix toolbar being visible when device is locked and auto-show toolbar is on 2024-06-02 14:03:09 +02:00
Helium314
bc1e4d52a8 adjust alphabet for AlphabetIndexer, might help with #803 2024-06-01 23:15:41 +02:00
Helium314
a1d32b84fd separate language switch key behavior from key enablement 2024-06-01 22:27:41 +02:00
Helium314
4dc0e98321 move new show/hide toolbar settings and do some cleanup 2024-06-01 22:18:19 +02:00
codokie
b9451e4f09
auto show / hide toolbar (#674)
Co-authored-by: codokie <@>
Co-authored-by: Helium314 <helium314@disroot.org>
Co-authored-by: Helium314 <helium314@mailbox.org>
2024-06-01 14:32:12 +02:00
Helium314
c048ff6ff6 update tools scripts 2024-06-01 13:50:06 +02:00
Helium314
f0ab9cdd21 remove ... hint from symbols period key 2024-05-31 20:29:27 +02:00
codokie
e357f84572
Add toast notification when copying from clipboard (#752)
and use the toast for showing dictionary on double-long-press word: switch from one ugly workaround (popup menu) to another (hiding more suggestions panel)

Co-authored-by: codokie <@>
Co-authored-by: Helium314 <helium314@mailbox.org>
2024-05-31 17:01:50 +02:00
Helium314
df6af1f07e fix broken popup key width in number layouts 2024-05-31 12:10:46 +02:00
Helium314
af636badab add comma key popups for number layouts
(for phone layouts it's on period because there is no comma key)
fixes #823
2024-05-31 09:58:35 +02:00
Helium314
d171c6b3c6 reduce issues when splitting layout with customized functional keys and uncommon space bar 2024-05-31 09:42:49 +02:00
Helium314
4ea2929139 update hebrew layout, fixes #735
see discussion in #738

Co-authored-by: codokie <@>
2024-05-30 21:04:51 +02:00
Helium314
e69a54303d move mns.txt to the correct folder 2024-05-28 22:04:21 +02:00