After restoring the dock manager layout from a saved state, showing and hiding panels does not work properly.
I have attached a small test application that has a dock manager and 6 panels configured in the same initial state as our application.
The test program allows you to show/hide each of the 6 panels and also save/restore the current dock manager layout to/from a string.
Using this program you can demonstrate the problem.
Steps to Reproduce:
1) Compile and start the test program.
2) Hide all 6 panels by clicking the P1 through P6 check buttons on the menu bar.
3) Save the layout by clicking on the Save button.
4) Show panel 4 by clicking on the P4 button.
5) Restore the dock manager layout that was saved in step 3 by clicking on the Restore button.
6) Note that panel 4 is now properly hidden since that was its state in the saved layout.
7) Attempt to show panel 4 by clicking on the P4 button.
Panel 4 is not shown. In fact, none of the panels except panel 1 will appear although the Visibility property is being set.
Panels should be able to be shown by setting their Visibility property after restoring the layout.
Yes, it's a bug and we'll try to fix it.
However, I should note that fixing this bug requires us to perform a lot of modifications in our source code, which can take a lot of time. Moreover, most probably these changes will be implemented only in the latest major version (v10.1).
So, as a temporary workaround, I suggest that you use our LayoutControl to implement a similar layout. I've attached a small sample project illustrating this. Hopefully, it will help you.
I'm glad to hear that you will try and fix the bug.
Using the layout control does not work well for us because it lacks the functionality required for our application: drag & drop panels, float panels, tabbed panels.
The DevExpress DockPanel objects provide exactly the functionality we want, but we've run into a number of issues with them (more than what I wrote up in this issue) and I have to say the quality of the code is below what I've come to expect from DevExpress.
We're at the end of our development schedule on this product and switching to a new revision of DevExpress would require additional testing time that we don't have. I fear I will just have to clip some functionality out of our program until the DockManager classes have been fixed.
Thank you for your feedback.
I am very sorry that you are disappointed by our Docking Library. I assure you that our developers will do their best to resolve this problem as soon as they can.
Also, you've said that you encountered other issues related to our Docking Library. Please post these problems in separate threads. We'll try to fix them as soon as possible.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.