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

Bug: The content of multiple texts overlaps with each other. #10406

Closed
rain7788 opened this issue Apr 1, 2024 · 17 comments
Closed

Bug: The content of multiple texts overlaps with each other. #10406

rain7788 opened this issue Apr 1, 2024 · 17 comments
Assignees
Labels
🐠 Upstream Bug Bugs due to software below PixiJS in the stack

Comments

@rain7788
Copy link

rain7788 commented Apr 1, 2024

Current Behavior

8.0-8.0.4, use the official website's text demo. If you remove the style and use the default style, let multiple texts use different content, and then refresh the webpage multiple times, you will find a high probability that their content will overlap with each other.

Expected Behavior

ellipsis

Steps to Reproduce

ellipsis

Environment

  • pixi.js version: e.g. 8.0.4
  • Browser & Version: e.g. Chrome 108
  • OS & Version: e.g. Ubuntu 22.04
  • Running Example: e.g. https://pixiplayground.com/

Possible Solution

No response

Additional Information

No response

@rain7788
Copy link
Author

rain7788 commented Apr 1, 2024

157A96AD-DD72-47E1-8E61-294898521709 6464AD2D-AA71-4EE9-A1C5-0941F12BA0B4

@rain7788
Copy link
Author

rain7788 commented Apr 3, 2024

image

@GoodBoyDigital GoodBoyDigital added the 🕷 Bug Verified that it’s actually a legit bug that exists in the current release. label Apr 3, 2024
@bigtimebuddy bigtimebuddy added the 🔥 High Priority These are PRs or issues that are extremely important to address either because they are from sponsor label Apr 3, 2024
@GoodBoyDigital
Copy link
Member

hey there @rain7788 , this seems to work ok for me?

https://www.pixiplayground.com/#/edit/ed1zROx0o9BR8yNhSMORj

let me know if there is a specific version you are using! cheers!

@GoodBoyDigital
Copy link
Member

GoodBoyDigital commented Apr 4, 2024

struggling to repro! do i need to continually hit refresh on the browser?
could you try please @bigtimebuddy @Zyie ? cheers!

@rain7788
Copy link
Author

rain7788 commented Apr 4, 2024

Thank you for your reply.
I just tried and found that he works very well.
But I am certain that there have been issues before, and I have tried versions 8.0-8.0.5 all of which are like this. The only difference is that the company's network was used before, but now it is the home network, which is the only difference between these two tests. So I'm not sure if it's caused by our company's network.
But on version 7. x, it's normal no matter where it is.

@GoodBoyDigital
Copy link
Member

thanks for clarifying @rain7788 ! Would you mind testing this again at your work pls?

@GoodBoyDigital GoodBoyDigital added 👯‍♀️ Needs Reproduction Very common: basically need an example that reproduces the issue so that it's easier to identify. and removed 🔥 High Priority These are PRs or issues that are extremely important to address either because they are from sponsor labels Apr 5, 2024
@rain7788
Copy link
Author

rain7788 commented Apr 5, 2024

I am on vacation, and I will test again in about two days. Thank you. @GoodBoyDigital

@rain7788
Copy link
Author

rain7788 commented Apr 7, 2024

616_1712452923.mp4

@GoodBoyDigital
I have come to the company, which looks very strange. Everything is normal at home, but when I go to the company, it's just like this. I use my own MacBook.

@rain7788
Copy link
Author

rain7788 commented Apr 7, 2024

@GoodBoyDigital
I found the difference between them!
I am using the same computer, MacBook Pro.
When I unplugged the power and used the battery, everything was fine! Whether running locally or pixiplayground.
However, when I use the power and then reload the webpage, it will display incorrectly.
I didn't use the power at home that day, so he was normal.

@rain7788
Copy link
Author

rain7788 commented Apr 7, 2024

By the way, when using the battery, my computer will enable low battery mode.

@GoodBoyDigital
Copy link
Member

wow, this is so strange one!
I have bumped the version in the playground to 8.0.1

https://www.pixiplayground.com/#/edit/ed1zROx0o9BR8yNhSMORj

could you try this pls? It should be webGL now. This may be a WebGPU issue? lets see!

@rain7788
Copy link
Author

It works well in version 8.1.0! Currently everything seems normal, thank you!

@rain7788
Copy link
Author

By the way, when I used 8. x, my computer generated more heat than before, and the computer process displayed a higher usage rate of Chrome's GPU. Is this also related to webGPU? The current 8.1.0 is much better.

@rain7788
Copy link
Author

The GPU usage in version 8.1 has decreased and the pages have become smoother.

@GoodBoyDigital
Copy link
Member

likely the WebGPU switch! I think WebGPU in browsers still has a few more gremlins to work out! It will get there though - i. have no doubt!! :D

@GoodBoyDigital GoodBoyDigital added 🐠 Upstream Bug Bugs due to software below PixiJS in the stack and removed 🕷 Bug Verified that it’s actually a legit bug that exists in the current release. 👯‍♀️ Needs Reproduction Very common: basically need an example that reproduces the issue so that it's easier to identify. labels Apr 11, 2024
@GoodBoyDigital
Copy link
Member

similar WebGPU issue @rain7788 - #10425

@rain7788
Copy link
Author

@GoodBoyDigital Got it, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐠 Upstream Bug Bugs due to software below PixiJS in the stack
Projects
None yet
Development

No branches or pull requests

3 participants