Servoy 2024.3.2

Servoy announcements

Servoy 2024.3.2

Postby jcompagner » Tue May 21, 2024 4:55 pm

We are pleased to announce the availability of Servoy 2024.3.2 (release number 3945)

See release notes for changes in this release and in the 2024.3.1 security release.

If you are on LTS release or any older version please upgrade to 2022.3.9 LTS or 2023.3.7 LTS

This version is available through the download site

An installation (coming from the normal installer or from a platform specific archive) is shipping with a Java VM (Java 21.0.1)

So for the platform specific archives you don't need to install or have java on your system.

This release can be updated by using the "latest" url: http://download.servoy.com/developer/latest/ (when you come from 2019.03 or higher)
This release is build on Eclipse 2023.12 (4.30)

See whats new and fixed issues

This is a release in our quarterly release cycle
if you want to stay on the LTS path you need to stick to 2023.03.7 LTS and enabled only the lts update site.

please also update the webpackages that also have releases for 2024.03

If coming from a much older release like 2022.03 then you first have to updated to 2023.03 and then go to 2023.12
This is because of an Eclipse update bug that prevents these updates.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8846
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2024.3.2

Postby mboegem » Fri May 24, 2024 9:28 am

Hi Johan,

the release notes for this release mention:
It also has a small fix for scrollbars for the main form.


There's zero information on why this fix is done and what consequences this might have.
I've updated to this release in one of my projects as we want to use the latest releases while converting SC to TiNG, but it literally breaks a lot of forms.
We're seeing scrollbars where they weren't before.

For example FID, the dialog dimensions are sufficient to show the form, but suddenly I see scrollbars indicating at least 1/5 of overflow.
In order to get rid of the scrollbars, I need to set the scrollbar property on the form to never/never.
This was never the case and although in this case the FID is not resizable, what if it was resizable? As a result of this scrollbar setting the user can't get to all area's of the form anymore.
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1759
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Servoy 2024.3.2

Postby jcompagner » Fri May 24, 2024 10:33 am

that main form was just a quick patch on a case what we already had for 23.3.1..
the thing is what we never did was setting the min sizes of a form where you show it. this was kind of incorrect because the height/widht of a form how you designed it is then never used.
So the viewport (the thing you really see) was really the size of the form, and everything that was outside of it was just overflowing.
So if you have a button all the way at the right, bottom corner but positioned with top/left on lets say 800, 800 and and that button is 20pixels height and 80 pixels width and you shown the form in a view that was just 400x400
then the width and the height of that form is really just 400,400 with an over flow (scrollbars) that showed exactly that form so if you scroll all the way down an to the right you would see a "size" of 820x880 and the button was squezed completely in the right bottom corner. but you designed your form the really have spacing so your form was really 900x900 (but this value was never used)

So now we do set the min width and min height to 900x900 and you see exactly how you designed it.
But yes this is not always what you want, because if that button was not set to top/left (800,800) but more like bottom/right (40,100) (so having 20 pixels margins because the height/widht is 20/80.
Then you design a form to be kind of responsive, and you in most (but not all) scenario's you don't need min-width and min-height to be set..
But there are also scenarios. that you design a form to having some bottom or right anchored stuff, but you kind of design this only to be bigger, because you have a lot of top/left with heights and widths set also that require a minimal size an the bottom or right anchored stuff should never overflow the left/top stuff... so in this scenario you also want to have min-width and min-height stuff..

So you do want a lot of time the min width and height stuff to really be correct, the thing is that we never really did set that and that kind of was working for most people because of the whole thing was more relaxed, but it was not really correct...

What we now plan todo and i will also add this to the 2024.3.x stream (so 24.3.3 will very likely have this) that we rename the 2 form properties width and height to minWidth and minHeigth (to really reflect on what they really are) and introduce a "useMinWidth" and "useMinHeight" which can have 3 values: Default, True, False..

The default value is true, but you are able to override this default value through a ui property (to set it default to false, what it was before 2024.3.1)

Then you as a designer are in full control. This is just not something what we can guess or be smart about what you as a developer really mean..

If you now see scrollbars then it is very likely that you just designed you forms to be to big, or you show it in a tab or FID that is to small... because currently we really show it exactly how you designed it
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8846
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2024.3.2

Postby mboegem » Fri May 24, 2024 12:14 pm

That is clear and I agree, should be correct.

In the meantime I found the issue and maybe you can comment on that:

1) form in dialog
2) dialog + form settings are matching
3) the form is a css layout with a tabpanel anchored left-right-bottom
4) the tabpanel contains a form that is bigger than it should be.

This tab form causes the overflow on the main form.
Is this correct or should the tabpanel container show the scrollbars?
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1759
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Servoy 2024.3.2

Postby jcompagner » Mon May 27, 2024 9:12 am

are you sure it causing overflow on the main form? not in the tab?
but i guess we need to see this sample, to actually see what is going on because i guess currently you have 2 forms (the main for in the fid and the tab form in the tabpanel) that now both have min sizes set..

But as an example if you remove the tab form for a moment, or you make it much smaller then no overflows anymore (no scrollbars?)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8846
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 2024.3.2

Postby mboegem » Mon May 27, 2024 1:15 pm

It's definitely the main form that's overflowing.
Correcting the size of the form that is used in the tab resolves it (and it was too large anyway).

Unfortunately a similar structure in a sample solution doesn't show this, so it might be custom css that is causing it.
Need to dig in further.
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1759
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Servoy 2024.3.2

Postby huber » Wed May 29, 2024 3:30 pm

Using Developer Version 2024.03.2 and looking at the Property > Component settings, there is a difference of 1 property in the case where the data grid already existed, and when making a new data grid.

The difference is the property: continuousColumnsAutoSizing.

I also noted that for the new data did to enable auto resizing the columns, one just has to click the plus (+) button in the Value column to activate it, then a set of defaults appear.

Is my assumption correct, that both, the newly created and already existing data grids are the same, except the displaying of the continuousColumnsAutoSizing property on the already existing ones?

Regards,

new data grid.png



existing data grid.png
You do not have the required permissions to view the files attached to this post.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 522
Joined: Mon May 14, 2012 11:31 pm

Re: Servoy 2024.3.2

Postby paronne » Wed May 29, 2024 4:10 pm

Hi Robert,

the property continuousColumnsAutoSizing has been deprecated in favor of the columnsAutoSizeOn which has more fine-grained settings.
On new grids you don't see the boolean continuousColumnsAutoSizing but just the new columnsAutoSizeOn. For your existing grid you can also use columnsAutoSizeOn and discard the old continuousColumnsAutoSizing setting ( right click the property & restore to default ).
To note, since these settings are often global ( you normally want your grids to behave consistently across all forms ) could be configured globally using the NG Grid services:

Code: Select all
   var columnsAutoSizingOn = plugins.ngDataGrid.createColumnsAutoSizingOn();
   columnsAutoSizingOn.columnRowGroupChange = true;
   columnsAutoSizingOn.columnResize = false;
   columnsAutoSizingOn.displayedColumnsChange = true;
   columnsAutoSizingOn.gridSizeChange = true;
   columnsAutoSizingOn.toolPanelVisibleChange = false;
   plugins.ngDataGrid.columnsAutoSizingOn = columnsAutoSizingOn;


These settings basically define when the grid should recalculate column's width trying to fit all columns in available with without horizontal scrollbar ( if possible ).

Regards,
Paolo
paronne
 
Posts: 210
Joined: Fri Nov 02, 2012 3:21 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest

cron