kuseman / queryeer

Query IDE based on payloadbuilder library
Apache License 2.0
0 stars 0 forks source link

Unresponsive file dialog with default config file #17

Open AnonymousTM opened 4 hours ago

AnonymousTM commented 4 hours ago

Hi,

When starting Queryeer without a config file, it creates a default config (/Users/[user]/queryeer.cfg). This default config has the "lastOpenPath" set as null and when trying to open a document using the open dialog, it hangs the program. I resolved the issue by adding a correct path to "lastOpenPath".

I could re-produce this issue by:

  1. Remove /Users/[user]/queryeer.cfg
  2. Start the program (Should be prompted by new config creation)
  3. Try to open a document
  4. The IDE should now be unresponsive

Version: Queryeer IDE - 1.0.5 Java version: Zulu OpenJDK 17.0.7 2023-04-18 LTS Screenshot: image

AnonymousTM commented 3 hours ago

Not sure if related or not, but the dialog also freezes when trying to save a new file. It works just fine when opening an existing file, modifying it, and then saving it.