klembot / twinejs

Twine, a tool for telling interactive, nonlinear stories
https://twinery.org
GNU General Public License v3.0
2k stars 295 forks source link

Import archive not working in Twine 2.4.1 windows app #1230

Closed gdlascelle closed 2 years ago

gdlascelle commented 2 years ago

Describe the bug.

Importing an archive brings up the story list but no option to import selected files Screenshot 2022-07-31 21 02 21 .

Steps to reproduce:

Import a previously selected story archive. Select one or more files to upload/import. Look for the import selected files button and fail to find it

Expected behavior:

Expected there to be an option to import the selected files.

Additional context on this problem.

No response

Twine version number

2.4.1

Does this problem occur with the web version of Twine or the desktop app?

Desktop app

What operating system does this problem occur on?

Windows

If this problem is occurring with the web version of Twine, what browser does it occur on?

Chrome/Chromium

Presubmission checklist

klembot commented 2 years ago

I think what happened here is the list of stories to import is too long for the dialog and the button is getting cut off. https://github.com/klembot/twinejs/issues/1183 is something similar.

Possible workarounds are to use View > Zoom Out until the button becomes visible, or to slice up your archive into smaller files and import piecemeal. To separate out your archive, open it in a text editor. Each of your stories is between a <tw-storydata> and </tw-storydata> tag--copy that into a separate file and Twine should be able to import it.

hituro commented 2 years ago

Isn't the solution to both of these just to add an overflow-y: scroll to both of those elements?

klembot commented 2 years ago

Yes, that's the real solution here but the workarounds I was providing were for in the meantime.