mika-f / blender-drag-and-drop

Blender Add-on: Drag and Drop Support
https://docs.natsuneko.cat/en-us/drag-and-drop-support/
MIT License
275 stars 8 forks source link

[Bug]: After dragging in the file, the import menu will be displayed three times. #75

Open dest1yo opened 8 months ago

dest1yo commented 8 months ago

What happened?

I'm using the test version and I found 2 problems

The first one may just happen occasionally when I enable the plug-in for the first time and it will show that it cannot find the operator.DropEventListener in the init.py's code line: classes: list[type] = [operator.DropEventListener, preferences.DragAndDropPreferences]. So I unconditionally from . import operator in the init.py file, and then the plug-in can be enabled and work normally. But after I reverted back to the original code, the previous problem did not reappear.

The second question is: After dragging in the file, the import menu will be displayed three times. My friends and I all have this problem. I've restarted blender and restarted the plug-in, and it's still like this

Other than that everything works great. I've also tried adding a custom format import with no issues at all. Thank you for your work!

Add-on Version

3.0.0-alpha.1

Blender versions

3.5.0, 3.6.0

Relevant log output

No response

mika-f commented 8 months ago

Thank you for creating a issue from feedback in PR!

The second question is...

I am aware of any changes related to this and plan to make fixes this week.

The first one may...

Is it possible to create a separate issue for this?

dest1yo commented 8 months ago

You are welcome. I can not reproduce the first issue, so I don't want to mention it separately. It's just for reference. If you don't find it later, you can ignore it, haha. btw, I also have re-added the highlight blocks.

mika-f commented 8 months ago

This issue maybe fixed in v3.0.0-alpha.3!

dest1yo commented 8 months ago

Really cool! It is fixed! :)

dest1yo commented 8 months ago

btw This line has an extra space preferences.py: 20

mika-f commented 8 months ago

@dest1yo

btw This line has an extra space preferences.py: 20

Thank you for your code reviewing. Can you create a new pull request regarding it? It because I want to record your good contribution to commit history.

dest1yo commented 8 months ago

You're too kind. This small change can't be called a contribution Haha. In addition, I would like to ask if there is any other contact method, such as discord, because it is troublesome to reply on github. I also have 2 small issues need to report.

mika-f commented 8 months ago

Thank you for your response. You can use Discord for reporting small bugs in #drag-and-drop-support channel.

Visit here: https://discord.gg/fW5kzG8EFA

There are many posts in Japanese on some channels, but there is no problem if you write a bug report, feedbacks and other reports in English.