Skip to content

Browser freezes when using Glance with webpages open in another workspace #7864

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

Closed
5 tasks done
akorin12138 opened this issue Apr 25, 2025 · 7 comments
Closed
5 tasks done
Labels
Bug component: glance Related to Glance feature of Zen platform: windows

Comments

@akorin12138
Copy link

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

When using the browser's Glance feature, if a webpage is opened in another workspace at the same time, the browser becomes unresponsive — you can't click on anything or scroll the page.

Steps to Reproduce

  1. Press Ctrl + T to open a new tab and navigate to any website.
  2. Alt + Click on a hyperlink to open it in the Glance view.
  3. Switch to another workspace and open a new tab.
  4. Return to the original workspace and try to interact with the page.
  5. Observe that the page becomes frozen — clicks and scrolling don’t work.

Image

Version

1.11.5.b

What platform are you seeing the problem on?

Windows - x64

What component is this issue related to?

Glance

Relevant log output if applicable

@sporocyst
Copy link
Contributor

Wierd. I was able to reproduce this only at first try and no more afterwards. Probably there are other conditions needed to be met.

@ghost
Copy link

ghost commented Apr 26, 2025

If someone has any more info on how to reproduce, please let me know!

@akorin12138
Copy link
Author

Wierd. I was able to reproduce this only at first try and no more afterwards. Probably there are other conditions needed to be met.

I found that if you wait for the webpage in the other workspace to fully load, and then return to the original workspace where Glance is active, the browser will freeze.
Alternatively, you can also try opening multiple webpages consecutively in another workspace, and then switching back to the Glance page — this can also reliably reproduce the bug.

@sporocyst
Copy link
Contributor

I found that if you wait for the webpage in the other workspace to fully load, and then return to the original workspace where Glance is active, the browser will freeze. Alternatively, you can also try opening multiple webpages consecutively in another workspace, and then switching back to the Glance page — this can also reliably reproduce the bug.

Oh, yes, this has a higher sucesseful rate of reproducing.

One thing I found is that when you do the step4: Return to the original workspace and try to interact with the page, there is a chance deck-selected not being removed from class, so you see two tabs have deck-selected simultaneously and loss control to the tab you are switching to. In the meantime, no error is seen from browser console

Image

Hope this info can help @mauro-balades

ghost pushed a commit that referenced this issue Apr 27, 2025
@ghost
Copy link

ghost commented Apr 27, 2025

Could anyone try again on twilight once https://github.com/zen-browser/desktop/actions/runs/14693625488 finishes?

@sporocyst
Copy link
Contributor

I've been failing to reproduce the issue with the latest twilight. I guess it works.

@ghost
Copy link

ghost commented Apr 29, 2025

Thats great! Ill close this issue then. Please do keep testing if you want and give me a ping to reopen if it still happens

@ghost ghost closed this as completed Apr 29, 2025
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug component: glance Related to Glance feature of Zen platform: windows
Projects
Status: Done
Development

No branches or pull requests

2 participants