summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-07-12 12:25:29 +0300
committerEli Zaretskii <eliz@gnu.org>2014-07-12 12:25:29 +0300
commit47f63aa79abed1da90fabd637529d5f8161f84fa (patch)
tree9aae64b8c1eb38ea45daf7e482a07c6f28b21a26 /etc
parenta5a8e250d5fc17b3e4a7955f2c896f2b050b2960 (diff)
downloademacs-47f63aa79abed1da90fabd637529d5f8161f84fa.tar.gz
Document the behavior of file selection dialogs on Windows 7 (bug #17950).
etc/PROBLEMS: Mention the problem from bug #17950. src/w32fns.c (Fx_file_dialog): Mention in the doc string the behavior on Windows 7 and later when the function is repeatedly invoked with the same value of DIR. src/xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc string to match the one in w32fns.c.
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/PROBLEMS20
2 files changed, 24 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index d30c03f1c20..06a0c4b5312 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-12 Eli Zaretskii <eliz@gnu.org>
+
+ * PROBLEMS: Mention the problem from bug #17950.
+
2014-07-04 Eli Zaretskii <eliz@gnu.org>
* TODO: Remove items that were already done. Rearrange a few
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 1f9200febbf..cea2213a24e 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1961,6 +1961,26 @@ Another possibility is to rebuild Emacs with the -shared-libgcc
switch, which will force Emacs to load libgcc_s_dw2-1.dll on startup,
ahead of any optional DLLs loaded on-demand later in the session.
+** File selection dialog opens in incorrect directories
+
+Invoking the file selection dialog on Windows 7 or later shows a
+directory that is different from what was passed to `read-file-name'
+or `x-file-dialog' via their arguments.
+
+This is due to a deliberate change in behavior of the file selection
+dialogs introduced in Windows 7. It is explicitly described in the
+MSDN documentation of the GetOpenFileName API used by Emacs to pop up
+the file selection dialog. For the details, see
+
+ http://msdn.microsoft.com/en-us/library/windows/desktop/ms646839%28v=vs.85%29.aspx
+
+The dialog shows the last directory in which the user selected a file
+in a previous invocation of the dialog with the same initial
+directory.
+
+You can reset this "memory" of that directory by invoking the file
+selection dialog with a different initial directory.
+
** PATH can contain unexpanded environment variables
Old releases of TCC (version 9) and 4NT (up to version 8) do not correctly