mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #4892] [Bug] Layers of optimized keyboard layouts do not work #2173
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#2173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Glitchy-Tozier on GitHub (Mar 13, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4892
Bug Description
There's a number of people who use optimized keyboard layouts, such as Dvorak or Colemak.
It's common for these layouts to incorporate additional layers, letting users type special symbols or access navigation more easily. For example, layouts of the NEO-family (warning: German website) let you easily access navigation functionality without moving your hands to the edges of your keyboard.
The issue is that AppFlowy doesn't seem to recognize that layer. It just ignores anything typed using it. For example, if I try to move around in this text I'm composing by using the arrow keys provided by my keyboard, it works on GitHub. In AppFlowy, nothing happens.
This is a big issue because it prevents any user of this kind of optimized keyboard layout from using AppFlowy, as it disabled all their navigation. Which is unfortunate, because I (and others) would love to use this app.
How to Reproduce
I can only give instructions for Linux:
M4orMod4(as can be seen here) and pressingsorfon your physical keyboard.Expected Behavior
Users of optimized keyboard layouts should be able to input characters and use their keyboard's functionality as they should be able to do in any other app.
Operating System
Linux Mint 21.3 Cinnamon
AppFlowy Version(s)
0.5.1, Installed via Flatpak, but also happens on the Snap version
Screenshots
No response
Additional Context
My hunch is that AppFlowy captures inputs that use
M4orMod4(as can be seen here) and selectively ignores some/most of them, as it might expect some kind of shortcut.@LucasXu0 commented on GitHub (Mar 13, 2024):
@Glitchy-Tozier could you please run this example project? https://dartpad.dev/?id=8ac50e509411d9f6848bd264c77c9b81. It's designed to capture and display keyboard events.
I'm curious about what the output will show in the example. Please share a screenshot after you try pressing the M4 + 's'/'f' keys in this project.
Sample

@Glitchy-Tozier commented on GitHub (Mar 13, 2024):
@LucasXu0 Here you go:
EDIT: The shift-event has nothing to do with it, i accidentally triggered it. Only the first three log entries should be relevant.
@LucasXu0 commented on GitHub (Mar 13, 2024):
@Glitchy-Tozier That's odd. The arrow keys should be functional in AppFlowy because we identify keyboard events by KeyId.
@Glitchy-Tozier commented on GitHub (Mar 13, 2024):
@LucasXu0 The pyhsical arrow-keys work just fine. But if I try to input them using the layout's additional functionality (as I have done for the screenshot you requested) it doesn't work.
Maybe AppFlowy is configured to ignore certain key-combinations that include the physical "Alt Right" key?
@Glitchy-Tozier commented on GitHub (Mar 13, 2024):
I should note that in particular the
arrow-,page-up-,page-down-,tab- shortcuts seem most affected, while thehome-,end-, andenter- shortcuts seem to work just fine.Here's me pressing the affected combinations (without releasing "Mod 4" inbetween):
@Glitchy-Tozier commented on GitHub (Apr 19, 2024):
Any progress on what could be causing this?