This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

The dockpanel was reduced to the right when I set vcl style

edited July 2020 in LMD-Tools
Hi,

I set the vcl style in 10.4(LMD version 2020.4), but I placed a dockpanel to the right of the docksite. 

After the program starts, I maximize the form, then minimize it to the taskbar, and finally restore it.

The dockpanel space will be reduced to the right.

Do you have any suggestions? Thanks.

Comments

  • I've:

    - started the app
    - maximized the form
    - minimized to taskbar
    - activated back from taskbar (form now in maximized state)
    - restore to original state

    and.. nothing bad happens. The form looks originally (like after app starting). Following is a comparison of two layouts:


    image
  • edited July 2020
    Hi Eugene Balabuev,

    The problem still exist in my test environment which C++ Builder 10.4 with patch 1 and set vcl style.
    I found it will trigger event twice on LMDDockSite OnCanResize() when activated back from taskbar.

    It got the unnormal width and height in first trigger event that cause dockpanel was reduced.
    Check it was the same sitaution on TFrom's OnCanResize() and WindowProc which received twice.

    Did you have any suggestion to avoid this bug?
    Thank you.

    image
  • I can confirm several Form.OnResize events with strange size values. This is a bug of Delphi 10.4. I cannot imagine how we can workaround it. So, you are welcome to tell Embarcadero about this issue.
Sign In or Register to comment.