[Libreoffice-bugs] [Bug 51987] New: FILEOPEN: dialog ignores typed directory name without <Enter>
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 12 00:36:24 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=51987
Bug #: 51987
Summary: FILEOPEN: dialog ignores typed directory name without
<Enter>
Classification: Unclassified
Product: LibreOffice
Version: unspecified
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: UI
AssignedTo: libreoffice-bugs at lists.freedesktop.org
ReportedBy: lo_bugs at iseries-guru.com
Created attachment 64117
--> https://bugs.freedesktop.org/attachment.cgi?id=64117
screenshots
It seems that if the user fails to press <Enter> after typing a directory name
in the file Open dialog, the the program ignores the changed directory name.
I describe a situation leading to a message "<filename> not found", but it is
possible to make the program open a same-named file from the wrong directory.
I remember seeing comparable behaviour saving a file, but it is the other way
around in that the program's complaint is that the named file already exists.
The good news is that a simple workaround exists: press <Enter> after typing
the directory name and before typing the file name. The program then
refreshes the list of files in the named directory and goes on correctly from
there.
I have master commit id a3a0b81, pulled around 2012-10-10 17:45 UTC and built
with options
--enable-symbols
--enable-dbgutil
--enable-crashdump
--disable-build-mozilla
--without-system-postgresql
--enable-debug
--enable-werror
and configured in Tools > Options > LibreOffice > General to use LibreOffice
dialogs. My platform for build and execution is
$ uname -a
Linux cougar-natty 2.6.38-15-generic #60-Ubuntu SMP Tue May 22 11:30:47 UTC
2012 i686 athlon i386 GNU/Linux
$ gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
The full "steps to recreate" would consist mostly of creating a LO file in a
place accessible to users on different systems. Perhaps you will let me get
away with some steps along the way to the problem:
(1) Shell command shows existence of file.
$ ls -l /home/terry/Documents/rzkh.odb
-rw-r--r-- 1 terry terry 4270 2012-06-01 11:55
/home/terry/Documents/rzkh.odb
(2) In LibreOffice, I took menu option File > Open. Program presents dialog
Open, showing directory name /home/terry/lo_hacking/notes/bug_047520 and
blank file name. Attached document has an image of the dialog.
(3) In the open dialog I changed directory name to /home/terry/Documents/ and
typed file name rzkh.odb and clicked <Open>. Actual behaviour: the
program (seems to form full pathname using the originally presented
directory name and the file name that I entered and) presents dialog
complaining that a file does not exist; attached document has an image of
the desktop.
Expected behaviour: the program should connect to the backend database and
display the Base window.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list