[Libreoffice-ux-advise] [Bug 152454] Dark Mode on Windows 11 shows tabs as button with a full white border around the element

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 12 09:47:20 UTC 2022


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Dark Mode on Windows 11     |Dark Mode on Windows 11
                   |shows light borders and     |shows tabs as button with a
                   |tabbed menu bar in          |full white border around
                   |background collor           |the element
           Priority|lowest                      |medium
             Status|UNCONFIRMED                 |NEW
           Keywords|needsUXEval                 |
     Ever confirmed|0                           |1
                 CC|libreoffice-ux-advise at lists |heiko.tietze at documentfounda
                   |.freedesktop.org            |tion.org
           Severity|enhancement                 |normal

--- Comment #11 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
Caolan advised to take a look at vcl/win/gdi/salnativewidgets-luna.cxx::1202
"Windows (and Apple) basically dropped/ignored their old (legacy) apis for dark
mode. But MS wanted explorer to have dark mode, and if you pretend to be
explorer then the old apis support dark mode. But only limited bits that
explorer uses"

Just removing the button type makes it a white tab
before https://i.imgur.com/Ou4qZbl.png
after https://i.imgur.com/rCgZcqm.png

"It might be that a "Toolbar" or "Rebar" (and maybe matching other compromises
in other ControlType::TabItem/ControlType::TabBody/ControlType::TabPane
handlers) could find a working dark mode handle"

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


More information about the Libreoffice-ux-advise mailing list