-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unfinished line or area lost when accidentally pressing save #10593
Comments
hey @Nekzuris can you send some pics related to this issue |
Pics won't help to show the issue, I should make a screen recording but I thought the issue was easy enough to reproduce @Suvendu-UI |
@Nekzuris would it make sense to save every unfinished line as draft, only push the finished line into the database |
@Nekzuris screen recording would be nice |
@Adarsh-Dhar No sure what you mean by draft, they should just be terminated to stay on the map. Objects with no tag already prevent push. The issue is that the line gets deleted if I accidentally press 2024-12-12.19-44-07_1.mp4 |
Hi, this has already been fixed in #10118 |
Is this issue has been closed ?? If not then I would love to fix it. Will you please assign the issue?? If yes then is there any other issue that I can solve . I love to contribute to the organization. |
Actually no. |
i think the best way to fix this is to add an end point to the line and end it where the last point was , or else we can show a message that there are still unfinished lines in the map and highlight it when saved |
to disable the shortcut might be one way but i think many people are accustomed to ctrl + s , but we can also apply that too , ill try doing both of them , we can select which one's best |
URL
https://www.openstreetmap.org/edit
How to reproduce the issue?
Start drawing a line but don’t finish it, then click save, the line gets deleted.
Screenshot(s) or anything else?
I understand we don’t want to save unfinished line to the OSM database, but I encountered this issue while drawing a long river;
I made a mistake on the last point and wanted to hit
Ctrl + Z
to undo but miss clickedCtrl + S
and lost the entire line.Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit, Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.30.4
Which browsers are you seeing this problem on?
Chrome, Firefox
The text was updated successfully, but these errors were encountered: