Closed haroal closed 5 years ago
I can not reproduce it on my macOS, could you please download latest version 0.12.25, and try again?
I already tried with the v0.12.25 and update the issue : it is happening exactly the same thing. Could it be due to my nodejs/electron versions? Is it a debug mode or something to see logs to understand where the issue comes from?
@haroal Can you alway reproduce this bug?
Yes. With the new version, even after restarting Mark Text, even after restarting my computer. It always happens. I even tried to uninstall and reinstall it and it still happens.
I reproduce this bug using cmd+backspace
.
and some time switch mode, the content will recover, because of cmd+backspace
.
marktext 0.12.25 macOS 10.13.5
@minosss What keyboard do you use, Mac pro keyboard or an external keyboard?
Personally, I use the built-in keyboard of my MacBook Air 2015 and Cmd+backspace
does the same thing as backspace
only
@Jocs MBP Mid 2014, both built-in keyboard and HHKB will reproduce the bug
- Type some text
- Select all using Cmd+A
- Press backspace key to erase
- Go to Source code mode and see the erased text still present
- Go back to Preview mode and see the erased text reappeared
You have to wait for 200ms (I think, maybe more) before you switch preview-/source-code mode because text events are forwarded all 200ms for performance reasons.
Edit: I can reproduce the first problem on Linux if I press Ctr+A
& Backspace
& ↓ in under 200ms.
I think this has been fixed on develop
branch, feel free to reopen it.
Description
In preview mode, I can't erase text by selecting it using Cmd+A, and then taping backspace. It seems to be removed, but if I go to
Source code mode
I still can see what I wrote, and when I go back to thePreview mode
the text has reappeared. I can also see that my text has not been removed by using the down arrow key: my cursor moves and reveals the "erased" text.Steps to reproduce
backspace
key to eraseor
backspace
key to eraseSource code mode
and see the erased text still presentPreview mode
and see the erased text reappearedExpected behavior: The text is really erased.
Actual behavior: The text is not erased : it is simply removed from the preview.
Example:
Versions