#94 closed defect (fixed)
Loading files is too slow
Reported by: | ibboard | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | WarFoundry WinForms 0.2 |
Component: | WarFoundry-GUI-WinForms | Version: | Unknown or N/A |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The loading of files in the WinForms UI is triggered by opening the "Change Game System" dialog, but this can take a while to open. This is seemingly because file loading is taking a while.
The obvious reason would be because of the API and file checking, but the problem doesn't seem to occur in the GTK# interface. May end up being related to running Windows in a VM, but needs investigating.
Change History (12)
comment:1 Changed 11 years ago by
Milestone: | → WarFoundry 0.1 |
---|
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
Milestone: | WarFoundry 0.1 → WarFoundry 0.2 |
---|
Loading seems quick again. Dropping back a milestone as it isn't a priority until people start putting junk in the "data" folder.
comment:4 Changed 10 years ago by
Status: | new → confirmed |
---|
Move tickets to new "confirmed" status to show that they've been checked
comment:5 Changed 9 years ago by
Milestone: | WarFoundry 0.2 → WarFoundry WinForms 0.2 |
---|
Separate UI milestones from API milestones
comment:6 Changed 8 years ago by
Version: | → Unknown or N/A |
---|
Code seems to be particularly slow on the .racex file (6KB) and the Ork .adf file (38KB) that aren't valid Zip files. Looks like we need to handle them differently (possibly even a "dumb-Windows" file extension system).
comment:7 Changed 8 years ago by
comment:8 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Close ticket - hooks obviously aren't 100% yet.
comment:9 Changed 8 years ago by
Re-open because I can't run unit tests properly and borked file loading.
Looks like it might be because of exceptions caused trying to open non-Zip files as Zips. We might have to abandon the "smart" file loading and just fall back to Windows-esque dumb "does the file extension match" checking.