lukasbach / obsidian-file-order

Obsidian plugin to reorder files with drag-and-drop by customizing a number-prefix in the filenames
MIT License
65 stars 2 forks source link

Right click on "reorder itmes", drag folder function not work on version V1.5.11 #19

Open osrich opened 5 months ago

osrich commented 5 months ago

Describe the bug Right click to reorder itmes, to drag the document to the intended position, loose the click, it goes back to origin location instantly.

OB VERSION is V1.5.11

lukasbach commented 5 months ago

Hey, thanks for the report! Can you share the logs that happen when you try this, I wonder if some error come up that prevents the drop (CTRL + Shift + i, then copy the contents of the "Console" Tab)

osrich commented 5 months ago

hi, contents as below:

plugin:file-order:156 react-beautiful-dndAn error was caught by our window 'error' event listener while a drag was occurring.The active drag has been aborted.👷‍ This is a development only message. It will be removed in production builds. zL @ plugin:file-order:156

黑色的眼睛 @.***

 

------------------ 原始邮件 ------------------ 发件人: "lukasbach/obsidian-file-order" @.>; 发送时间: 2024年4月1日(星期一) 晚上8:08 @.>; @.**@.>; 主题: Re: [lukasbach/obsidian-file-order] Right click on "reorder itmes", drag folder function not work on version V1.5.11 (Issue #19)

Hey, thanks for the report! Can you share the logs that happen when you try this, I wonder if some error come up that prevents the drop (CTRL + Shift + i, then copy the contents of the "Console" Tab)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lukasbach commented 5 months ago

Thanks. That looks like an issue with the dnd library, react-beautiful-dnd. I will see if I can replicate this somehow.

osrich commented 5 months ago

Thanks for reply, Lucas. Can i know the possible fixed date?

Br,

------------------ 原始邮件 ------------------ 发件人: "lukasbach/obsidian-file-order" @.>; 发送时间: 2024年4月1日(星期一) 晚上8:21 @.>; @.**@.>; 主题: Re: [lukasbach/obsidian-file-order] Right click on "reorder itmes", drag folder function not work on version V1.5.11 (Issue #19)

Thanks. That looks like an issue with the dnd library, react-beautiful-dnd. I will see if I can replicate this somehow.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lukasbach commented 5 months ago

I checked again, and I believe the message you saw should only be displayed alongside the actual error, it wasn't the error thrown that caused the issue. Can you checked again if there were any other errors thrown in the console log? Preferably with the entire log, it can be exported as text file by rightclicking on the log pane.

osrich commented 4 months ago

Culprit is the conflict with another text editor plugin. Problems solved. @lukasbach

However.. i alter the sequence of folders by dragging, obsidian start to delete remoting file inside respective" attachment "folder and start synching all over... more than 10,000 files...takes 90 mins...

Anything can do to avoid that?