[Libreoffice-ux-advise] [Bug 122514] Tango themed ODF MIME type icons with white background need redesign for better appearance on Windows and macOS with dark mode DE

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 6 20:22:11 UTC 2019


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

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

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

--- Comment #6 from João Paulo <joaopauloag-freedesktop at 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.


More information about the Libreoffice-ux-advise mailing list