Closed jensschmeink closed 6 months ago
Is this a draft PR or should it be reviewed?
Could be reviewed. Is a simple change to start show the dialog for unknown classes only in dev mode
@jensschmeink How can I even show the unkown classes dialog (before this change)? I tried to open a project using predesign and removed the predesign module first. Then I don't get this dialog but only the "unknown module" dialog.
@jensschmeink How can I even show the unkown classes dialog (before this change)? I tried to open a project using predesign and removed the predesign module first. Then I don't get this dialog but only the "unknown module" dialog.
It is the same dialog but another page
@jensschmeink How can I even show the unkown classes dialog (before this change)? I tried to open a project using predesign and removed the predesign module first. Then I don't get this dialog but only the "unknown module" dialog.
It is the same dialog but another page
I just have the page unknown modules:
@jensschmeink How can I even show the unkown classes dialog (before this change)? I tried to open a project using predesign and removed the predesign module first. Then I don't get this dialog but only the "unknown module" dialog.
It is the same dialog but another page
I just have the page unknown modules:
I think a module package is not shown if it is unknown and so non of your predesign objects are tried to be constructed. To reproduce add a predesign calculator to one process.
Okay, I could reproduce it.
@jensschmeink With your code changes, I still get the error dialog ?! I am not in dev mode.
@jensschmeink With your code changes, I still get the error dialog ?! I am not in dev mode.
Yes, you get it as long there is also found an unknown module. If the unknown classes would be the only reason to show the warning it is not shown anymore
I think the problem is, that the popup opens up, because it also has unknown modules. What are the cases, when you have all modules but still unknwn classes?
I think the problem is, that the popup opens up, because it also has unknown modules. What are the cases, when you have all modules but still unknwn classes?
If you have unkown modules but you save your project. Then the usage of the module is no longer registered in the project and there is no comparison of the footprints failing. But the classes use din the project are till unknown
If you have unkown modules but you save your project.
Okay, this sounds dangerous to me. Just by saving, I loose the connection to the module? Should we fix this (in a separate issue)? Or is this intentional?
If you have unkown modules but you save your project.
Okay, this sounds dangerous to me. Just by saving, I loose the connection to the module? Should we fix this (in a separate issue)? Or is this intentional?
I'm not completely sure about that behaviour, so we should check it, discuss it and repair it in another issue
Description
The widget entries for unknown classes is only shown in dev mode
How Has This Been Tested?
Checklist:
EXPORT
. Non-interface functions are NOT exported.