[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

2021-06-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142917

Michael Warner  changed:

   What|Removed |Added

 Resolution|--- |NOTABUG
 Status|NEW |RESOLVED

--- Comment #6 from Michael Warner  ---
Based on Comment 5, I am marking this as NOTABUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

2021-06-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142917

--- Comment #5 from Andreas Säger  ---
This bug report is invalid because LO is right. The correct URL of a lock file
looks like file:///path/.~lock.test.ods%23 which is also accepted by AOO. AOO
seems to be a little bit more generous in respect to valid URLs.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

2021-06-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142917

--- Comment #4 from Andreas Säger  ---
Created attachment 172995
  --> https://bugs.documentfoundation.org/attachment.cgi?id=172995=edit
Spreadsheet with macro

When opened in edit mode the macro detects a lock file and reports "True".

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

2021-06-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142917

Uwe Auer  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #3 from Uwe Auer  ---
repro if using file name ".~lock.test.ods#"

Further investigation: It seems that "#" (hash) at the end of the file name is
the culprit. Whenever there is no "#" then function FileExists() works.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

2021-06-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142917

--- Comment #2 from Andreas Säger  ---
Indeed, it works with a regular dummy file URL file:///tmp/test/.foo and I must
have made some mistake when testing that URL.

However, my original intention was this:

print fileExists("file:///tmp/test/.~lock.test.ods#")
which detects a lock file for /tmp/test/test,ods when used with AOO but not LO.

print fileExists("/tmp/test/.~lock.test.ods#") works with LO too. So it has
something to do with URL notation vs system notation.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 142917] FileExists returns False for hidden files.

2021-06-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=142917

--- Comment #1 from Uwe Auer  ---
No repro

Version: 7.1.4.2 / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs