Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Appearing and disappearing caracters when editing an item in the calendar view #5365

Open
oppZ opened this issue May 19, 2024 · 5 comments
Labels
bug Something isn't working calendar features related to the calendar database database the underlying data of grid, kanban, cal

Comments

@oppZ
Copy link

oppZ commented May 19, 2024

Bug Description

If we type fast enough and correct the name by deleting caracters (with backspace), caracters can appear and disappear. It looks like the bug is an issue of the synchronization between the box where we type the name of the item and where the item is displayed in the calendar.

How to Reproduce

The key to reproduce the bug is perform the key presses before the change is displayed in the calendar. The change time is around a second, so the two key presses need to be done within this one second

Go to the calendar view, create an item and click on it to edit it ; a box will appear to edit its name
Appearing caracters:
Press any letter (like "s") then Backspace before the change is displayed in the calendar.
--> the letter "s" will come back

Expected behavior:
The letter "s" should not be present anymore

Disappearing caracters:
First, type in the box the same letters like "dddd"
Press Backspace then "d" before the change is displayed in the calendar.
--> the last "d" will disappear

Interestingly, for this "trick" to work, the last caracter needs to be the same as the one that we are pressing ; if item name is "aaaa" and we Press Backspace then "d", the last letter (here "a") will not disappear and it will be working as expected.

Expected behavior:
The letter "d" should be still present

Expected Behavior

See How to Reproduce

Operating System

Ubuntu 24.04 LTS

AppFlowy Version(s)

0.5.7 with the AppImage version

Screenshots

Screenshot from 2024-05-19 14-17-55

I would have included a video but the default app to make screenshots do not have the option to switch to screencast for some reason

Additional Context

No response

@LucasXu0 LucasXu0 added bug Something isn't working calendar features related to the calendar database database the underlying data of grid, kanban, cal labels May 20, 2024
@annieappflowy
Copy link
Collaborator

This issue should be resolved in the upcoming release (v0.5.8).

@oppZ
Copy link
Author

oppZ commented May 22, 2024

This issue should be resolved in the upcoming release (v0.5.8).

Well, the update kinda fixed it. If we try the same how to reproduce it, the text will be different in the box and the calendar as shown here :
image

However, if we click away, the correct text will be set to the item. So a minor visual bug is left

@annieappflowy
Copy link
Collaborator

@oppZ , thank you for the confirmation. Could you please share a video recording? I wasn't able to reproduce it on macOS and Windows 11 with the latest release (v0.5.8)

@oppZ
Copy link
Author

oppZ commented May 22, 2024

@annieappflowy I downloaded the zip version of windows 11 with the latest latest release (v0.5.8) and this is the video :

Aufzeichnung.2024-05-22.163004.mp4

@oppZ
Copy link
Author

oppZ commented May 25, 2024

Same behavior on Linux using the latest latest release (v0.5.8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working calendar features related to the calendar database database the underlying data of grid, kanban, cal
Projects
None yet
Development

No branches or pull requests

3 participants