Apache OpenOffice (AOO) Bugzilla – Issue 95152
Opening files with trailing spaces in filename extension fails
Last modified: 2017-05-20 10:35:34 UTC
assume valid file named "c:\myfile.odt" When trying to open the file named "c:\myfile.odt " (with trailing space) OOo crashs. OOo should trim trailing spaces from filenames from the open dialogs checked on OOo3 final on WinXP only. may exist on other platforms.
TM->HRO: reproducible with system file-picker, with own file-picker -> warning message appears, informing about a nonexisting file.
cd: Please take over: Seems to be a Windows file picker issue.
cd: Set target and priority.
of: I've tested with DEV300_m50. Doing as described, the Office isn't crashing. So I would adjust the prio.
I've just tested it with the latest DEV300_m50. now if I try to open a file with trailing space then the dialog closes but nothing happens. (but it doesn't crush). (if the file isn't exist the an appropriate message appears and the dialog won't close) I suppose a better solution is to trim the spaces and open the right file, other then just ignoring it.
Yes you're right. That's the better solution. The OOo filepicker behaves like that.
cd: Change title of the issue to reflect the current state correctly.
Due to the effort I would suggest that this issue is a 'wontfix'. It's not a common use case to have this trailing space. It's XP only, Vista behaves correct.
XP is still the most common PC OS... This bug is simple to reproduce, and the fix seems just straight forward, so why set it to wontfix ? Is it more complicated then it seems to be ?
The severity is very low. No duplicate for this issue, no votes. I think there are more issues that needed attention and are more important.
cd: Fixed. This was a low hanging fruit although I have to support of that it's a very minor issue. I have never add blanks manually to file name therefore this looks more like a interesting test case. Nevertheless this "error" is fixed now.
cd->of: Please verify.
cd: Correct fix.
Looks good in cws filepicker02.
*** Issue 108333 has been marked as a duplicate of this issue. ***