1943time / inkdown

A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way.
https://www.inkdown.me
GNU Affero General Public License v3.0
849 stars 35 forks source link

Space selection issue #71

Closed zareith closed 3 months ago

zareith commented 3 months ago

Hello again,

In the space selection dropdown, we have support for reordering using drag and drop. This sometimes causes problems.

Here in the recording, my intent is to switch to another space. But when I click on another item from the dropdown, the drag and drop gets activated. After that the clicked item follows the mouse indefinitely. Even if release mouse button, click outside, dismiss the menu, press escape etc. I can not get rid of the item following the mouse.

Once this happens, it becomes impossible to use that menu to switch space afterwards, until we restart the app.

Screencast from 2024-03-24 15-32-59.webm

1943time commented 3 months ago

I did not reproduce this issue after multiple tests, and I am not sure if it is related to the system. I will try again later, but the drag delay will be corrected.

1943time commented 3 months ago

I still haven't reproduced this problem. Do you often encounter this problem?

zareith commented 3 months ago

I do face it like one out of four times, but it could be something specific to my hardware if not easy to reproduce.

I have stopped using that menu for now, and I just keep two windows open. That is good enough for me.

1943time commented 3 months ago

I have made some optimizations to drag and drop sorting, and the next version should be able to solve this problem.

zareith commented 3 months ago

Ok, thanks a lot 😃