godotengine / godot

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

VCS settings menu showing up as black #66368

Open twaritwaikar opened 1 year ago

twaritwaikar commented 1 year ago

Godot version

4.0.beta1

System information

Windows 10, Vulkan, GeForce GTX 1060 6GB DCH driver 511.79

Issue description

The VCS settings menu shows up as completely black.

There are no directly related errors in the console, except for some API version mismatches, which is expected since this plugin is using an older version of the GDExtension API.

Console logs ``` Godot Engine v4.0.beta1.official.20d667284 - https://godotengine.org Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060 Editing project: C:/Users/Twarit/Documents/Github/godotengine/godot-git-plugin/demo Godot Engine v4.0.beta1.official.20d667284 - https://godotengine.org ERROR: Condition "!windows.has(p_window)" is true. at: window_resize (drivers/vulkan/vulkan_context.cpp:1497) Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060 WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported. at: _editor_init (modules/gltf/register_types.cpp:75) WARNING: FBX file import is enabled in the project settings, but no FBX2glTF path is configured in the editor settings. FBX files will not be imported. at: _editor_init (modules/gltf/register_types.cpp:99) ERROR: Cannot get class 'GitPlugin'. at: (core/object/class_db.cpp:325) ERROR: Received a nullptr VCS extension instance during construction. at: (editor/plugins/version_control_editor_plugin.cpp:185) ERROR: Condition "!method" is true. Returning: 0 at: get_builtin_method_hash (core/variant/variant_call.cpp:1235) ERROR: Error getting method plus_file, hash mismatch. at: gdnative_variant_get_ptr_builtin_method (core/extension/gdnative_interface.cpp:497) ```

Steps to reproduce

  1. Open the repro project
  2. Click on Project > Version Control > Version Control Settings
  3. See a blacked out window

Workaround steps:

  1. After the blacked out window has appeared, go back to the editor window
  2. Click on Project > Version Control > Version Control Settings again (it wouldn't give a visual feedback of the popup getting selected)
  3. Switch to the earlier blacked out window
  4. Notice that it is now showing up as expected

Minimal reproduction project

Does appear on a fresh new project

twaritwaikar commented 1 year ago

Also, there is a weird flicker in the window that is triggered when the mouse is on top of it or when the pointer leaves the window boundaries GIF 24-09-2022 23-45-54

Calinou commented 1 year ago

Can you reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor?

twaritwaikar commented 1 year ago

Enabling single window mode helps keep the rendering as expected, however, the window itself is now placed on the top left such that the top bar is covered by the Win32 window's title bar image

There is a sliver of space where I can click and drag the popup window to its usual place i.e. the centre of the screen