Export as App shows folder duplicates in the FilePicker!

Report bugs. Post bug workarounds or fixes

Moderator: MSandro

Post Reply
MSandro
Posts: 162
Joined: Jul 26th, '17, 21:12

Export as App shows folder duplicates in the FilePicker!

Post by MSandro » Apr 10th, '18, 20:38

Hi, if I want to export a project as app, GP shows folder duplicates in the FilePicker / FileList:
save-bug.png
the upper is a FilePicker created by the save-action. And the other is the picker from "export as app". The folder shows twice in this file/folder list. I've tried to track this issue down so I've looked at the ProjectEditor and FilePicker Classes. I've found the method exportProjectAsApp, so I've tried to rebuild it in the scripter:
save-work.png
This script shows the FIlePicker very well and without folder duplicates, but I am not sure woy this happens exacltly.

JohnM
Posts: 379
Joined: Sep 11th, '15, 14:42

Re: Export as App shows folder duplicates in the FilePicker!

Post by JohnM » Apr 10th, '18, 21:05

Thanks for looking into this. I suspect it's an issue with names with extensions vs. not having extensions.

MSandro
Posts: 162
Joined: Jul 26th, '17, 21:12

Re: Export as App shows folder duplicates in the FilePicker!

Post by MSandro » Apr 11th, '18, 05:56

tOkay, that seems to be correct, I just checked it. If I leave the field for the extension empty, the issue will occur.

Post Reply