Skip to content
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

lume.io - Page does not fully load #88484

Closed
emilio opened this issue Sep 30, 2021 · 10 comments
Closed

lume.io - Page does not fully load #88484

emilio opened this issue Sep 30, 2021 · 10 comments
Labels
browser-fenix engine-gecko The browser uses the Gecko rendering engine priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. type-css Generic CSS issues
Milestone

Comments

@emilio
Copy link

emilio commented Sep 30, 2021

URL: https://lume.io/

Browser / Version: Firefox Mobile 94.0
Operating System: Android 11
Tested Another Browser: Yes Chrome

Problem type: Design is broken
Description: Items not fully visible
Steps to Reproduce:
I only see the background while in Chromium there's a spinning cube and letters.

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20210927093458
  • channel: nightly
  • hasTouchScreen: true
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone Sep 30, 2021
@webcompat-bot webcompat-bot added browser-fenix engine-gecko The browser uses the Gecko rendering engine labels Sep 30, 2021
@softvision-raul-bucata softvision-raul-bucata added severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. priority-normal type-css Generic CSS issues labels Sep 30, 2021
@softvision-raul-bucata softvision-raul-bucata changed the title lume.io - design is broken lume.io - Page does not fully load Sep 30, 2021
@softvision-raul-bucata
Copy link

softvision-raul-bucata commented Sep 30, 2021

@emilio We appreciate your report. I was able to reproduce the issue. The page does not fully load, making the logo and the burger menu not available:

Screenshot_136

Tested with:
Browser / Version: Firefox Nightly 94.0a1 (2015836875 -🦎94.0a1-20210927093458🦎)/ Chrome Mobile Version 94.0.4606.61
Operating System: Samsung A51 (Android 11) -1080 × 2400 pixels 20:9 aspect ratio (~405 ppi density)

Notes:

  1. Reproducible regardless of the status of ETP
  2. Reproducible on the latest build of Firefox Nightly
  3. Works as expected using Chrome:

Screenshot_137

Moving this to NeedsDiagnosis for further investigations.

@emilio
Copy link
Author

emilio commented Sep 30, 2021

Seems like poor UA sniffing (if I use Chrome's UA string then it renders fine).

On desktop, the menu is mispositioned. That is a Chrome bug :-(

@karlcow
Copy link
Member

karlcow commented Oct 4, 2021

with Firefox UA.

09:20:39.902
Uncaught Error: Cannot find module '@babel/runtime/helpers/createSuper'
    makeMissingError modules-runtime.js:232
    resolve modules-runtime.js:238
    moduleLink modules.js:327
    module BrowserRandomGenerator.js:1
    fileEvaluate modules-runtime.js:346
    require modules-runtime.js:248
    moduleLink modules.js:334
    module main_client.js:1
    fileEvaluate modules-runtime.js:346
    require modules-runtime.js:248
    require modules-runtime.js:268
    <anonymous> random.js:543
    <anonymous> random.js:550
modules-runtime.js:232:12
09:20:39.902
Uncaught TypeError: can't access property "Random", Package.random is undefined
    <anonymous> https://lume.io/packages/mongo-id.js?hash=add660f006b87f65702a03c629f1d5c7577f5b2e:19
    <anonymous> https://lume.io/packages/mongo-id.js?hash=add660f006b87f65702a03c629f1d5c7577f5b2e:214
mongo-id.js:19:14
09:20:39.967
Uncaught TypeError: can't access property "MongoID", Package['mongo-id'] is undefined
    <anonymous> https://lume.io/packages/minimongo.js?hash=94bf641949d8d281c6266506b8323e6e44efb78a:21
    <anonymous> https://lume.io/packages/minimongo.js?hash=94bf641949d8d281c6266506b8323e6e44efb78a:5057
minimongo.js:21:15
09:20:40.057
Uncaught TypeError: can't access property "Random", Package.random is undefined
    <anonymous> https://lume.io/packages/retry.js?hash=422b8713b5b9f7092cfeb07cb4c48aff0f7ae0fe:17
    <anonymous> https://lume.io/packages/retry.js?hash=422b8713b5b9f7092cfeb07cb4c48aff0f7ae0fe:130
retry.js:17:14
09:20:40.061
Uncaught TypeError: can't access property "Random", Package.random is undefined
    <anonymous> https://lume.io/packages/ddp-common.js?hash=983b30b0cd2b4381c95c2ed8e76782751c78d190:19
    <anonymous> https://lume.io/packages/ddp-common.js?hash=983b30b0cd2b4381c95c2ed8e76782751c78d190:604
ddp-common.js:19:14
09:20:40.126
Uncaught TypeError: can't access property "Retry", Package.retry is undefined
    <anonymous> https://lume.io/packages/socket-stream-client.js?hash=03615603f78f77c2ea0628c2413494bc05c521c4:17
    <anonymous> https://lume.io/packages/socket-stream-client.js?hash=03615603f78f77c2ea0628c2413494bc05c521c4:3413
socket-stream-client.js:17:13
09:20:40.126
Uncaught TypeError: can't access property "Random", Package.random is undefined
    <anonymous> https://lume.io/packages/ddp-client.js?hash=94022e4fec4ac9407727cec33b36df7d5bdbc328:19
    <anonymous> https://lume.io/packages/ddp-client.js?hash=94022e4fec4ac9407727cec33b36df7d5bdbc328:2413
ddp-client.js:19:14
09:20:40.140
Uncaught TypeError: can't access property "DDP", Package['ddp-client'] is undefined
    <anonymous> https://lume.io/packages/ddp.js?hash=675438ff1bf207eeda74d574359af6643aefb5fd:14
    <anonymous> https://lume.io/packages/ddp.js?hash=675438ff1bf207eeda74d574359af6643aefb5fd:23
ddp.js:14:11
09:20:40.146
Uncaught TypeError: can't access property "LocalCollection", Package.minimongo is undefined
    <anonymous> https://lume.io/packages/allow-deny.js?hash=7727e9fca720911a699e6a987c2562894e533370:17
    <anonymous> https://lume.io/packages/allow-deny.js?hash=7727e9fca720911a699e6a987c2562894e533370:567
allow-deny.js:17:23
09:20:40.249
Uncaught TypeError: can't access property "AllowDeny", Package['allow-deny'] is undefined
    <anonymous> https://lume.io/packages/mongo.js?hash=fe5542c126711cb10ce4f2b05a0240c8b72c7a01:17
    <anonymous> https://lume.io/packages/mongo.js?hash=fe5542c126711cb10ce4f2b05a0240c8b72c7a01:890
mongo.js:17:17
09:20:40.494
Uncaught TypeError: can't access property "Retry", Package.retry is undefined
    <anonymous> https://lume.io/packages/autoupdate.js?hash=1a69401432fc42465896ca10af036cd7d9cfafdd:19
    <anonymous> https://lume.io/packages/autoupdate.js?hash=1a69401432fc42465896ca10af036cd7d9cfafdd:398
autoupdate.js:19:13
09:20:40.518
Uncaught TypeError: can't access property "DDP", Package['ddp-client'] is undefined
    <anonymous> https://lume.io/packages/livedata.js?hash=811a830b121820dfa3b755a47c2b7ecf871458ba:14
    <anonymous> https://lume.io/packages/livedata.js?hash=811a830b121820dfa3b755a47c2b7ecf871458ba:27
livedata.js:14:11
09:20:40.592
Uncaught TypeError: can't access property "MongoID", Package['mongo-id'] is undefined
    <anonymous> https://lume.io/packages/observe-sequence.js?hash=027fc9f2ee79693a7ad95bebcb456b9753cb463e:19
    <anonymous> https://lume.io/packages/observe-sequence.js?hash=027fc9f2ee79693a7ad95bebcb456b9753cb463e:403
observe-sequence.js:19:15
09:20:40.623
Uncaught TypeError: can't access property "ObserveSequence", Package['observe-sequence'] is undefined
    <anonymous> https://lume.io/packages/blaze.js?hash=a8556108306b4c6c9b96fddb067c7f600610471a:22
    <anonymous> https://lume.io/packages/blaze.js?hash=a8556108306b4c6c9b96fddb067c7f600610471a:3840
blaze.js:22:23
09:20:40.632
Uncaught TypeError: can't access property "ObserveSequence", Package['observe-sequence'] is undefined
    <anonymous> https://lume.io/packages/spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:17
    <anonymous> https://lume.io/packages/spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:331
spacebars.js:17:23
09:20:40.652
Uncaught TypeError: can't access property "Blaze", Package.blaze is undefined
    <anonymous> https://lume.io/packages/templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:18
    <anonymous> https://lume.io/packages/templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:252
templating-runtime.js:18:13
09:20:40.655
Uncaught TypeError: can't access property "Template", Package['templating-runtime'] is undefined
    <anonymous> https://lume.io/packages/templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:14
    <anonymous> https://lume.io/packages/templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:23
templating.js:14:16
09:20:40.723
Uncaught TypeError: can't access property "Blaze", Package.blaze is undefined
    <anonymous> https://lume.io/packages/ui.js?hash=031fb920f319365bcbefef5b67033495d338c395:14
    <anonymous> https://lume.io/packages/ui.js?hash=031fb920f319365bcbefef5b67033495d338c395:27
ui.js:14:13
09:20:40.872
Uncaught TypeError: can't access property "Mongo", Package.mongo is undefined
    <anonymous> https://lume.io/app/global-imports.js?hash=0003f7af6b73d5f2c3f702e16ed7f0daf14ea12a:3
global-imports.js:3:1
09:20:40.876
Uncaught ReferenceError: meteorInstall is not defined
    <anonymous> https://lume.io/app/app.js?hash=6ea1695c625a6cbe430f271ce10054cc79fefc08:1
app.js:1:15


with Chrome UA on Firefox.

09:21:41.168 Navigated to https://lume.io/
09:21:43.106
        Duplicates of a LUME library or dependency detected, conflict avoided.
        Having duplicates means things may not work as expected if different
        parts of the application are using different instances of something
        that should be a singleton.
    modules.js:12087:13
09:21:44.018 Firefox can’t establish a connection to the server at wss://lume.io/sockjs/155/5ljuvqk5/websocket. sockjs-0.3.4.js:1283:14

They are also running Vue framework in development mode.
They also use release: "METEOR@1.11" v1.11, 2020-08-18

This seems related to a constraint set through user agent sniffing on loading the packages.

Also another interesting note is that the site seems to be responsive and if I make the window small on Firefox, the site displays. The menu is also not accessible on firefox desktop.

@trusktr seems to be the creator of @lume
https://github.com/lume/lume

And it seems to be still maintained.
https://github.com/lume/lume/commits/develop

@trusktr
Copy link

trusktr commented Oct 4, 2021

Hello, thanks for mentioning me! This is a really great effort here in this repo.

This is interesting. If I understand correctly, there is a CSS space-toggle incompatibility between FF and Chrome (causing the menu misalignment), which is webcompat related

@James0x57 (aka @propjockey, the person who brought CSS space toggles to the light) can you please confirm what's happening with that first bullet point in Desktop FF? (inspect the top right menu, and the .menuLinks and .menuLink elements will be using an --isMobile:0; css var)


As for the "Cannot find module" and "undefined" errors, those were due to Meteor serving the legacy build (it expects to import babel/runtime and polyfill some things) to the client based on user-agent sniffing. Apparently Meteor erroneously thinks FF 94 is a legacy browser. I listed a workaround in meteor/meteor#11668.

@JaneOri
Copy link

JaneOri commented Oct 4, 2021

@trusktr the page loads fine for me in FF Nightly (94) and the misalignment in desktop view can be fixed with
this: .menuLink { margin-left: calc( 0% * var(--isMobile) + 40px * (1 - var(--isMobile)) ); }
becomes: .menuLink { margin-left: calc( 0px * var(--isMobile) + 40px * (1 - var(--isMobile)) ); } (% -> px)
either way, it could be reduced and still work: .menuLink { margin-left: calc( 40px * (1 - var(--isMobile)) ); }

@emilio here's a minimal test case to reproduce the alignment issue in FF
https://jsbin.com/suronuhonu/edit?html,css,output

@emilio
Copy link
Author

emilio commented Oct 4, 2021

Thanks for that reduced test-case! It seems for the purposes of auto margins, Firefox is using percentageness to resolve the margin to zero, but Chrome only does it if the value is actually a percentage (if you do margin-left: <something>% then Chrome behaves like Firefox, resolving the margin to zero).

I believe this is a Chrome/WebKit bug, but I'll double-check. cc @dholbert

@emilio
Copy link
Author

emilio commented Oct 4, 2021

So they're resolving the margin with a zero basis, rather than just treating the margin as a whole as zero...

@emilio
Copy link
Author

emilio commented Oct 4, 2021

Ok, this is a Firefox bug after all, see https://bugzilla.mozilla.org/show_bug.cgi?id=1733952 and the explanation incoming in the patch.

moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this issue Oct 4, 2021
…sis rather than just resolving to zero if there's a percentage.

This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):

  For the min size properties, as well as for margins and paddings (and
  gutters), a cyclic percentage is resolved against zero for determining
  intrinsic size contributions.

And also what we do in SizeComputationInput::Compute{Margin,Padding}:

  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868

This fixes a compat issue with the menu alignment in lume.io:

  webcompat/web-bugs#88484 (comment)

It's also simpler.

Differential Revision: https://phabricator.services.mozilla.com/D127441

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1733952
gecko-commit: 1fd26f24025c3dcb4de967ee8bdc8a0ca9079e78
gecko-reviewers: jfkthame
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Oct 4, 2021
… percentage basis rather than just resolving to zero if there's a percentage. r=jfkthame

This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):

  For the min size properties, as well as for margins and paddings (and
  gutters), a cyclic percentage is resolved against zero for determining
  intrinsic size contributions.

And also what we do in SizeComputationInput::Compute{Margin,Padding}:

  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868

This fixes a compat issue with the menu alignment in lume.io:

  webcompat/web-bugs#88484 (comment)

It's also simpler.

Differential Revision: https://phabricator.services.mozilla.com/D127441
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this issue Oct 4, 2021
…sis rather than just resolving to zero if there's a percentage.

This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):

  For the min size properties, as well as for margins and paddings (and
  gutters), a cyclic percentage is resolved against zero for determining
  intrinsic size contributions.

And also what we do in SizeComputationInput::Compute{Margin,Padding}:

  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868

This fixes a compat issue with the menu alignment in lume.io:

  webcompat/web-bugs#88484 (comment)

It's also simpler.

Differential Revision: https://phabricator.services.mozilla.com/D127441

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1733952
gecko-commit: 1fd26f24025c3dcb4de967ee8bdc8a0ca9079e78
gecko-reviewers: jfkthame
jamienicol pushed a commit to jamienicol/gecko that referenced this issue Oct 6, 2021
… percentage basis rather than just resolving to zero if there's a percentage. r=jfkthame

This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):

  For the min size properties, as well as for margins and paddings (and
  gutters), a cyclic percentage is resolved against zero for determining
  intrinsic size contributions.

And also what we do in SizeComputationInput::Compute{Margin,Padding}:

  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868

This fixes a compat issue with the menu alignment in lume.io:

  webcompat/web-bugs#88484 (comment)

It's also simpler.

Differential Revision: https://phabricator.services.mozilla.com/D127441
@karlcow
Copy link
Member

karlcow commented Oct 7, 2021

Duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1733952

@karlcow karlcow closed this as completed Oct 7, 2021
@karlcow karlcow modified the milestones: sitewait, duplicate Oct 7, 2021
@karlcow karlcow removed their assignment Nov 8, 2021
Gabisampaio pushed a commit to Gabisampaio/wpt that referenced this issue Nov 18, 2021
…sis rather than just resolving to zero if there's a percentage.

This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):

  For the min size properties, as well as for margins and paddings (and
  gutters), a cyclic percentage is resolved against zero for determining
  intrinsic size contributions.

And also what we do in SizeComputationInput::Compute{Margin,Padding}:

  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
  https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868

This fixes a compat issue with the menu alignment in lume.io:

  webcompat/web-bugs#88484 (comment)

It's also simpler.

Differential Revision: https://phabricator.services.mozilla.com/D127441

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1733952
gecko-commit: 1fd26f24025c3dcb4de967ee8bdc8a0ca9079e78
gecko-reviewers: jfkthame
@trusktr
Copy link

trusktr commented Nov 23, 2021

(% -> px)

@James0x57 Thank you for finding that. I would have never guessed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-fenix engine-gecko The browser uses the Gecko rendering engine priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. type-css Generic CSS issues
Projects
None yet
Development

No branches or pull requests

6 participants