Book a Demo

Author Topic: Save/Load Visual Layout - breaks  (Read 3263 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Save/Load Visual Layout - breaks
« on: November 14, 2008, 04:00:55 pm »
Has anyone else noticed this?

I have a complex layout that I save to Layout 4 (but the problem exists even without saving, it's just more in your face).

When I load it back (having done nothing in between) it comes back slightly changed.  I have a number of windows stacked,and the stacking heights change.  Eventually I got a rule out to check my eyes weren't deceiving me.

If I close EA and reopen, the "sticky" layout moves by the same amount as the difference in save/load.  So if I repeatedly open/close EA, the topmost set of stacked windows eventually reduces to nothing...

Since I'm running Windows Server 2008 it may be related to this, so I'm asking if anyone else sees this before I report it to Sparx as a real bug.

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Save/Load Visual Layout - breaks
« Reply #1 on: November 14, 2008, 05:50:32 pm »
I have seen it, but don't have a repeatable example on hand, so I'd encourage you to submit a bug report.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Save/Load Visual Layout - breaks
« Reply #2 on: November 14, 2008, 06:31:01 pm »
Quote
I have seen it, but don't have a repeatable example on hand, so I'd encourage you to submit a bug report.
Will do...

It smells like saving with one set of attributes and repopulating on restore to a slightly different set.  This is because the change appears to be the height of a title bar, so if you save including the title bar and restore (thinking you're not including the title bar) then the size of the control will change by the size of the title bar.

Also, when you restore the layout, it doesn't seem to reset the open windows properly.  If you restore a different layout (with different windows open) the originally open windows disappear (as they should).  Then, if you close and reopen, the new layout comes up but the old set of windows come up in addition.  Anyone seen this?

I'd like to get a more complete set of save/load, close/open problems so that the Sparxians can fix as many as possible in one hit...

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!