Why my custom widget conflicts with brease widgets

Hi @hobi72

I’m bringing this up again because I’m having a problem, and I might be missing something. I’m not sure if I should start a new thread about this or not.

Actually, I developed a widget that uses MappFileManager. So I copied the FileManager widget from brease into my library and modified everything that was necessary. Based on my tests, it worked as expected, but yesterday I had a feedback that when we use a TextPad or other widget from brease that use the FileManager depending on the loading order, either my widget or brease widget stops working.

I investigate a little and I just see that FileManager is a singleton class and I also test to have a second dynamic binding to the backend but this doesn’t work at all.

So I can’t really use the brease FileManager in my own lib and when I want to create my own FileManager, I’m stuck because I can’t bind 2 times to the backend.

Did you have any suggestions or workaround about this?

Regards,
Florent

Okay my bad, I really miss something idiot, I was using old version to import widgets!