Issue 31738 - Insert Graphic Dialog Preview Misbehavior
Summary: Insert Graphic Dialog Preview Misbehavior
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 680m47
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 22:25 UTC by mjneedles
Modified: 2013-02-07 22:14 UTC (History)
1 user (show)

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


Attachments
the defect Dialog (35.24 KB, image/png)
2004-07-20 13:31 UTC, mci
no flags Details
The same Dialog after deselecting and selecting preview (48.03 KB, image/png)
2004-07-20 13:32 UTC, mci
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mjneedles 2004-07-19 22:25:27 UTC
Do the following:

In an HTML document, Insert->from File, and check on the "preview" checkbox.

If it was already checked, the preview pane will not be open, even if you click
on a graphic file in the file pane.  You have to uncheck the Preview box and
re-check it to get the preview pane to open.
Comment 1 mci 2004-07-20 13:20:13 UTC
Hi mjneedles,

thanks for using and supporting OpenOffice.org...

This problem only appears only in Writer/Web while inserting a graphic
(Insert->FromFile) with pre-selected  preview...

reassigned to 
Comment 2 mci 2004-07-20 13:20:46 UTC
Hi pb,

I think this is something for you...
Comment 3 mci 2004-07-20 13:31:57 UTC
Created attachment 16613 [details]
the defect Dialog
Comment 4 mci 2004-07-20 13:32:30 UTC
Created attachment 16614 [details]
The same Dialog after deselecting and selecting preview
Comment 5 mci 2004-07-20 13:34:35 UTC
Hi pb,

if this is nothing for you please reassigne dthi to the responsible developer...
Thanks...
Comment 6 pb 2004-07-21 08:00:01 UTC
pb -> tra: this only happens with the system dialog
Comment 7 tino.rachui 2004-07-29 07:06:16 UTC
Just happens with WriterWeb, all other applications work well. It's only
apparent in the system file open dialog because our own dialog is not able to
hide the preview. The XFilePreview interface has a method 'setShowState' which
displays or hides the preview obviously the client of the file open dialog only
sets the value of the 'Preview' checkbox but doe not call 'setShowState'.
Comment 8 michael.brauer 2004-07-29 08:37:01 UTC
MIB -> OS
Comment 9 Oliver Specht 2004-09-29 12:18:00 UTC
OS->TRA: Your assumption is wrong. The dialog is used in the same way in Writer
Web as in the Writer. The difference is that in WriterWeb the Link-Checkbox is
checked and set to disabled. This seems to break the preview function of the
dialog. 
See sw/source/ui/shells/grfshex.cxx around line 183

Reference < XFilePickerControlAccess > xCtrlAcc(xFP, UNO_QUERY);
if(nHtmlMode & HTMLMODE_ON)
	{
        sal_Bool bTrue = sal_True;
        Any aVal(&bTrue, ::getBooleanCppuType());
        xCtrlAcc->setValue( ExtendedFilePickerElementIds::CHECKBOX_LINK, 0, aVal);
        xCtrlAcc->enableControl( ExtendedFilePickerElementIds::CHECKBOX_LINK,
sal_False);
    }


Comment 10 tino.rachui 2004-09-30 07:44:16 UTC
Delayed because of resouce limitations.
Comment 11 tino.rachui 2005-06-13 12:41:51 UTC
Reassigned for change of responsibilities sake.
Comment 12 kai.sommerfeld 2009-10-16 12:29:32 UTC
cd: Please take over. Windows file picker issue?