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]: After dragging in the file, the import menu will be displayed three times. #75

Open
dest1yo opened this issue Dec 12, 2023 · 8 comments
Assignees
Labels
Status: In Progress An issue that is being worked on. Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected.
Milestone

Comments

@dest1yo
Copy link

dest1yo commented Dec 12, 2023

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 mika-f added Status: In Progress An issue that is being worked on. Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected. labels Dec 12, 2023
@mika-f
Copy link
Owner

mika-f commented Dec 12, 2023

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
Copy link
Author

dest1yo commented Dec 12, 2023

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
Copy link
Owner

mika-f commented Dec 17, 2023

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

@dest1yo
Copy link
Author

dest1yo commented Dec 17, 2023

Really cool! It is fixed! :)

@dest1yo
Copy link
Author

dest1yo commented Dec 17, 2023

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

@mika-f
Copy link
Owner

mika-f commented Dec 18, 2023

@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
Copy link
Author

dest1yo commented Dec 18, 2023

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
Copy link
Owner

mika-f commented Dec 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress An issue that is being worked on. Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants