[Bug] Dissapearing Text When Trying To Change The Text Into Code - V0.8.9
Bug: Dissapearing Text When Trying to Change the Text into Code - v0.8.9
As a user of AppFlowy, a powerful and flexible note-taking app, we strive to provide the best possible experience for our users. However, we have encountered a bug that affects the functionality of the app, specifically when trying to change text into a code block. In this article, we will delve into the details of the bug, provide a step-by-step guide on how to reproduce it, and outline the expected behavior.
When typing a text and selecting it, pressing the backtick key three times is expected to wrap the text into a code block. However, in the current version of AppFlowy (v0.8.9), the text disappears instead of being wrapped in a code block. To make matters worse, pressing Ctrl + Z to undo the action restores the text, but if you navigate away from the document and come back, the empty code block is still visible, and the text is gone.
To reproduce this bug, follow these steps:
- Write a text in AppFlowy.
- Select the whole block of text.
- Type triple backticks fast ``` to turn it into a code block. - Text dissapears.
- Press Ctrl+Z to undo the action to restore the text.
- Navigate away from the document and come back to it. - The empty Code block is visible instead of the text.
The expected behavior is that when you type a text, select it, and press the backtick key three times, the text should be wrapped in a code block. If you undo the action by pressing Ctrl + Z, the text should be restored. Additionally, if you navigate away from the document and come back, the text should still be visible inside the code block.
This bug has been observed on Windows operating systems.
The bug is present in AppFlowy version v0.8.9.
For a visual representation of the bug, please refer to the following screenshots: https://github.com/user-attachments/assets/44ea31d8-d45a-42dc-9042-9e64a2b47e7e
Unfortunately, there has been no response from the AppFlowy team regarding this issue, leaving users to navigate this frustrating bug.
In conclusion, the bug in AppFlowy version v0.8.9 causes text to disappear when trying to change it into a code block. This issue can be reproduced by following the steps outlined above. The expected behavior is that the text should be wrapped in a code block and remain visible even after undoing the action and navigating away from the document. We hope that the AppFlowy team will address this issue and provide a fix to ensure a seamless user experience.
To resolve this issue, we recommend that the AppFlowy team:
- Investigate the cause of the bug identify the root cause.
- Implement a fix to ensure that text is wrapped in a code block correctly.
- Provide a patch or update to AppFlowy version v0.8.9 to address this issue.
By following these recommendations, the AppFlowy team can ensure that users have a smooth and enjoyable experience using the app.
Bug: Dissapearing Text When Trying to Change the Text into Code - v0.8.9
Q&A: Frequently Asked Questions About the Bug
As we continue to explore the bug in AppFlowy version v0.8.9, we have received several questions from users regarding the issue. In this article, we will address some of the most frequently asked questions about the bug.
A: The bug in AppFlowy version v0.8.9 causes text to disappear when trying to change it into a code block. When you select a block of text and press the backtick key three times, the text is expected to be wrapped in a code block. However, in this version, the text disappears instead.
A: To reproduce the bug, follow these steps:
- Write a text in AppFlowy.
- Select the whole block of text.
- Type triple backticks fast ``` to turn it into a code block. - Text dissapears.
- Press Ctrl+Z to undo the action to restore the text.
- Navigate away from the document and come back to it. - The empty Code block is visible instead of the text.
A: The expected behavior is that when you type a text, select it, and press the backtick key three times, the text should be wrapped in a code block. If you undo the action by pressing Ctrl + Z, the text should be restored. Additionally, if you navigate away from the document and come back, the text should still be visible inside the code block.
A: No, this bug has been observed on Windows operating systems. However, it is possible that the bug may also affect other operating systems.
A: Unfortunately, there has been no response from the AppFlowy team regarding this issue, leaving users to navigate this frustrating bug.
A: To resolve this issue, we recommend that you:
- Report the bug to the AppFlowy team using their support channels.
- Provide a detailed description of the bug, including the steps to reproduce it.
- Share any relevant screenshots or logs to help the AppFlowy team investigate the issue.
A: We hope that the AppFlowy team will address this issue and provide a fix to ensure a seamless user experience. However, we cannot guarantee that the issue will be fixed.
In conclusion, the bug in AppFlowy version v0.8.9 is a frustrating issue that affects the functionality of the app. We hope that this Q&A article has provided some clarity on the issue and has helped users understand how to reproduce and report the bug. We look forward to seeing a fix from the AppFlowy team in the near future.