mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #5229] [Bug] Crash when styling strikethrough on MacOS 0.5.5 #2314
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#2314
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 @szethh on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5229
Bug Description
I just installed the app and started an anonymous session.
I was trying out the styling on the "getting started" page.
Styling strikethrough using markdown successfully styles the text, but immediately crashes the app.
How to Reproduce
The easiest repro would be to type
~hey~. That crashes the app. So tilde, any text, then tilde, successfully styles the text as strikethrough (i can see for a split second that the style is applied) but the app immediately crashes.It happens in the getting started page as well as in new pages.
Expected Behavior
The app not to crash.
Operating System
MacOS
AppFlowy Version(s)
0.5.5
Screenshots
No response
Additional Context
No response
@LucasXu0 commented on GitHub (Apr 30, 2024):
@szethh What system version are you using, and could you provide the crash logs? I'm unable to reproduce it on my macOS.
@szethh commented on GitHub (Apr 30, 2024):
macOS 14.4.1
here are the crash logs that show up when i click "report" on the crash screen:
@LucasXu0 commented on GitHub (May 2, 2024):
A similar crash stack, but not the same use case: https://github.com/flutter/flutter/issues/104578.
@annieappflowy commented on GitHub (Nov 23, 2024):
@LucasXu0 , was this fixed?
@LucasXu0 commented on GitHub (Nov 23, 2024):
Hi, @szethh. Can you still produce the crash on v0.7.3? I can't reproduce it on macOS with latest version.
@szethh commented on GitHub (Nov 25, 2024):
i updated to 0.7.4, and while i can't reproduce the crash, i also cannot type strikethrough...
in 0.6.7 (the last version i ever used until 0.7.4), i would type
kthen enter or space and that would show the k formatted with strikethrough (so tildes are removed) for a second and then crash the app.now in 0.7.4
kdoes not format the text at all, the tildes stay. other markdown formatting does work (like k or k where the asterisks are replaced by italic or bold formatting).not sure if this is intended.
@annieappflowy commented on GitHub (Jan 3, 2025):
I'm able to use ~~ to strikethrough text. Cannot reproduce it
@szethh commented on GitHub (Jan 3, 2025):
@annieappflowy testing a bit more, i think it might be because of dead keys.
my keyboard layout is spanish, so when typing a tilde character (some others accent characters too), the keyboard waits for you to type another letter, in case you want to create an accent + letter combination (á, é, ñ), etc.
i don't know how exactly you are listening to the key event for detecting styles in the code, but i think the dead keys might be interfering.
if i change my layout to U.S. (which does not have dead keys), then I am able to strikethrough fine.
@LucasXu0 commented on GitHub (Feb 9, 2026):
Hi @szethh, I was trying to reproduce this issue again in v0.11.1, please check my video to see if my steps are correct or not.
Spanish IME + Keyboard viewer
My test result: all the functionality works as expected.
https://github.com/user-attachments/assets/99837a6c-e670-44bf-b0be-bc675e9d47b4