-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Long delay for polymer element to display #12362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This comment was originally written by [email protected] Additional info: Dartium is the browser. Dartium displays "connecting" and (sometimes) "waiting for cache" during the delay |
What happens when you try a non-polymer app on Ubuntu? Perhaps a Web UI app? |
This comment was originally written by [email protected] The sample Web UI app generated by Dart shows a delay, but it's about half as long as the polymer delay. The "connecting" message flashes but I never see the "waiting for cache" message. |
Added Area-Polymer, OpSys-Linux, Triaged labels. |
I'm sorry, I can't reproduce this. Can you attach a screenshot of Dev Tools network tab and Dev Tools Timeline tab? |
This comment was originally written by [email protected] Screen shots attached Attachments: |
This comment was originally written by [email protected] Note - The screen shots above are from my application. I get the same results by creating and running a new polymer app. |
Added this to the M8 milestone. |
are you loading from file:// URL or from http:// ? does it make a difference? can you try: |
Added NeedsInfo label. |
Removed this from the M8 milestone. |
Removed Library-HtmlImports label. |
Added AssumedStale label. |
This issue was originally filed by [email protected]
There is a 3-4 second delay between the time the content of a page displays and the time the polymer element displays.
This is an issue on ubuntu 13.04, 32bit. There is no delay running equivalent code on Win8, 64bit.
dart_test.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dart test</title>
<link rel="stylesheet" href="dart_test.css">
<link rel="import" href="packages/dart_test/footer.html">
</head>
<body>
<h1>Dart test</h1>
<p>Hello world from Dart!</p>
<div id="sample_container_id">
<p id="sample_text_id"></p>
</div>
<my-footer></my-footer>
<script type="application/dart" src="dart_test.dart"></script>
<script src="packages/polymer/boot.js"></script>
</body>
</html>
lib/footer.html
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<polymer-element name="my-footer" >
<template>
<p>here is the footer</p>
<script type="application/dart" src="footer.dart"></script>
</template>
</polymer-element>
</body>
</html>
lib/footer.dart
import 'package:polymer/polymer.dart';
@CustomTag("my-footer")
class MyFooter extends PolymerElement {
}
pubspec.lock
Generated by pub
See http://pub.dartlang.org/doc/glossary.html#lockfile
packages:
analyzer_experimental:
description: analyzer_experimental
source: hosted
version: "0.6.15+3"
args:
description: args
source: hosted
version: "0.6.15+3"
browser:
description: browser
source: hosted
version: "0.6.15+3"
csslib:
description: csslib
source: hosted
version: "0.4.7+11"
custom_element:
description: custom_element
source: hosted
version: "0.6.15+3"
fancy_syntax:
description: fancy_syntax
source: hosted
version: "0.0.7"
html5lib:
description: html5lib
source: hosted
version: "0.4.4"
html_import:
description: html_import
source: hosted
version: "0.6.15+3"
logging:
description: logging
source: hosted
version: "0.6.15+3"
mdv:
description: mdv
source: hosted
version: "0.6.15+3"
meta:
description: meta
source: hosted
version: "0.6.15+3"
mutation_observer:
description: mutation_observer
source: hosted
version: "0.6.15+3"
observe:
description: observe
source: hosted
version: "0.6.15+3"
path:
description: path
source: hosted
version: "0.6.15+3"
polymer:
description: polymer
source: hosted
version: "0.5.3"
serialization:
description: serialization
source: hosted
version: "0.6.15+3"
shadow_dom:
description: shadow_dom
source: hosted
version: "0.6.15+3"
source_maps:
description: source_maps
source: hosted
version: "0.6.15+3"
stack_trace:
description: stack_trace
source: hosted
version: "0.6.15+3"
unittest:
description: unittest
source: hosted
version: "0.6.15+3"
unmodifiable_collection:
description: unmodifiable_collection
source: hosted
version: "0.6.15+3"
The text was updated successfully, but these errors were encountered: