| Author |
Message |
|
Stf
|
Post subject: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 11:07 am |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
YES SORRY IT IS ABOUT Text (with Image) not Title.
Drag a Text widget, the rectangle field is really too small ;-/
Drag a Text with Image widget, its 3 items inside its external frame are not well positioned.
Bold 'Title' is on top left, OK correct. The title field is just below OK correct, though not very large.
Its display is not correct, no tiny-mce menus, nor camera+- Need to publish and re-edit it to see the correct widgets with the rules and camera+-
Last edited by Stf on Tue Jan 17, 2012 12:37 pm, edited 1 time in total.
|
|
 |
|
 |
|
Audrius
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 12:26 pm |
|
 |
| Project Manager |
Joined: Wed Nov 25, 2009 9:40 am Posts: 421
|
|
Are you talking about Title or Text widget?
If talk about Text widget and you see textarea instead of tinymce, it means Javascript didn't properly load. Try to catch when does this happen. If you can tell exactly how to reproduce it every time, we can faster find the issue and solve it. What we already know is that for some reason it happens (sometimes but not always) when you first time open the page. Refresh the page, or click save, page should refresh and everything should work.
|
|
 |
|
 |
|
Stf
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 12:49 pm |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
I tried several times and here it happens all the time. I am working with Cache Disabled all the time!
Safari Inspector reports a Warning:
Ressource interprétée comme Script mais transférée avec un type MIME text/html. /v2/en/?g=standard&m=configuration&a=tinymceConfig&cms_action=manage:-1
Which means "Ressource was interpreted as a Script but transfered with a MIME text/html type". But this happens on (all?) pages not just on pages with Text with Image.
I got also these 2 errors, but it was also in v1 for (almost?) all the pages.
Refused to set unsafe header "Content-length" Refused to set unsafe header "Connection"
|
|
 |
|
 |
|
Stf
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 1:00 pm |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
I don't know if it is linked, just thinking sideways...
When I tried to accelerate js,css etc, I red that loading a .js stop the rendering of the page until it is fully loaded.
As 4 (huge) Javascript are at the bottom of main.php perhaps, the page renders until we see the 3 items in incorrect position then another js is loaded afterwards but too late to finish the correct display.
That would explain that for me it happens all the time, cache always OFF.
Why not moving these 4 .js in <HEAD> ? Like that the browser can download several of them in parallel if it is in <HEAD>
I see also that the <!doctype, <html... are not fully defined.
|
|
 |
|
 |
|
Audrius
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 1:19 pm |
|
 |
| Project Manager |
Joined: Wed Nov 25, 2009 9:40 am Posts: 421
|
|
You are right, rendering is stopped if Javascript needs to be loaded. That's why Javascript files are moved to the bottom. It means that page is fully downloaded and rendered and only after that Javascript starts the download.
The best user experience is to see that website first, and only then wait for the tools to load. Otherwise, users get frustrated seeing nothing and just waiting. Putting Javascript to the <head> will mean more waiting and less seeing. Even if the Javascript is not fully loaded, you can navigate to other page much much faster.
Doctype is set correctly. Default theme and all the system is build on HTML5 and its doctype is as simple as this: <!DOCTYPE html>
In ip_config.php you can define other doctypes upon your needs.
|
|
 |
|
 |
|
Stf
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 2:00 pm |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
Here are the things I noticed during lot of test of TwI.
I work with Safari with or without Cache, each time a new serie of tests is made, I close all windows, clean history, cache.... with or without logout.
Follow the exact order of all blocks below. I reproduce them each time.
Empty Page. Put a TwI, bad display. Save Now Edit, correct display.
Delete the TwI from the page. Save Now Put a TwI, bad display.
Delete the TwI. Put a TWI, bad display. Click on the button/menu title (eg All in One) Edit, correct display.
I forgot...
In a page where the TwI is correct, adding others and they all be correct too.
In a page where the TwI is bad, adding others and they all be bad too.
If you want more tests, tell me.
|
|
 |
|
 |
|
Stf
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 2:15 pm |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
This applies also to Image Widget.
|
|
 |
|
 |
|
Audrius
|
Post subject: Re: RC1: Text (with Image) too small and bad display Posted: Tue Jan 17, 2012 4:52 pm |
|
 |
| Project Manager |
Joined: Wed Nov 25, 2009 9:40 am Posts: 421
|
|
Thanks a lot! Looks like the same issue - javascript isn't loading on empty pages when first time visiting it. We'll try to catch that 'fast running' bug =]
|
|
 |
|
 |
|