Export problem with AppImage 0.8.4 on Linux Slackware
fhouweli opened this issue · 14 comments
I cannot reproduce... what's the exact input you were using?
Changing the file format with the select box does not add an extension in the "Name" input field.
that's odd. because it does for me on macOS. are you on the latest PanWriter version?
can you reproduce on other linux distros?
I am on latest Panwriter and I can confirm same problem exists on Mint Linux 19.3.
hm.. we're just using electron's dialog.showSaveDialog filters
option.
you're saying only the default name is missing the html extension (that we could probably fix in PanWriter)? And when you switch to an other format in the dropdown the extension is added?
uh, that seems like an Electron bug then, because all we get back is the filePath
, so if that doesn't change when you change the dropdown, there's nothing we can do in PanWriter to fix it...
I'll try to update to the newest Electron version soonish... maybe they have fixed it already...
got exactly the same issue with panwriter 0.8.4 freshly installed at Manjaro Linux ... none of the formats can be exported. Will it be posted here, when a fix is available?
Okay, I found the relevant Electron issue. Apparently, that's just not something Electron supports on Linux, which is a bummer.
But from above in this thread:
Changing the file format with the select box does not add an extension in the "Name" input field. Pressing "Export" causes the error. HOWEVER, if I
manually add ".html" to the filename, the export succeeds!
That's still a viable workaround, right? So perhaps we should just remove the selector dropdown on Linux to avoid confusion?
I implemented this approach in a draft PR: #166
Can anybody test this on Linux? Check out that branch and see https://github.com/mb21/panwriter/#develop
I've merged this to the master
branch. But apparently my friend's Apple Developer Certificate is expired so I cannot make a release. Perhaps the day has come I'll have to fork over 100.- to Apple 🙄
Anyway, for now, here's the Linux AppImage.