[Libreoffice-bugs] [Bug 127433] Use transparent "frame" for Windows explorer (shlxthdlr) preview thumbnail icons

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 29 17:10:38 UTC 2019


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

--- Comment #9 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Mike Kaganski from comment #8)
> I suppose you could try modifying line 397 [1] to define first argument
> (alpha) to be 0.
> 
> [1]
> https://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/
> thumbviewer/thumbviewer.cxx?r=64985454#397

Otherwise, would replacing the legacy W2K era IExtractImage & IExtractImage2
we've been using to format the extracted preview be appropriate now?

Does the Windows Vista era IThumbnailProvider interface [1] offer a cleaner way
to extract document previews without needing the backing rectangle being filled
white using the SolidBrush fillRectangle and black border?

Suggests the IThumbnaiProvider would more broadly handle the container for the
thumbnail--we'd now just have to give it the bitmap out of the archive (maybe
include Flat ODF as for bug 53534). And so improving the os/DE integration on
Windows?

=-ref-=
[1] https://docs.microsoft.com/en-us/windows/win32/shell/thumbnail-providers

-- 
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/20191029/4884f801/attachment.html>


More information about the Libreoffice-bugs mailing list