Issue 114700 - Warn user of URL-to-cache redirection by Windows' native Open/Save dialog
Summary: Warn user of URL-to-cache redirection by Windows' native Open/Save dialog
Status: CLOSED WONT_FIX
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOO320m18
Hardware: PC Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2010-09-23 13:29 UTC by zeboxx
Modified: 2017-05-20 10:03 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description zeboxx 2010-09-23 13:29:23 UTC
This enhancement request flows out of Issue 50498 / Issue 52597.

When using the Windows native Open/Save dialogs to Link a resource on the
internet, the Windows explorer shell may download the resource to its local
cache and returns that location to the calling application instead.  This
happens transparently, so the user is none the wiser that this has happened
until they go to Edit the Links and happen to notice that the path is pointing
to a local volatile resource.
( To make matters worse - this doesn't seem to -always- happen, lulling the user
into a false sense of everything being right with the Linking world, but have
not found a repro case for that to file. )

The result of this is that the next time the user opens the document, or if a
third party opens the document, the Linked resources may be, or are, invalid.

This issue is briefly noted in the documentation under the OpenOffice.org
General Options ... Open/Save dialogs section (flowing from Issue 51205), which
of course gives the solution: use the OpenOffice.org Open/Save dialogs.

However, I think it would be better if the user were warned of this happening
using a warning message with a standard "Do not show this warning again" type
option in the dialog.  Would have saved yours truly some headache, at least :)

The way this could be handled would be by...
1. checking whether the user is using the Windows native Open/Save dialog
2. checking whether the path the user appears to have selected a path leading to
the volatile location (SHGetGolderPath (
http://msdn.microsoft.com/en-us/library/bb762204%28VS.85%29.aspx ) with
CSIDL_INTERNET_CACHE (XP) / FOLDERID_InternetCache (Vista, Win7)) by matching
the first part of the path
3. checking if the user has NOT opted to ignore the warning in the past
4. if conditions 1, 2 and 3 are true, pop up the warning.

This would make it immediately clear to the user that the URL they entered was
redirected to a volatile local cache, how to fix this, and allow the user to
ignore the warning if they happen to actually want to link to volatile local
cache files on a regular basis for whatever reason.

Thank you for your consideration.
Comment 1 thorsten.martens 2010-10-07 10:50:16 UTC
TM->requirements: please have a look, thanks
Comment 2 Edwin Sharp 2014-02-14 12:35:18 UTC
Please attach example.
Comment 3 Edwin Sharp 2014-02-27 10:49:53 UTC
No info from author.