[Libreoffice-bugs] [Bug 127322] Gallery: Insert items as background does no longer work

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 30 19:05:06 UTC 2020


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

--- Comment #3 from Justin L <jluth at mail.com> ---
Some code pointers:
gallerymenu2|background">Insert as Bac_kground</property>
sw/source/uibase/shells/basesh.cxx-void SwBaseShell::ExecuteGallery
.uno:BackgroundImage SID_GALLERY_BG_BRUSH

I thought it might just be a simple problem of XATTR_FILL_ not being used. But
it looks like RES_BACKGROUND is handled via unobrushitemhelper.cxx. But the end
result gives a aGraphic.Type == GraphicType::NONE.

GalleryThemePopup::BackgroundMenuSelectHdl passes the URL
libreoffice2/instdir/program/../share/gallery/computers/Computer-Desktop.png
somewhere, but so far I haven't been able to find out which black box turns
that into a Graphic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200730/12f2436b/attachment.htm>


More information about the Libreoffice-bugs mailing list