Browser: Flash of non-laid-out content

Bug #492431 reported by Nick Chadwick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Triaged
Low
Unassigned

Bug Description

When page loading (and possibly navigating), there is a short period of
time when the UI is shown unstyled and not laid out properly. This quickly
corrects itself but is distracting.

Only started happening recently. Could be due to the upload_iframe.
Possibly delaying the loading of the iframe till the Send button is pressed
will solve this issue.

2008-02-06 10:20
mattgiuca Says:
'I think this isn't to do with the iframe. It's just because the JS is
generating everything.
The 'correct' solution to this is to have all the layout for each sub-app
be done by python. This was originally infeasible because the JS had to
keep changing the sub-app when you nav, but it doesn't anymore, it reloads
the page from the server.

So what might need to happen is push a lot of that code for deciding what
sub-app to use and layout of the top layers of the subapps from the client
to the server.

This would have been better when we started, but is the refactor worth it?'

2008-02-28 19:20
mattgiuca Says:
'The refactor has now _almost_ been done. Python just needs to do a little
more work to generate the listing frame itself instead of letting the JS do
it. Then the 'flash' will be gone.'

2008-07-14 16:45
wagrant Says:
'I don't think there's much point duplicating the listing generation code
server-side. The flash is rather minimal now, and the code duplication
would induce much pain.'

Tags: filebrowser js ui
William Grant (wgrant)
tags: added: filebrowser js ui
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.