<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I checked again, restarted everything, but still the same
problem:</p>
<p><img src="cid:part1.ifXJ4f0j.mxXIAVEp@xpipe.io"
moz-do-not-send="false" width="1053" height="526"></p>
<p>Furthermore, I also tested it on my Asahi Fedora Linux with the
latest KDE Plasma. The preferences values there are all detected
correctly, but are never updated at runtime when changed in the
settings menu.<br>
</p>
<br>
<div class="moz-cite-prefix">On 10/02/2024 18:10, Michael Strauß
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJEpuXT4Ay-Jj9qiXwvgebQGkZ8eRiUzf9ioqx-3FUYDwFjAfw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>Hi Christopher,</div>
<div><br>
</div>
<div>the relevant preferences for color scheme detection are
textColor=0x000000ff and textBackgroundColor=0xffffffff on
your system.</div>
<div><br>
</div>
<div>That's pretty strange, I'm getting the following values
on macOS Sonoma 14.3.1 M1:</div>
<div> in light mode: textColor=0x000000ff,
textBackgroundColor=0xffffffff</div>
<div> in dark mode: textColor=0xffffffff,
textBackgroundColor=0x1e1e1eff</div>
<div><br>
</div>
<div>Consequently, I'm also getting the correct color scheme
when I'm switching between light and dark mode on macOS
(verified with the PlatformPreferencesChangedTest
application).</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Feb 10, 2024 at
5:55 AM Christopher Schnick <<a
href="mailto:crschnick@xpipe.io" moz-do-not-send="true"
class="moz-txt-link-freetext">crschnick@xpipe.io</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Lastly I also tried it on macOS. The accent color
detection works there, but the color scheme detection
does not, i.e. it always returns light mode. I'm using
macOS Sonoma 14.3 with aarch64.</p>
<p>Here are the preferences when dark mode is set in the
settings:</p>
<p><br>
</p>
<p><br>
</p>
<p>So since you are thinking about making this a
preview-only feature, I don't think there is that much
to do to properly handle systems where some properties
are not supported. Just a few methods to set the default
value of foreground, background, and accent color would
be enough. In theory I don't need to know exactly what
color observation is supported, I only want to have the
ability to use my own colors as defaults in that case.</p>
<p>Best<br>
Christopher Schnick</p>
<blockquote type="cite">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote
type="cite">
<blockquote
type="cite"> </blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>