Page 1 of 1

Preview on Chrome

Posted: Wed May 28, 2014 9:36 am
by dau
Using Chrome, I've:
1. created a new display, from scratch;
2. renamed the record format;
3. inserted a "Mobile Device Layout";
4. maximized it;
5. inserted a "Label" on the (canvas of the) mobile device layout.

When I launch the preview, I see the blue top bar and, right below it, the black bottom bar and then, below this two, everything's white.
No sign of the label at all.

On IE, the preview works fine, i.e.:
- blue top bar on top;
- label appears on the canvas (between the top and bottom bars);
- black bottom bar on the bottom.

If I press F12 on Chrome, I can see this error:
"Failed to load resource: the server responded with a status of 404 (Not Found) http://my_iSeries:8080/profoundui/userdata/css/custom.css".
I'm pretty sure this is causing the problem. Why is it trying to load custom.css with Chrome but not with IE (F12 on IE shows no errors)?

Edit:
The Chrome's error message has disappeared. We have a designer working on the custom.css; that explains the error, but the preview still doesn't work on Chrome.
All I can see now is the warning: "Viewport target-densitydpi is not supported. start?mode=preview:8"
If i click on "start?mode=preview:8" it shows me this script:

Code: Select all

<script>
    window.onload = function() { pui.start() };
  </script>
Preview still working on IE.

Thanks.

Re: Preview on Chrome

Posted: Wed May 28, 2014 3:17 pm
by Scott Klement
I'm trying to reproduce this... I think I followed your steps... opened up the designer in Chrome. Set record format name to "test." Dragged a Mobile Layout, maximized it. Added a label. This is what I have so far:
chrome1.png
chrome1.png (112.26 KiB) Viewed 747 times

Next, I click Launch/Launch Preview. On the subsequent screen (where I'd supply input field values if there were any) I click the Launch Preview button. This is what I see after doing that:
chrome2.png
chrome2.png (52.39 KiB) Viewed 747 times

As you can see, the label is showing up for me... This is using Profound UI version 4.8.4, Chrome version 35.0.1916.114 m.

Assuming I've run the proper steps to reproduce, is it possible that you have a different version of Profound UI or Chrome? Or, did I leave out some steps needed to reproduce the problem?

Thanks

Re: Preview on Chrome

Posted: Thu May 29, 2014 5:25 am
by dau
I'm using Profound UI version 4.8.4, Chrome version 29.0.1547.57 m.
I'll give it a try on an up-to-date version of Chrome.
Thanks, Scott.