cancel
Showing results for 
Search instead for 
Did you mean: 

Personas Slipstream - Any advice on preventing the wait indicator?

former_member238607
Participant

Hi,

We are running Personas 3.0 SP7. I'm in the process of creating new flavors for Slipstream. So far, they are all being designed to display on a PC or laptop (no mobile flavors yet).

Slipstream uses two indicators when it is busy/loading; it fades the screen (which makes it flash in my case because I have a darker background) and shows a rotating circle.

My issue is that this seems to occur often - too often in my opinion. I opened an incident with SAP on this, but I was told "Our development team confirmed that this is expected behavior. It is the busy loading indicator. It is shown only if the http request takes longer than a threshold time length. And removed when the http request is completed."

That is fine when I'm switching between flavors, but I'm also getting it on actions that I don't think I should. For instance, I'm using ViewPorts to hide and show groups of Fiori-style tiles on SMEN. This worked fine (no screen flashes) until I added the following line of JavaScript to the onAfterRefresh event (I can't use onLoad as that event does not fire when switching between viewports).

session.findById("wnd[0]/titl").text = session.utils.get("SMEN_Heading");

As you can see, all I'm doing is setting the title text for the ViewPort, but that is apparently enough to cause a brief screen flash. Oddly, this only happens on the first time I switch to the ViewPort; subsequent returns to this ViewPort do not cause the screen flash.

I am experiencing this issue on other flavors as well. I have an IW21 flavor with a group of five radio buttons which fire the onSelect event. The first time a radio button is selected, the screen flashes. It does not flash on subsequent radio button selections.

I'm wondering if anyone else is experiencing this issue, and if so, have you found any solutions for it? Both actions which I describe above occur in under one second. It seems excessive to show a wait indicator for such a short wait. And, to me anyway, it disrupts the user experience when the screen flashes all the time.

If anyone from SAP is reading this post, is there any way to:

  1. Extend the threshold time length to prevent this action on short delays.
  2. Have the ability to turn off the screen flash/fade when this behavior is triggered. I personally would find it much less distracting if the screen only showed the rotating circle (similar to the bubbles shown in the traditional rendering engine) and did not also flash/fade.

If these options are not currently available, could they be added in a note, or at least in an upcoming service pack? I'm excited to roll out Slipstream to our users, and I want their experience to be the best it can be.

Thank you very much for your help!

Accepted Solutions (0)

Answers (3)

Answers (3)

kmagons
Advisor
Advisor

Hello,

It is possible to override the default 400ms timeout for the Slipstream Engine busy indicator by adding sap-se-loader-delay=<XXX> URL parameter where <XXX> represents the desired timeout in milliseconds.

Thank you!

Best regars,

Krists Magons

SAP Screen Personas Dev Team

BrendanFarthing
Participant
0 Kudos

Hi Krists,

Thanks very much, this fixes our issue and now gives a clean user experience.

Regards,

Brendan

0 Kudos

Thank you Krists! Agree with Brendan. A much cleaner user experience with no uneccesary dimmed screen and load-icon

BrendanFarthing
Participant

jeff.welsh, did you ever find a solution to this? We just upgraded our Personas to SP09 to use Slipstream and I totally agree with what you have said. It's very disappointing to see this behaviour and will be very distracting for the users to have the wait icon blinking on an off all the time when it shouldn't be.

It's also happening for me for script executions that take half a second or less. That is too soon.

I'm also a UI5 developer and best practice from SAP with Fiori development is not to invoke the wait icon until after 1 second of delay has passed.

I did a quick inspection of the Slipstream code via F12 in Chrome and can see that SAP have overridden sap.ui.core.Control busy indicator delay of 1000ms (best practice) with sap.se.ui.control.BusyIndicator and a delay of 400ms which is too short.

If I override the delay = 400 with the best practice value of 1000 in Chrome and test my Personas, then my issue goes away.

I may also raise an incident with SAP about this. 400ms may be ok for a user sitting on the same LAN as the SAP system, but it's not good for companies with large global WANs like us where response time isn't quite as quick.

Brendan...

0 Kudos

I was looking for the same exact thing and found only this thread that was not closed. Maybe I should not reply to an old thread but it seemed better than opening a new one..

The wait indicator makes Personas/Slipstream seem slower than it is for the end user..

jeff.welsh brendan.farthing3 Did you get any clarity into this? Any way of extending the time for wait indicator?

BrendanFarthing
Participant
0 Kudos

Krists from SAP replied above just after your question. This has fixed the issue for me.