Re: [Libreoffice-ux-advise] Manage Names Dialog hit master

2011-12-09 Thread Eike Rathke
Hi Markus,

On Wednesday, 2011-12-07 14:04:38 +0100, Markus Mohrhard wrote:

> >> with a thousand range names and we now open in less than ten seconds
> >> while we needed more than 30 seconds with my old implementation.
> >
> > What's the time needed with the old dialog?
> 
> I did not test it there but we will need more time. The old dialog
> just added the name to a list and we now need to create an entry from
> name and scope. The formula calculation is only done for visible
> cells. I think 1000 range names are already an extreme example and
> since it works quite nice there we can use this approach.

Well, I've seen corporate documents with more names.. 10 seconds for
1000 names sounds quite much to me. Probably worth a callgrind.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgpMmOk8WL9gn.pgp
Description: PGP signature
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-ux-advise] Linking media ...

2011-12-09 Thread Michael Meeks
Hi guys,

So - one of the sexy features to hit LibreOffice 3.5 - that (sadly)
hasn't hit the wiki page yet (Michael?)

http://wiki.documentfoundation.org/ReleaseNotes/3.5

Is the ability to embed Multimedia (ie. videos & audio) inside ODF
documents :-) that avoids the common problem of posting your slides and
them being missing that data at the other end.

Unfortunately; the 'Link' option is the default for this media type,
and I was wondering - since that seems (to me) to be mostly a bug ;-)
[ and one we turned off for images by default long ago ] - whether there
would be any objections to:

* disabling 'link' for multimedia embedding by default
+ ie. we should embed the file verbatim.
and:
* throwing up a dialog saying:
"are you sure you want to embed this big blob"
+ or similar (bette rtext appreciated)
+ if the media is greater than some nice number eg. 16Mb

Interestingly, ~none of the sample videos I deal with are that big -
max 60Mb so perhaps just having the possibility to link and just always
doing it by default is not such a bad idea (?). Thoughts appreciated.

And Michael - thanks for the lovely feature :-)

Thanks,

Michael.

Banal patch to always embed:

diff --git a/avmedia/source/viewer/mediawindow.cxx 
b/avmedia/source/viewer/mediawindow.cxx
index 713e9e9..4f25672 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -311,7 +311,7 @@ bool MediaWindow::executeMediaURLDialog(Window* /* pParent 
*/,
 // for video link should be the default
 xCtrlAcc->setValue(
 ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_LINK, 0,
-uno::makeAny(sal_True) );
+uno::makeAny(sal_False) );
 // disabled for now: TODO: preview?
 xCtrlAcc->enableControl(
 ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_PREVIEW,

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


Re: [Libreoffice-ux-advise] Linking media ...

2011-12-09 Thread Michael Stahl
On 09/12/11 17:02, Michael Meeks wrote:
> Hi guys,
> 
>   So - one of the sexy features to hit LibreOffice 3.5 - that (sadly)
> hasn't hit the wiki page yet (Michael?)
> 
>   http://wiki.documentfoundation.org/ReleaseNotes/3.5

have just added it :)

>   Is the ability to embed Multimedia (ie. videos & audio) inside ODF
> documents :-) that avoids the common problem of posting your slides and
> them being missing that data at the other end.
> 
>   Unfortunately; the 'Link' option is the default for this media type,
> and I was wondering - since that seems (to me) to be mostly a bug ;-)
> [ and one we turned off for images by default long ago ] - whether there
> would be any objections to:
> 
>   * disabling 'link' for multimedia embedding by default
>   + ie. we should embed the file verbatim.

currently i don't think that's a good idea because we can store the
embedded media only in ODF package based documents, not in any of the
other formats (i assume we can store links at least in ODF flat files
and MSFT formats).

> and:
>   * throwing up a dialog saying:
>   "are you sure you want to embed this big blob"
>   + or similar (bette rtext appreciated)
>   + if the media is greater than some nice number eg. 16Mb

that sounds reasonable :)

>   Interestingly, ~none of the sample videos I deal with are that big -
> max 60Mb so perhaps just having the possibility to link and just always
> doing it by default is not such a bad idea (?). Thoughts appreciated.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise