[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2010-01-14 Thread sba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User sba changed the following:

What|Old value |New value

  Status|VERIFIED  |CLOSED





--- Additional comments from s...@openoffice.org Thu Jan 14 14:00:49 + 
2010 ---
OK in OOO320_m8 and m9. Closed.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2010-01-14 Thread sba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User sba changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from s...@openoffice.org Thu Jan 14 13:24:07 + 
2010 ---
Verified in OOO320_m9.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-03-18 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from f...@openoffice.org Wed Mar 18 09:33:38 + 
2009 ---
If you agree that defaulting to file-open (as its done in the other OS'es
implementations) is reasonable, then maybe we can implement this in the course
of issue 100214 (which is what lead me here)?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-03-18 Thread fheckl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from fhe...@openoffice.org Wed Mar 18 08:23:10 
+ 2009 ---
Defaulting to the standard file open dialog is, of course, no problem, unless
maybe the caller intended the dialog to be a save dialog, but how should I know?

If you think that defaulting is better than throwing an exception in that case,
then please feel free to reopen the issue :)
As long as it's 'resolved' I won't change anything (and I won't reopen it 
myself).

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-03-18 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from f...@openoffice.org Wed Mar 18 07:40:34 + 
2009 ---
Okay, you are right in that the service description can be read this way. (I
won't pick nits about the difference between "if" and "if and only if" here :)

However, you did not respond to the second item, which in fact is my bigger
concern: The change you did breaks (semantic) API compatibility. While that is
sometimes legitimate, it should have a really good justification, which I don't
see here. Defaulting to the file-open template shouldn't pose any problem, 
right?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-03-17 Thread fheckl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from fhe...@openoffice.org Tue Mar 17 22:09:04 
+ 2009 ---
OK, then let me quote from this same FilePicker service documentation 
(http://api.openoffice.org/docs/common/ref/com/sun/star/ui/dialogs/FilePicker.html):
::com::sun::star::lang::XInitialization -> "Implementers may omit this 
interface if the FileOpen dialog 
doesn't support custom templates. In this case a createInstance will create an 
ordinary FileOpen dialog 
with only the common FilePicker elements. The client has to provide one of the 
specified constants in 
TemplateDescription."

The aqua implementation does support custom templates and thus clients have to 
provide a template 
description initialization.

Is that justification enough?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-03-15 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from f...@openoffice.org Sun Mar 15 20:40:26 + 
2009 ---
"should not be done with" should read "should not be done without", of course

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-03-15 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User fs changed the following:

What|Old value |New value

  CC|'andreschnabel'   |'andreschnabel,fs'





--- Additional comments from f...@openoffice.org Sun Mar 15 20:39:48 + 
2009 ---
I agree that the initialization should be optional only. For one,
http://api.openoffice.org/docs/common/ref/com/sun/star/ui/dialogs/FilePicker.html
 states
that even the complete interfaces is optional, which implies there might be
implementations which do not support it. Requiring *all* (existing and future)
clients to check for this particular interface, and use it if present, is
certainly a Bad Thing (TM).
Second, and this has been raised already: Requiring initialization breaks API
compatibility for existing code, and should not be done with a *very* good
justification, which I miss here :)

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-02-07 Thread pierre13fr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from pierre1...@openoffice.org Sat Feb  7 10:52:49 
+ 2009 ---
Whatever is the mind of fheckl, the behavior of this dialog should have been
consistent through various versions of oo (because some people rely on intuitive
behavior). Moreover, having default behavior as being a "standard open dialog"
is not so abnormal.
Anyway, it is now a fact (at least in oo 3.0.0 and 3.0.1 on windows platforms as
far as I experimented myself) that the initialization is mandatory. 
Well ok, but I suggest then that the IDL documentation clearly mention this.
And that the embedded "Macro- Tools - GetFileName" be corrected : because it
does not work anymore (curiously the correct initialization code has been
commented out ! probably by another man who changed also his mind).



-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-01-15 Thread fheckl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219





--- Additional comments from fhe...@openoffice.org Thu Jan 15 23:23:14 
+ 2009 ---
Created an attachment (id=59420)
Test case


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2009-01-15 Thread fheckl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User fheckl changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from fhe...@openoffice.org Thu Jan 15 23:21:53 
+ 2009 ---
Fixed in cws aquafilepicker03. However I changed my mind and decided that if 
the dialog is not 
properly initialized from the outside, it might be better to throw an exception 
than to switch to a 
default mode (which might be the wrong type of dialog anyway).

The fix can be tested with the document I will attach next. It runs the 
following OOo Basic macro that 
would just do nothing without the patch:

Sub Main

Dim oFp
Dim initArgs(0)

On Local Error Goto InitializeFilePicker

' try to create the default FilePicker
oFp = createunoservice("com.sun.star.ui.dialogs.FilePicker")
Goto RunFilePicker

InitializeFilePicker:
On Local Error Goto 0
initArgs(0) = 0
oFp.Initialize(initArgs)

RunFilePicker:
oFp.execute

End Sub


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-07-17 Thread andreschnabel
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User andreschnabel changed the following:

What|Old value |New value

Priority|P3|P4





--- Additional comments from [EMAIL PROTECTED] Thu Jul 17 14:16:28 + 
2008 ---
lower priority, as the problem does not occure if the dialog is correctly
initialized (as suggested by fheckl).

note: there is no exception thrown, as the dialog immidiately returns with 
"false" 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-06-05 Thread fheckl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User fheckl changed the following:

What|Old value |New value

  Status|NEW   |STARTED





--- Additional comments from [EMAIL PROTECTED] Thu Jun  5 18:40:41 + 
2008 ---
@andreschnabel:
OK, it's an error that the aqua implementation doesn't throw an exception.

But I also consider it an error that your extension doesn't properly initialize 
the file picker. You may 
consider changing the CreatedFilePicker label to start this way:
CreatedFilePicker:
Dim initArgs(0)
initArgs(0) = 0
oFp.Initialize(initArgs)

to initialize the file picker as a simple file open dialog. For a list of 
possible values to supply to 
initArgs(0) see offuh/com/sun/star/ui/dialogs/TemplateDescription.hdl.

But I will also change the fpicker implementation to initialize with this value 
if no proper initialization is 
done by a calling component.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-06-04 Thread fheckl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User fheckl changed the following:

What|Old value |New value

 Assigned to|macport   |fheckl

Target milestone|---   |OOo 3.x





--- Additional comments from [EMAIL PROTECTED] Wed Jun  4 11:48:26 + 
2008 ---
Since native aqua fp is my terrain, I'll take this one.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-06-01 Thread ericb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User ericb changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |NEW





--- Additional comments from [EMAIL PROTECTED] Sun Jun  1 19:16:55 + 
2008 ---
Indeed : nothing happens with my recent build ( Intel / 10.4 )

Issue confirmed

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-06-01 Thread andreschnabel
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User andreschnabel changed the following:

What|Old value |New value

  CC|''|'andreschnabel'





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-06-01 Thread uwealtmann
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219


User uwealtmann changed the following:

What|Old value |New value

Keywords|  |aqua





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[porting-issues] [Issue 90219] Opening native file picker from Basic Makro (com.sun.star.ui.dialogs.Fil ePicker) does nothing

2008-06-01 Thread uwealtmann
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90219
 Issue #|90219
 Summary|Opening native file picker from Basic Makro (com.sun.s
|tar.ui.dialogs.FilePicker) does nothing
   Component|porting
 Version|OOo 3.0 Beta
Platform|Macintosh
 URL|
  OS/Version|Mac OS X
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|MacOSX
 Assigned to|macport
 Reported by|uwealtmann





--- Additional comments from [EMAIL PROTECTED] Sun Jun  1 15:40:22 + 
2008 ---
...not even trows an exception.
Try using template changer extension on
http://extensions.services.openoffice.org/project/templatechanger. It adds a new
menu entry in Files - Templates calles "Assign new" which basically opens a file
picker to assign a new template to the documnet. On Mac OS X aqua nothing 
happens.
Choosing Tools - Options - General "Use OOo-Dialogs" brings everything to work
as expected.

Code from Main is:
'Error handling for broken KDE-Filepicker implementation
On Error Goto OpenOOoFilePicker

' try to create the default FilePicker
oFp = createunoservice("com.sun.star.ui.dialogs.FilePicker")
Goto CreatedFilePicker

' if we get an error - tryto open the OOo filepicker

OpenOOoFilePicker:
On Error Goto 0
bUseSystemFilePicker = ChangeSystemFileDialog (false)
oFp = createunoservice("com.sun.star.ui.dialogs.FilePicker")
ChangeSystemFileDialog (bUseSystemFilePicker)

this should swich to OOos File picker if no native File picker works.
But neither an exception nor an error message occurs there.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]