More about Flashing records

Questions and answers for designing and implementing forms in Servoy

More about Flashing records

Postby antonio » Fri Nov 16, 2012 4:10 am

Anyone else seeing this in Servoy 5.2.x, on a tableview form (+/- in a tabpanel) containing a button with imageMedia, the records flash/blink sequentially in Web Client for a few seconds.
Removing the media resolves the problem.
This started sometime around 5.2.13 and persists in 5.2.15, wasn't present in 5.2.12.
Last edited by antonio on Thu Dec 27, 2012 6:21 am, edited 2 times in total.
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: Flashing records

Postby antonio » Wed Dec 19, 2012 5:50 pm

Would be interested to know if others see this, affects Webclient
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: More about Flashing records

Postby antonio » Thu Dec 27, 2012 6:21 am

Still puzzled by this, it's happening on Servoy 5.2.15, Mac OSX 10.7, java.version=1.6.0_26, Webclient in Safari.

To see if the rowBGColorCalculation was involved, I changed the method to
Code: Select all
function rowBGColorCalculation(index, selected, elementType, dataProviderID, formName, record, edited) {
   application.output(utils.dateFormat(application.getTimeStamp(),"HH:mm:ss.SSS") + " rowBGColorCalculation triggered on " + formName + " index=" + index + " selected=" + selected)
   if (selected)
      return '#FFFFCC'; // yellow
   else if (index % 2)
      return '#F2F2F2'; // grey
   else
      return '#FFFFFF'; // white
}

and I now see the rowBGColorCalculation method looping repeatedly through all 7 displayed records in the first few seconds from the time the form show.
I also note that the first record (index 0) alternated between being selected = true and selected = false
Anyone got ideas on why this would happen?

02:12:56.653 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=false
02:12:56.654 rowBGColorCalculation triggered on ce_tab_invoice_items index=1 selected=false
02:12:56.655 rowBGColorCalculation triggered on ce_tab_invoice_items index=2 selected=false
02:12:56.657 rowBGColorCalculation triggered on ce_tab_invoice_items index=3 selected=false
02:12:56.658 rowBGColorCalculation triggered on ce_tab_invoice_items index=4 selected=false
02:12:56.664 rowBGColorCalculation triggered on ce_tab_invoice_items index=5 selected=false
02:12:56.910 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=true
02:12:57.561 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=false
02:12:57.562 rowBGColorCalculation triggered on ce_tab_invoice_items index=1 selected=false
02:12:57.562 rowBGColorCalculation triggered on ce_tab_invoice_items index=2 selected=false
02:12:57.563 rowBGColorCalculation triggered on ce_tab_invoice_items index=3 selected=false
02:12:57.564 rowBGColorCalculation triggered on ce_tab_invoice_items index=4 selected=false
02:12:57.564 rowBGColorCalculation triggered on ce_tab_invoice_items index=5 selected=false
02:12:57.565 rowBGColorCalculation triggered on ce_tab_invoice_items index=6 selected=false
02:12:57.578 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=true
02:12:57.860 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=false

02:12:57.861 rowBGColorCalculation triggered on ce_tab_invoice_items index=1 selected=false
02:12:57.862 rowBGColorCalculation triggered on ce_tab_invoice_items index=2 selected=false
02:12:57.863 rowBGColorCalculation triggered on ce_tab_invoice_items index=3 selected=false
02:12:57.864 rowBGColorCalculation triggered on ce_tab_invoice_items index=4 selected=false
02:12:57.865 rowBGColorCalculation triggered on ce_tab_invoice_items index=5 selected=false
02:12:57.866 rowBGColorCalculation triggered on ce_tab_invoice_items index=6 selected=false
02:12:57.877 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=true
02:12:58.142 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=false

02:12:58.143 rowBGColorCalculation triggered on ce_tab_invoice_items index=1 selected=false
02:12:58.143 rowBGColorCalculation triggered on ce_tab_invoice_items index=2 selected=false
02:12:58.144 rowBGColorCalculation triggered on ce_tab_invoice_items index=3 selected=false
02:12:58.145 rowBGColorCalculation triggered on ce_tab_invoice_items index=4 selected=false
02:12:58.145 rowBGColorCalculation triggered on ce_tab_invoice_items index=5 selected=false
02:12:58.146 rowBGColorCalculation triggered on ce_tab_invoice_items index=6 selected=false
02:12:58.153 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=true
02:12:58.428 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=false

02:12:58.430 rowBGColorCalculation triggered on ce_tab_invoice_items index=1 selected=false
02:12:58.434 rowBGColorCalculation triggered on ce_tab_invoice_items index=2 selected=false
02:12:58.435 rowBGColorCalculation triggered on ce_tab_invoice_items index=3 selected=false
02:12:58.435 rowBGColorCalculation triggered on ce_tab_invoice_items index=4 selected=false
02:12:58.436 rowBGColorCalculation triggered on ce_tab_invoice_items index=5 selected=false
02:12:58.437 rowBGColorCalculation triggered on ce_tab_invoice_items index=6 selected=false
02:12:58.444 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=true
02:12:58.714 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=false

02:12:58.716 rowBGColorCalculation triggered on ce_tab_invoice_items index=1 selected=false
02:12:58.716 rowBGColorCalculation triggered on ce_tab_invoice_items index=2 selected=false
02:12:58.717 rowBGColorCalculation triggered on ce_tab_invoice_items index=3 selected=false
02:12:58.718 rowBGColorCalculation triggered on ce_tab_invoice_items index=4 selected=false
02:12:58.719 rowBGColorCalculation triggered on ce_tab_invoice_items index=5 selected=false
02:12:58.719 rowBGColorCalculation triggered on ce_tab_invoice_items index=6 selected=false
02:12:58.730 rowBGColorCalculation triggered on ce_tab_invoice_items index=0 selected=true


There after it just fires once every 5 seconds, only on the selected record.

15:30:12.752 rowBGColorCalculation triggered on ce_frm_invoice_items_extras index=0 selected=true
15:30:17.820 rowBGColorCalculation triggered on ce_frm_invoice_items_extras index=0 selected=true
15:30:23.199 rowBGColorCalculation triggered on ce_frm_invoice_items_extras index=0 selected=true
15:30:28.286 rowBGColorCalculation triggered on ce_frm_invoice_items_extras index=0 selected=true
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: More about Flashing records

Postby antonio » Thu Dec 27, 2012 7:35 am

BTW, I think the imageMedia comment above is a false lead.
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: More about Flashing records

Postby Joas » Mon Jan 07, 2013 3:59 pm

It looks like this is about the same issue: https://support.servoy.com/browse/SVY-3534
It is planned to be fixed in 5.2.16.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: More about Flashing records

Postby antonio » Mon Jan 07, 2013 11:46 pm

Thanks, good to know.
When I click on that link I get
Permission Violation
It seems that you have tried to perform an operation which you are not permitted to perform.
If you think this message is wrong, please contact your JIRA administrators.

and searching for SVY-3534 yields no results in https://support.servoy.com
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: More about Flashing records

Postby Joas » Wed Jan 09, 2013 10:47 am

I now see that the case isn't public, sorry about that.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: More about Flashing records

Postby antonio » Thu Jan 10, 2013 1:35 am

Any ETA on 5.2.16?
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: More about Flashing records

Postby lwjwillemsen » Thu Feb 21, 2013 4:01 pm

We have a bunch of unsatisfied customers at his moment with webclient 5.2.15 regarding this problem in this thread https://support.servoy.com/browse/SVY-3534.

1) Servoy, please release 5.2.16 if this problem is fixed.
2) Servoy, please make this case public so we can check for 99.9 % if we are talking about the same problem here.

Thanks and regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands


Return to Forms

Who is online

Users browsing this forum: Google [Bot] and 6 guests