Bug 46462

Summary: trouble opening files with backslashes in file name
Product: LibreOffice Reporter: ajvok1
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: barta, peter, sasha.libreoffice
Priority: medium    
Version: 3.4.4 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102732    

Description ajvok1 2012-02-22 07:13:15 UTC
Problem description: 
Might seem like an odd thing to do, but I have some CSV files with backslashes in their names. Trying to open them with LibreOffice shows a problem (or 2)...

Steps to reproduce:
1. echo 1>'\\x.csv'
2. /usr/lib/libreoffice/program/soffice.bin --calc '\\x.csv'
3. calc appears to be starting but then vanishes. No process shown on 'ps'

'\\x.csv' can be opened in LibreOffice if it is selected in nautilus, right clicked and LibreOffice selected.
It also opens OK if LibreOffice started then file/open.

Another, similar but slightly different issue:
1. echo 1 > '\\a\a.csv'
2. /usr/lib/libreoffice/program/soffice.bin --calc '\\a\a.csv'
Fails as above, but..
3. Find the file in nautilus and right click..get message box ".../a/a.csv does not exist'
.. but can open it in "Text Editor" from nautilus with no problem.
.. and the file can be opened ok from the file menu once LibreOffice is running.


Current behavior: as described above.

Expected behavior: expect files to open.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Comment 1 sasha.libreoffice 2012-05-23 05:13:41 UTC
Thanks for bugreport
reproducible in 3.5.3 on Fedora 64 bit
(reproducible only variant with console command, from UI it opens)
Comment 2 Peter Wu 2012-06-23 05:25:51 UTC
The bug still exists in version 3.5.4 (using Arch Linux). Sounds like misplaced Windows-compatibility code to me?

I also noticed that a "\/" sequence does not become "//" and "foo\." becomes "foo".
Comment 3 tommy27 2014-12-13 09:35:27 UTC
is this still present in LO 4.3.4.1?
Comment 4 Peter Wu 2014-12-13 09:54:45 UTC
libreoffice-still 4.2.7-2 (Arch Linux) is still affected. libreoffice-fresh 4.3.4-1 is also still affected.

(backslashes get converted to forward slashes)
Comment 5 QA Administrators 2015-12-20 16:19:00 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-01-03 19:50:23 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2019-12-03 14:00:28 UTC Comment hidden (obsolete)
Comment 8 ajvok1 2019-12-03 17:17:37 UTC
Remains an issue in my current version (6.1.5.2)
Comment 9 QA Administrators 2021-12-03 04:24:39 UTC Comment hidden (obsolete)
Comment 10 ajvok1 2021-12-03 07:21:09 UTC
Still present in 7.0.4.2 2021 Dec.
Comment 11 QA Administrators 2023-12-04 03:15:05 UTC Comment hidden (obsolete)
Comment 12 ajvok1 2023-12-04 10:40:17 UTC
Still a problem in 7.4.5.1 on Debian. 2023-12-04.
Comment 13 QA Administrators 2023-12-05 03:16:25 UTC Comment hidden (obsolete)
Comment 14 ajvok1 2023-12-05 15:00:45 UTC
I just did add a comment that this is still a problem but then this automated "To make sure we're focusing on.." message came for a second time.

It is still a problem in 7.4.5.1