Let's state some facts first:
The view file containing the LineShapes is incorrect. It contains components (the LineShapes) whose namespace is missing in the file.
When adding Controls of Components using the designer, it will always automatically add the necessary namespaces. I.e., the file has been manually edited, which is usually done by object developers only.
How do the view designer and the HMI handle such errors?
The designer as well as the component loading view (sfc) files in the HMI are 3rd-party software, that's why I cannot give exact reasons for the behavior, I can only describe what happens:
When loading a view with missing namespaces into the designer, it will skip all Controls and Components whose type cannot be resolved, i.e. whose namespace is missing. When saving the view, these components will be removed. In your case, where the LineShapes were probably added by mistake, it seems like everything is working fine. But usually, you would be missing some UI elements that should be there.
Loading a view with missing namespaces at runtime will usually fail completely. The 3rd-party component loading sfc files will throw an exception that is caught and written to the HMI logfile. The information is very general though and will not tell you what's the reason why the view cannot be loaded.
There is an exception to this rule, though: If the same Component or Control type has been loaded successfully, before, i.e. in the context of an sfc file where the namespace is not missing, the type will be resolved in other (incorrect) views as well.
The Mod_SmartControlHost behaves the same way at design-time and runtime. It uses the same SfcLoader component. If the component does not return anything, the Mod_SmartControlHost displays the error message "See logfile for details". Actually this hint is only correct at runtime in the HMI. While running in the designer in Control plus Studio, there is no such logfile.
Concerning your project and questions:
Fig. 2 is not a display bug in OES. The view is corrupt, so OES shows an error message. This is intended behavior.
Fig. 3 means that some other HMI view containing a LineShape and the correct namespace must have been loaded before. Otherwise you would get the same error message as in Fig. 2 at runtime as well.
Like all the Shape components from the category Drawing of the Smart Toolbox, the LineShape is an element that is painted on the background of the view. The Shapes are technically no controls but something like drawing instructions for runtime. That's why they are transparent themselves but they will be covered by any overlapping child controls. In order to directly answer your question: The entry <LineShape... /> in your sfc file means that someone dragged a LineShape component from the toolbox to the view. Later, the necessary namespace was removed from the file.
When running the HMI, the logfile path is C:\OpconApp\HMI\Log\OpCon.HMI.Modulo_log.txt. As mentioned above, it will not help much in this case, though. At design time, there is no logfile.
... View more