YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Can't Get Open File Name Empty #8521

Closed gm-bug-reporter[bot] closed 23 hours ago

gm-bug-reporter[bot] commented 1 day ago

Description

I Tried to to import file like

var file = ""; file = get_open_filename("bakcupfile|*.BCP", ""); if(file != ""){ show_message(file); }

but the result always show its not "" even when i cancel the open file.

and when i try to change the file into

var file = -1; file = get_open_filename("bakcupfile|*.BCP", ""); if(file != -1){ show_message(file); }

it just forced closed

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

Attached Files

d89ace7d-2e7c-4db2-b769-41194efccbec

jackerley commented 23 hours ago

Duplicate of https://github.com/YoYoGames/GameMaker-Bugs/issues/7525