The last problem we have is a very bad performance of the clear proc in our frms.
We use the function $paintedfieldproperties to construct our grid with a "Sheet" aspect like the screenshot below.
After a retrieve for example, when the screen is full of data , now, when we do the classic "clear" process to empty the screen as usual,
the lines goes empty but very slowly, line by line...
It is not at all the case with Uniface 9.7, actually in production mode.
This gives a very bad user experience and may jeopardize our migration to U10.
Is there a way to improve this clear process ?
Thank you very much for your help
PS: we are testing U 10.4.01.003
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
The last problem we have is a very bad performance of the clear proc in our frms.
We use the function $paintedfieldproperties to construct our grid with a "Sheet" aspect like the screenshot below.
After a retrieve for example, when the screen is full of data , now, when we do the classic "clear" process to empty the screen as usual,
the lines goes empty but very slowly, line by line...
It is not at all the case with Uniface 9.7, actually in production mode.
This gives a very bad user experience and may jeopardize our migration to U10.
Is there a way to improve this clear process ?
Thank you very much for your help
PS: we are testing U 10.4.01.003
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
Ciao Daniel,
my gotfeel reaction is: what could be happening here? clear instruction is not an issue for me since U5!
Uniface screen driver is always painting on screen from bottom to top; in some cases I have seen the runtime clearing row by row but always fast enough to not be considered an issue.
Usually my use case for $paintedfieldproperties is to put a button on top of a label or to move a field in a specific position. I never used it to paint a whole (and probably complex!) grid.
The picture you've posted does NOT seems to require a lot of "... function $paintedfieldproperties to construct our grid with a "Sheet" aspect like the screenshot below ..." because a Uniface form with occurrences repetition is already a "grid with a "Sheet" aspect".
My thoughts leads to my questions:
- what use for $paintedfieldproperties are you coding?
- in your <CLEAR> action the performance issue is verified for a simple clear instruction or do you have a more complex coding for that?
Regards,
Gianni
------------------------------
Gianni Sandigliano
IT
------------------------------
Ciao Daniel,
my gotfeel reaction is: what could be happening here? clear instruction is not an issue for me since U5!
Uniface screen driver is always painting on screen from bottom to top; in some cases I have seen the runtime clearing row by row but always fast enough to not be considered an issue.
Usually my use case for $paintedfieldproperties is to put a button on top of a label or to move a field in a specific position. I never used it to paint a whole (and probably complex!) grid.
The picture you've posted does NOT seems to require a lot of "... function $paintedfieldproperties to construct our grid with a "Sheet" aspect like the screenshot below ..." because a Uniface form with occurrences repetition is already a "grid with a "Sheet" aspect".
My thoughts leads to my questions:
- what use for $paintedfieldproperties are you coding?
- in your <CLEAR> action the performance issue is verified for a simple clear instruction or do you have a more complex coding for that?
Regards,
Gianni
------------------------------
Gianni Sandigliano
IT
------------------------------
Thanks for your very quick answer ! :)
> For the first point, we use $paintedfieldproperties for each field, because each user can place (or not) each field in the column he wants.
Some users need to work on some info, others on some others.
After that we store the template of the positions of each field of the grid for each user. (& so on for all the grids)
> Our clear instruction is called with an included proc where there is with some more code (for messages for example) but nothing tremendous.
Anyway, exactly the same code has not the same behavior in 9.7 because the screen goes blanck immediatly and there is not this effect "clear line by line"
Very strange .. I 'm afraid that will be a complicate thing to fix
Best Regards
Daniel
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
Thanks for your very quick answer ! :)
> For the first point, we use $paintedfieldproperties for each field, because each user can place (or not) each field in the column he wants.
Some users need to work on some info, others on some others.
After that we store the template of the positions of each field of the grid for each user. (& so on for all the grids)
> Our clear instruction is called with an included proc where there is with some more code (for messages for example) but nothing tremendous.
Anyway, exactly the same code has not the same behavior in 9.7 because the screen goes blanck immediatly and there is not this effect "clear line by line"
Very strange .. I 'm afraid that will be a complicate thing to fix
Best Regards
Daniel
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
Ciao Daniel,
IMHO because of your use case Uniface runtime if forced to clear fields one by one and considering the grid is including many fields it is requiring time.
If effectively U9 does not shown same (bad) behaviour, being in your shoes I would open a case with support about performance regression.
Have a nice sunday!
Gianni
------------------------------
Gianni Sandigliano
IT
------------------------------
Ciao Daniel,
IMHO because of your use case Uniface runtime if forced to clear fields one by one and considering the grid is including many fields it is requiring time.
If effectively U9 does not shown same (bad) behaviour, being in your shoes I would open a case with support about performance regression.
Have a nice sunday!
Gianni
------------------------------
Gianni Sandigliano
IT
------------------------------
Have a nice sunday too
Daniel
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
The last problem we have is a very bad performance of the clear proc in our frms.
We use the function $paintedfieldproperties to construct our grid with a "Sheet" aspect like the screenshot below.
After a retrieve for example, when the screen is full of data , now, when we do the classic "clear" process to empty the screen as usual,
the lines goes empty but very slowly, line by line...
It is not at all the case with Uniface 9.7, actually in production mode.
This gives a very bad user experience and may jeopardize our migration to U10.
Is there a way to improve this clear process ?
Thank you very much for your help
PS: we are testing U 10.4.01.003
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
Could you try if disabling the PaintCache INI-setting resolves the performance issue?
[upi] PaintCache= False
By default the mentioned setting is enabled ("True").
I hope this helps.
Daniel
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Could you try if disabling the PaintCache INI-setting resolves the performance issue?
[upi] PaintCache= False
By default the mentioned setting is enabled ("True").
I hope this helps.
Daniel
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Effectively , that seems better with paintcache set to false in the INI
I have to test deeper to see if there are no collateral effects...
Thanks a lot for this advice !
Best Regards
Daniel
------------------------------
Cabero Daniel
Lead of IT R&D Lidea
Euralis Semences
MONDONVILLE FR
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
