It is a bad behavior, making the IDE not usable. I don't understand...
You have 2 add ons.
1) anchordocking
2) docked form editor.
The "docked form editor" can be used on its own.
However anchordocking is meant to be used only in certain combinations:
- Usually with "docked form editor".
- Or If you don't dock the Object inspector, and you don't dock the "all components" window, and don't dock any other window needed for design.
- Or in exceptional cases when you have the screen space to put the designer somewhere were it wont be a problem.
Out of curiosity (not currently going to work on it), but how else would you solve it?
- Make the designer window "always on top"? Then you have trouble editing sources... And if you don't it is normal that other windows go on top
- Even if you made some extra rule "Click OI brings designer to front" => what if you want to copy a value from OI, so you can use it in source editor?
Even if you said "if OI is clicked and form already was in front then keep that" => what if the form partly covers the OI? If you click OI then OI must go to the front (that happens in an undocked IDE too, and if it did not it would be a problem).
But if you dock OI together with Source edit, then bringing OI to front will bring the source edit to front too. No way around that.
So really, if you don't want docked-form-edit, then undock the OI from the rest of the IDE.
And use the (undocked) "view components" instead of the palette on the main bar.
If you have an idea that would actually really work (in general, not just for your personal use case)... maybe someone volunteers to do it. Maybe not, I don't know.