godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.47k stars 21.07k forks source link

Viewportreading on Gradient in Editor #72668

Closed MiroloTech closed 2 months ago

MiroloTech commented 1 year ago

Godot version

4.0.16

System information

Windows 10 ; Nvidea RTX 360 Ti

Issue description

While editing my project I encountered glitching of the Gradient2D component in my project, where it just read part of the screan into the gradient BugGodot4

Steps to reproduce

i don't know, it just happened,

Minimal reproduction project

Editor issue, so...

Calinou commented 1 year ago

@MiroloTech Please upload a minimal reproduction project to make this easier to troubleshoot.

MiroloTech commented 1 year ago

Hi

I deem a minimal reproduction project not useful since it would require more time and resources to send that, than to recreate the issue. I did however manage to find the steps to recreate this bug:

  1. Add 'TextureRect' to a new Control scene and set the layout to 'Full Rect'
  2. set 'TextureRect' filtermode to 'linear mipmap'
  3. Add new 'GradientTexture2D' as texture
  4. set texture fillmode to radial
  5. remove 'gradient' from 'GradientTexture2D'
  6. click on the texture of 'TextureRect' to close gradient control panel

Now everytime a hover popup appears, the texture goes from white to black. Also this seems to be inconsistent but sometimes when you, as a 7th step, click on the root 'Control node' every popup will appear as the texture of the 'TextureRect'.

I hope that this addition is enough to remove this bug and that this was helpful.

On Fri, Feb 3, 2023 at 4:30 PM Hugo Locurcio @.***> wrote:

@MiroloTech https://github.com/MiroloTech Please upload a minimal reproduction project https://github.com/godotengine/godot/blob/master/CONTRIBUTING.md#provide-a-simple-example-project to make this easier to troubleshoot.

— Reply to this email directly, view it on GitHub https://github.com/godotengine/godot/issues/72668#issuecomment-1416029727, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4MLV3VZR4FLPMQFXGSHUHDWVUQAPANCNFSM6AAAAAAUQMNKNM . You are receiving this because you were mentioned.Message ID: @.***>

AThousandShips commented 2 months ago

Closing due to lack of MRP, if you upload one this can be reopened