Skip to content

Can't open filters in non-exclusive FileDialog #79052

Closed
@L4Vo5

Description

Godot version

v4.1.rc3.official [cdd2313]

System information

Godot v4.1.rc3 - Windows 10.0.19045 - Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 Threads)

Issue description

Trying to open the filters (file types) menu in a non-exclusive FileDialog makes it automatically close and brings up the following error in the console/debugger:

ERROR: Condition "!windows.has(p_window)" is true. Returning: Rect2i()
   at: window_get_popup_safe_rect (platform/windows/display_server_windows.cpp:2426)

This seems to have been broken somewhere between 4.1 beta 2 and beta 3.

Steps to reproduce

  • Create a FileDialog
  • Untick the "Exclusive" box
  • Make it visible / pop it up / etc
  • Try opening the All Files (*) menu

Minimal reproduction project

dialog_test.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions