wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.32k stars 1.79k forks source link

AUI: 'failed to parse size' in aui sample #25085

Closed Wlodzimierz-ABX-Skiba closed 2 weeks ago

Wlodzimierz-ABX-Skiba commented 3 weeks ago

Description

Bug description:

After some playing with placement of toolbars in aui sample copying layout to clipboard and immediate loading it back cause 'failed to parse size' error.

Expected vs observed behaviour:

I expect to be able loading just saved layout.

To Reproduce:

  1. Build and run AUI sample
  2. Drag left to the center of window and then close/hide it with X buttion
  3. Drag second to top toolbar to the left side of the window like in the image below
  4. Press Ctrl+C to copy layout to clipboard
  5. Press Ctrl+V to load layout from clipboard

The layout looks as follow:

Image

The content of the clipboard is following:

paste.txt

Platform and version information

vadz commented 3 weeks ago

Thanks, this is just a bug in the sample, I'll fix it in a moment.