You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2018/03/01 15:41:21 UTC

[Issue 127719] New: Save Error if Filename Contains Hash Character (#)

https://bz.apache.org/ooo/show_bug.cgi?id=127719

          Issue ID: 127719
        Issue Type: DEFECT
           Summary: Save Error if Filename Contains Hash Character (#)
           Product: General
           Version: 3.3.0 or older (OOo)
          Hardware: All
                OS: Windows 7
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: pedlino@gmail.com
  Target Milestone: ---

Created attachment 86357
  --> https://bz.apache.org/ooo/attachment.cgi?id=86357&action=edit
Error message when using the hash character in a file name

It is not possible to use the character # in a file name under Windows 7.

Steps to reproduce:
1) Create a file
2) Type something
3) Save with name Bug#1 (or any other words as long as there is a Hash in the
name)

Observed: an error message pops up (see attached image)

Expected: file saves with selected name

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)When Using OpenOffice Dialogues

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

Keith N. McKenna <kn...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Save Error if Filename      |Save Error if Filename
                   |Contains Hash Character (#) |Contains Hash Character
                   |                            |(#)When Using OpenOffice
                   |                            |Dialogues
                 CC|                            |knmc@apache.org

--- Comment #10 from Keith N. McKenna <kn...@apache.org> ---
Changed title to more closely reflect actual bug.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

Czesław Wolański <cz...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |czeslaw.wolanski@gmail.com
             Latest|4.1.5                       |4.1.12
    Confirmation in|                            |

--- Comment #9 from Czesław Wolański <cz...@gmail.com> ---
Confirmed on Windows 7 & 11 with version 4.1.12

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

--- Comment #5 from Pedro <pe...@gmail.com> ---
(In reply to Matthias Seidel from comment #3)
> I now installed AOO 4.1.5 (de) on Windows 7 Pro (64bit) and still can not
> reproduce it.

Ok. I think I found it.
The problem only occurs when using the OpenOffice dialogs (under Tools, Option,
OpenOffice, General, Open/Save dialogs "Use OpenOffice dialogs"

If that option is not checked using the Windows Save dialog does allow to name
the file anything.

I just tested with LO 5.3.7 and what they do is instead of the error message,
the file is saved with whatever is before the # character (e.g. Bug#1 is saved
as "Bug" without any extension). So the bug is not fixed in LO, it is just a
different mistake.

Why can't the # character be used in the OpenOffice dialog? Testing with the
character : (which I know is not allowed) provides a different error message
(but not clearer)

Using the Windows dialog when testing with : I do get a logical message "The
file name is not valid"

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

--- Comment #7 from Pedro <pe...@gmail.com> ---
> OK, I see you used the OpenOffice dialog. I now can confirm the behavior!

The can you change the Status to Confirmed? I can do that myself but I think
it's a bad principle (in fact I think the bugs should be flagged as UNCONFIRMED
by default)

> The "filepicker" code is really old, maybe it was a restriction in Windows
> 98 an was never removed?

Maybe a developer can answer that (and hopefully fix it :) )

The reason I use the "old" dialog is because it allows me to save passwords to
remote folders ;)

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

--- Comment #6 from Matthias Seidel <ms...@apache.org> ---
Installed AOO 4.1.5 (pt) and Language Pack (en-US) on Windows 7 Pro (64bit):
I still can't reproduce it...

OK, I see you used the OpenOffice dialog. I now can confirm the behavior!

Just a guess:
The "filepicker" code is really old, maybe it was a restriction in Windows 98
an was never removed?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

--- Comment #2 from Pedro <pe...@gmail.com> ---
(In reply to Matthias Seidel from comment #1)
> Not reproducible for me with AOO 4.1.5 on Windows 7 Home (32bit).

Ah, yes. I'm running Windows 7 Pro x64 (but there is no architecture option for
Windows in Hardware). 

It does work correctly under Windows XP Pro x86

> (Why is this issue opened for OOo 3.3.0 or older?)

Because I tested with previous versions of AOO and OOo 3.3.0 and the problem
also occurs (so it is not a regression)

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mseidel@apache.org

--- Comment #1 from Matthias Seidel <ms...@apache.org> ---
Not reproducible for me with AOO 4.1.5 on Windows 7 Home (32bit).

(Why is this issue opened for OOo 3.3.0 or older?)

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

Pedro <pe...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #4 from Pedro <pe...@gmail.com> ---
(In reply to Matthias Seidel from comment #3)
> I now installed AOO 4.1.5 (de) on Windows 7 Pro (64bit) and still can not
> reproduce it.
> I even installed the Portuguese Language Pack. ;-)

I'm using the PT Installer +  en_US Language Pack (I prefer the menus in
English)

> However, that sounds more like a restriction of the file system. Do you try
> to save locally (NTFS) or on Stick/NAS?

I can't save on any folder. Not even on the My Documents. The problem is the
Hash character. I can save on any folder if the name doesn't contain the hash.

I found this out because I rename the files attached to a Bug number with
Bug#999 (where 999 is the exact number of the bug on the tracker)

I can load previous files which contain # in the name (they were created in LO
which doesn't have this bug at least since version 4.0)

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

--- Comment #3 from Matthias Seidel <ms...@apache.org> ---
I now installed AOO 4.1.5 (de) on Windows 7 Pro (64bit) and still can not
reproduce it.
I even installed the Portuguese Language Pack. ;-)

However, that sounds more like a restriction of the file system. Do you try to
save locally (NTFS) or on Stick/NAS?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127719] Save Error if Filename Contains Hash Character (#)

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127719

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
             Latest|---                         |4.1.5
    Confirmation in|                            |
     Ever confirmed|0                           |1

--- Comment #8 from Matthias Seidel <ms...@apache.org> ---
Issue is confirmed when using the OpenOffice dialog to save files.

-- 
You are receiving this mail because:
You are the assignee for the issue.