Date: prev next · Thread: first prev next last
January 2019 Archives by date, by thread · List index


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

João Paulo <joaopauloag-freedesktop@yahoo.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |trivial

--- Comment #6 from João Paulo <joaopauloag-freedesktop@yahoo.com.br> ---
(In reply to V Stuart Foote from comment #4)
(In reply to Mike Kaganski from comment #3)
... are not
theme-dependent. So I disagree with broadening of the initial proposal;
keeping things simple helps to do the right things step-by-step.
Sure, but current set of Tango theme MIME icons all have a solid gradient
background color--grey shading on white. While the HC icons have a solid
black background.

So the existing Tango design does not lend itself to simply setting a color
transparent--the icons would just look wrong.

Meaning redesign, adopting an icon theme that looks presentable with a
transparent bg (and probably dynamic fg color)--or a more ambitious bg/fg
response to DE theme--is still going to be needed.
I created four screenshots to show there is no need to do a redesign, only to
add transparent background on all icons embedded at
"%ProgramFiles%\LibreOffice\program\soffice.bin" (the file that is referenced
at "DefaultIcon" subkeys on every HKLM\Software\Classes\LibreOffice.<file
extension>).

Detailed explanation:

* When showing a shorcut file icon, Windows gets its' icon path from the .lnk
file itself. In the case of LibreOffice's Start Menu program folder, the icons
come from
soffice.exe/sbase.exe/scalc.exe/sdraw.exe/simpress.exe/smath.exe/swriter.exe.
Those icons have transparent background and so they appear correctly on Light
Mode and Dark Mode, i.e., without black or white background square because
transparent means the color behind the icon, as two of the attached pictures
shows.

* When showing the Start Menu LibreOffice icons, Windows gets its' icons the
same way on the earlier paragraph. As those icons have transparent background,
doesn't matter the color the Start Menu is, Windows never shows a white
background behind them, and so the Start Menu accent color is shown behind
those icons.

* When showing the Open With shortcut menu, Windows gets its' icon path from
the Registry key at HKLM\Software\Classes\LibreOffice.<file
extension>\DefaultIcon, which is
"%ProgramFiles%\LibreOffice\program\soffice.bin,<icon identifier>", because
either HKLM\Software\Classes\<file extension>\(Default),
HKLM\Software\Classes\<file extension>\OpenWithList subkeys or
HKLM\Software\Classes\<file extension>\OpenWithProgIDs\(Default) points to it.
In this case, those icons doesn't have transparent backgrounds, but white
backgrounds, and so Windows paints the white background as a white square
behind the icon.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.