Recent

Author Topic: Sparta Docked Form Designer Going Wild  (Read 3188 times)

AFFRIZA 亜風実

  • Full Member
  • ***
  • Posts: 144
Sparta Docked Form Designer Going Wild
« on: November 12, 2019, 04:03:50 am »
I just tried to open DBLookup Example, but designer is resizing the form width continuously and never stops.

DBLookup Example Breaks Sparta Docked Form
Kyoukai Framework: https://github.com/afuriza/kyoukai_framework

Dukung kemerdekaan Donetsk dan Lugansk! Tidak membalas profil berbendera biru-kuning apalagi ber-Bandera.

AFFRIZA 亜風実

  • Full Member
  • ***
  • Posts: 144
Re: Sparta Docked Form Designer Going Wild
« Reply #1 on: November 13, 2019, 08:58:44 am »
Does anybody know how to open that? Maybe something in the LFM file should be changed?
Why not somebody just try to open it and tell me is that only my problem? No body replying.


Just open that, easy. Is that work or not on Lazarus version that you used.
« Last Edit: November 14, 2019, 08:07:53 pm by Dio Affriza »
Kyoukai Framework: https://github.com/afuriza/kyoukai_framework

Dukung kemerdekaan Donetsk dan Lugansk! Tidak membalas profil berbendera biru-kuning apalagi ber-Bandera.

BSaidus

  • Hero Member
  • *****
  • Posts: 540
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Sparta Docked Form Designer Going Wild
« Reply #2 on: November 15, 2019, 09:53:54 am »
I have the same probleme since a long time ago.
When I open a Form its width grows continiousely and the IDE freez then crash.
Since that I do not use the docked IDE.

Hope someone fixe it.
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

avk

  • Hero Member
  • *****
  • Posts: 752
Re: Sparta Docked Form Designer Going Wild
« Reply #3 on: November 15, 2019, 10:33:58 am »
@Dio Affriza, try to delete the line "Align = alTop" in the unit1.lfm.

wp

  • Hero Member
  • *****
  • Posts: 11853
Re: Sparta Docked Form Designer Going Wild
« Reply #4 on: November 15, 2019, 11:30:26 am »
Out of interest I installed AnchorDocking and the SpartaDockedFormDesigner (I normally work without them). Removing the Align properties from the lfm does not solve anything. I also set up a new form with a bottom-aligned panel, a bottom-aligned splitter, a client-aligned DBGrid, a top-aligned DBGrid and a top-aligned splitter - no issue either. Also after adding a DBLookupCombobox and a DBListbox to the panel. But I do confirm the issue with the Lazarus dblookup example mentioned here (it has the same structure of aligned controls). Very strange...

What worries me even more, however, is that the docked form designer seems to be broken badly: create a new project, the default form is 320x240 pixels. Drag the horizontal sizer to a different width. After that, the form is displaced, incorrectly bordered and its size cannot be changed any more by dragging.

Then I wanted to change the width to 400 by typing the value into the object inspector field. After selecting the Width property I typed "4", "0", "0". However, every character typed overwrites the previous one so that the overall width becomes 0. Only when the field is double-clicked so that the entire field content is selected, the value can be typed normally.

All this is on Win10/64bit with Laz-trunk/fpc3.0.4/32 bit.

Glad that I don't use this normally...
« Last Edit: November 15, 2019, 11:33:22 am by wp »

avk

  • Hero Member
  • *****
  • Posts: 752
Re: Sparta Docked Form Designer Going Wild
« Reply #5 on: November 15, 2019, 11:45:37 am »
...Removing the Align properties from the lfm does not solve anything...
Hmm,

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Sparta Docked Form Designer Going Wild
« Reply #6 on: November 15, 2019, 12:06:39 pm »
I noticed it also and in 2.04 there wasn't any way to change the align. In 2.06 the prblem still exist, but the IDI is is responding better and could change the align propery.

But it was the reason to deinstall sparta dockdesigner and wait for a fix.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

AFFRIZA 亜風実

  • Full Member
  • ***
  • Posts: 144
Re: Sparta Docked Form Designer Going Wild
« Reply #7 on: November 16, 2019, 04:18:36 am »
Thank you, at least I know the problem not only happen to me.

Surprisingly, it working fine in Ubuntu for version 2.0.7. I still not trying that version in Windows, because I don't know why fpcupdeluxe always crashes in my Windows.
« Last Edit: November 16, 2019, 04:26:20 am by Dio Affriza »
Kyoukai Framework: https://github.com/afuriza/kyoukai_framework

Dukung kemerdekaan Donetsk dan Lugansk! Tidak membalas profil berbendera biru-kuning apalagi ber-Bandera.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Sparta Docked Form Designer Going Wild
« Reply #8 on: November 16, 2019, 08:15:03 am »
Thank you, at least I know the problem not only happen to me.

It should be reported with steps to reproduce and other relevant info.
The Sparta designer has also other bugs, for example :
 https://bugs.freepascal.org/view.php?id=36151

Quote

Surprisingly, it working fine in Ubuntu for version 2.0.7. I still not trying that version in Windows, because I don't know why fpcupdeluxe always crashes in my Windows.
You don't need fpcupdeluxe for loading Lazarus sources from SVN server and compiling them.
fpcupdeluxe is good for complex tasks like cross-compilation.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018