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

Problem with displaying the popup (except the first time) #78605

Closed
michaldev opened this issue Jun 23, 2023 · 8 comments · Fixed by #78620
Closed

Problem with displaying the popup (except the first time) #78605

michaldev opened this issue Jun 23, 2023 · 8 comments · Fixed by #78620

Comments

@michaldev
Copy link

michaldev commented Jun 23, 2023

Godot version

4.1 beta 3

The same project works fine on 4.1 beta 1 and beta 2.

System information

Tested on MacOS, Fedora and HTML5

Issue description

I have a problem in version 4.1 beta 3 with a popup (popup panel). The first time it always displays correctly. Every subsequent time, I only see a black spot.

Nagranie.ekranu.z.2023-06-23.11-35-28.webm

*The same if I show popup by methods like popup_centered.

Steps to reproduce

I'm trying to reproduce it with a clean and minimal example, but unfortunately, without success. Maybe someone else has this issue or knows a way to reproduce it?

Minimal reproduction project

I'm trying to create it.

@akien-mga
Copy link
Member

I don't see any changes to PopupPanel or Popup between 4.1-beta2 and beta3, but there have been changes to Window and Viewport which could maybe affect this. CC @Sauermann

@Sauermann
Copy link
Contributor

I remember, that there have been some PRs that changed Control-minimal size calculations. I am just guessing, but perhaps it is related to that?
I am not aware that any of my PRs could cause this behavior, but that is difficult to tell for sure without a reproduction project.

@YuriSizov
Copy link
Contributor

I remember, that there have been some PRs that changed Control-minimal size calculations. I am just guessing, but perhaps it is related to that?

That was in beta 2 already.

@YuriSizov
Copy link
Contributor

Can be rendering related? This project, judging by the screen capture, uses GL Compatibility and it manifests in a black screen. Similar to #78608 perhaps?

@akien-mga
Copy link
Member

Can be rendering related? This project, judging by the screen capture, uses GL Compatibility and it manifests in a black screen. Similar to #78608 perhaps?

@michaldev could test this hypothesis by temporarily running the project with the Forward+ renderer, to see if the bug disappears.

@michaldev
Copy link
Author

Can be rendering related? This project, judging by the screen capture, uses GL Compatibility and it manifests in a black screen. Similar to #78608 perhaps?

@michaldev could test this hypothesis by temporarily running the project with the Forward+ renderer, to see if the bug disappears.

I just checked. On Forward+ there is no problem.

@YuriSizov
Copy link
Contributor

cc @clayjohn

@michaldev
Copy link
Author

Fixed in 4.1 RC 1.

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