AdaCore / gnatstudio

GNAT Studio is a powerful and lightweight IDE for Ada and SPARK.
399 stars 52 forks source link

Drag & Drop from File Explorer to GNAT Studio doesn't do anything #157

Open zertovitch opened 1 year ago

zertovitch commented 1 year ago

This issue may be specific to the Windows version.

AnthonyLeonardoGracio commented 1 year ago

Hello @zertovitch,

Dropping a file into GNAT Studio should open an editor for it. It works on my side with Windows 11. Could you give more details on what does not work for you?

Regards,

zertovitch commented 1 year ago

I'm using:

GNAT Studio 24.0w (20230501) hosted on x86_64-w64-mingw32

on Windows 10 and the dropping of a file doesn't do anything.

AnthonyLeonardoGracio commented 1 year ago

Actually I can reproduce. It's a known issue internally. We'll see if we can resolve it with Windows 11 at least.

Regards,

zertovitch commented 1 year ago

It would be very surprising if the solution is dependent on the Windows version. The mechanism for dropping files didn't change since the earliest reference I could find on the Web (this, 1992)!

AnthonyLeonardoGracio commented 1 year ago

The used API for that has changed at some point, because it used to work on older versions. Anyway, we'll have a look.