EsotericSoftware / EsotericSoftware/spine-editor

Please make the export filename(s)/folder name visible in the export dialog

Open
#674 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
33
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Following the issue just opened here https://github.com/EsotericSoftware/spine-editor/issues/673: it would be nice if we could somehow see the actual filename(s) / folders of the export so we have a better visual check of the destination before we hit the 'Export' button.

Right now the only way to check if we're exporting/rendering to the right folder is to
- click on the 'output prefix' textfield
- scroll all the way to the end of the path to make it visible (as we can't scale the textbox OR the dialog window to scale the textbox with it)

This is obviously a lot of actions to just view the filename or folder. And causing mistakes as it's not fun to do this everytime so easy to be lazy and skip this, which is prone to mistakes and overwritten files in wrong folders.

This is how it is now:
![image](https://user-images.githubusercontent.com/69322733/180612197-4756022a-d778-4b72-ac03-3f9cd6090630.png)

As you can see we only see the first part of the path. It's important to check the path, but when exporting multiple animations to the same path, but within a different subfolder of that, we'd especially like to check the end of the path to hava a visual indication that we're on the 'right path'.

I don't have a great solution for this, but I do have some suggestions:

1 - Make the export window scalable and the 'output prefix' textbox scale with it responsively. That way it's way easier and way quicker to make the textbox showing the path wider so it shows more text. And when the export window sizes gets saved the following times we don't have to do the same actions and see the full path directly most of the times.
2 - Not ideal as there's no project folder known to spine, but who knows: Show relative paths from the spine file. Only show absolute paths when the path is not in the same project folder as the spine file (or the file isn't saved yet).
3 - Although not ideal as now we don't see the first part; show the path like this when not there's no cursor inside (and show how it is now when we start editing by entering with our cursor):
![suggestion__](https://user-images.githubusercontent.com/69322733/180613216-4bfb538f-f7ab-43dc-9132-e48258d326df.jpg)

I'm sure you can find a better way to do this. My preference would be to have a combination between solution 1 and 3 where the tripple dots to middle-break the path only happens when the textbox isn't wide enough, but make the textbox scale when we scale the export window.

Thanks for considering!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.