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

Open New Tab Page many times will cause [email protected](nil, 0, 0) #446

Open
cchsu23 opened this issue Jan 25, 2021 · 19 comments
Open

Open New Tab Page many times will cause [email protected](nil, 0, 0) #446

cchsu23 opened this issue Jan 25, 2021 · 19 comments
Assignees

Comments

@cchsu23
Copy link

cchsu23 commented Jan 25, 2021

log

When I use Chromium 86.0.4240.198 on my device to browse Netflix.
There are four links on the bottom.
Just click more times, and close.
WL_SURFACE seems to cannot attach original one.
So We cannot control/touch.... but chromium seems to good.

@cchsu23
Copy link
Author

cchsu23 commented Feb 5, 2021

step:
1.usr/bin/chromium --app="http://www.netflix.com/login"
2.Log-in to Netflix homepage,
3.scroll the page on the bottom, there are four links to facebook,ig, youtbue and twitter.
4. Choose any of links , it will open new windows , close it.
5. Repeat 4 more times.
6. You will find that the ori app mode Netflix cannot be controlled...

Remove app mode will not happened, it will open new many tab pages, and can switch back to first one Netflix.

@msisov
Copy link
Collaborator

msisov commented Feb 5, 2021

Can you please file this bug to crbug.com instead? thanks.

@cchsu23
Copy link
Author

cchsu23 commented Feb 23, 2021

Hi Msisov
https://bugs.chromium.org/p/chromium/issues/detail?id=1175376
I already file the bug to crbug.
From owner , it can't be reproduced using desktop linux x86.
I think that this issue is about wayland backend..
Can you help to check log?

@cchsu23
Copy link
Author

cchsu23 commented Mar 8, 2021

Hi Msisov:
88.0.4342.150 has the same issue.
--app mode can not open new tab page

CHROMIUM_EXTRA_ARGS += "
--in-process-gpu
--enable-wayland-ime
--disable-restore-session-state
--disable-session-crashed-bubble
--high-dpi-support=1
--force-device-scale-factor=1
--touch-devices=enabled
--touch-events=enabled
--no-first-run
--noerrdialogs
--disable-pinch
--disable-quic
--ignore-gpu-blocklist
--disable-infobars
--disable-translate
--no-sandbox
"

GN_ARGS += "
use_lld=false
use_gold=true
enable_widevine=true
ffmpeg_branding="Chrome"
proprietary_codecs=true
is_component_ffmpeg=true
media_use_ffmpeg=true
"

my puppeteer launch --app=https://www.netflix.com/login

@msisov
Copy link
Collaborator

msisov commented Mar 8, 2021

It seems like it requires to have a netflix account with a credit card added. Unfortunately, I don't use netflix and do not have an account. Maybe, you know some other way to reproduce the issue, don't you?

@cchsu23
Copy link
Author

cchsu23 commented Mar 8, 2021

Hi Msisov:
yes,

  1. Netflixlogin page -> Help Center -> Watching Netflix -> How to download TV shows and movies to watch offline
  2. Choose one of "Suggested Articles" it also will open new tabe page.
    When in app-mode it will open new browse page , even if i can close this page, but original one page, I can not control any more.

@cchsu23
Copy link
Author

cchsu23 commented Mar 15, 2021

Netflix login page , English/Other Language dropdown list also has the problem..

@msisov
Copy link
Collaborator

msisov commented Mar 15, 2021

Netflix login page , English/Other Language dropdown list also has the problem..

The same problem has already been fixed in the master branch.

@msisov
Copy link
Collaborator

msisov commented Mar 15, 2021

Hi Msisov:
yes,

  1. Netflixlogin page -> Help Center -> Watching Netflix -> How to download TV shows and movies to watch offline
  2. Choose one of "Suggested Articles" it also will open new tabe page.
    When in app-mode it will open new browse page , even if i can close this page, but original one page, I can not control any more.

This is also not reproducible with the master branch. Is it possible for you to grab a dev build of chromium from https://download-chromium.appspot.com and try again?

@cchsu23
Copy link
Author

cchsu23 commented Mar 15, 2021

Hi Msisov:
yes,

  1. Netflixlogin page -> Help Center -> Watching Netflix -> How to download TV shows and movies to watch offline
  2. Choose one of "Suggested Articles" it also will open new tabe page.
    When in app-mode it will open new browse page , even if i can close this page, but original one page, I can not control any more.

This is also not reproducible with the master branch. Is it possible for you to grab a dev build of chromium from https://download-chromium.appspot.com and try again?

Hi ,Msisov:
It can not be reproduced by win + x64.
It just can be reproduced by arm + linux + wayland.

@msisov
Copy link
Collaborator

msisov commented Mar 15, 2021

It can not be reproduced by win + x64.

Correct. Because, Wayland is a Linux thing.

It just can be reproduced by arm + linux + wayland.

Did you try the master branch (not meta-browser, but the Chromium repo)?

@cchsu23
Copy link
Author

cchsu23 commented Mar 15, 2021

Hi Msisov
I always use meta-browser , due to less compile error I will met..

I will try get chromium repo and build by myself...

@rakuco
Copy link
Collaborator

rakuco commented Mar 15, 2021

@msisov can correct me, but I think if you just install a recent Chromium Dev package (the current one is at 91.0.4442.4) you should be able to test Wayland support on Linux without having to build everything from scratch.

@msisov
Copy link
Collaborator

msisov commented Mar 15, 2021

@msisov can correct me, but I think if you just install a recent Chromium Dev package (the current one is at 91.0.4442.4) you should be able to test Wayland support on Linux without having to build everything from scratch.

That's correct. And that's why I left the link to the dev builds - #446 (comment)

@cchsu23
Copy link
Author

cchsu23 commented Mar 15, 2021

Hi Msisov:
I notice that every time you release will test on raspberrypi3, right?
chromium-ozone-wayland:
gatesgarth, clang, MACHINE="raspberrypi3"

I think that you can use raspberrypi3 to try again, this machine is more similar with mime.

Thanks
Dennis

@cchsu23
Copy link
Author

cchsu23 commented Mar 15, 2021

I think I will try 89.0.4389.82 first...

@cchsu23
Copy link
Author

cchsu23 commented Mar 16, 2021

89.0.4389.82 has the same problem

@cchsu23
Copy link
Author

cchsu23 commented Mar 16, 2021

CHROMIUM_EXTRA_ARGS += "
--in-process-gpu
--enable-wayland-ime
--disable-restore-session-state
--disable-session-crashed-bubble
--high-dpi-support=1
--force-device-scale-factor=1
--touch-devices=enabled
--touch-events=enabled
--no-first-run
--noerrdialogs
--disable-pinch
--disable-quic
--ignore-gpu-blocklist
--disable-infobars
--disable-translate
--no-sandbox
"

GN_ARGS += "
use_lld=false
use_gold=true
enable_widevine=true
ffmpeg_branding="Chrome"
proprietary_codecs=true
is_component_ffmpeg=true
media_use_ffmpeg=true
"
exec chromium:
/usr/bin/chromium --app=https://www.netflix.com/login

Steps:
1.Netflixlogin page -> Help Center -> Watching Netflix -> How to download TV shows and movies to watch offline
2.Choose one of "Suggested Articles" it also will open new tabe page.
When in app-mode it will open new browse page , even if i can close this page, but original one page, I can not control any more.

100% crash

@msisov
Copy link
Collaborator

msisov commented Mar 16, 2021

not reproducible on desktop with both the lastest dev build and the stable Chrome version. I will try later on rpi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants