https://bugs.documentfoundation.org/show_bug.cgi?id=161875

--- Comment #5 from Armin Le Grand <[email protected]> ---
@Noel: It's because it uses the surrogate hack/mechanism: The import (also the
normal draw/impress one) creates the needed Items and puts them in a ItemSet
(or PoolItemholder). Then the UNO API is used to *set* the e.g. gradient by
*transfering* the name. The impl of the UNO API then uses the surrogates to
'search' that instance and set as value... sigh...
Of course the imports could also just set the gradient, but that is not what
happens. Somehow this started with Graphics being transferred by a created
UUID, then that was copied, etc...
For that reasons the names have to be unique -> not only for one doc in the
office, but for the whole office globally.
If we would change that to what *should* happen - setting the gradients and
other NameOrIndex Item-types - names would still have to be unique for the
document model, lots of UI stuff uses that...
HTH! Not sure though how to fix that, I do not want to 'speedup' the hack, but
sometimes...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to