Until there's conclusive science that color temperature affects eye strain,
KDE should not make any such claims.
There is no scientific evidence that blue light from computer monitors has
anything to do with eye strain or sleep patterns. This is folklore based on
some faulty research from decades ago that somehow made it into the mainstream.
Color temperature ends up being just a matter of personal preference. Actual
studies using lenses showed that blocking blue light did not help people who
suffer from eye strain at all (a TL;DR of many studies is this:
https://pubmed.ncbi.nlm.nih.gov/29044670/).
Some other links, digested for popular science:
- https://onezero.medium.com/blue-light-isnt-as-bad-as-you-think-d9e1e48f0cc6
- https://time.com/5752454/blue-light-sleep/
When using a language that's wordier than English and this label becomes
a two-line string, currently the layout breaks and the string overflows
because the Label item that draws it has no maximum height and elision
mode set.
This commit fixes that by setting them accordingly, and also using a
standard icon size for the icon so that there's actually enough room for
two lines of text.
BUG: 458614
FIXED-IN: 5.24.7
This way we do not load old or broken third party RunCommand.qml files in KRunner.
This also allows us to get rid of compatibility logic for old versions of this file.
BUG: 457174
Qt 6 no longer allows exporting gadgets with an uppercase name. Namespaces
work just as well here, but we unfortunately have this problem also in
other places where the solution is less straightforward.
Track the selected GTK theme in the model only. This fixes setting to default when the GTK pages was never opened
Override isSaveNeeded instead of calling setNeedsSave, this fixes the apply button enablement
The intention of this code appears to be finding system tray applets, since the systemtray is a containment within another applet/containment
However the code causes an infinit recursion since we are calling addContainment on the same containment again
The recursion also is unnecessary since corona->containments() already lists the system tray containment, so we don't need to find it by recursing through the panel's children
This fixes that the titlebar does not update its accent color when
switching from transparent to another color.
Test: choose From current color scheme, apply and then choose From
wallpaper, apply.
Use the proper DBus signal to notify the change of
accentColorFromWallpaper.
applyScheme needs the latest accentColor but when it's called from `KCMColors::saveColors()`,
the accent color in kdeglobals is still old, that's why the hack works
by saving the value before `ManagedConfigModule::save()`. Therefore we
can pass the latest accent color value to applyScheme to fix it and
remove the ugly hack.
The current wallpaper image can be set by a Plasma script. In that case,
the wallpaper is not added to the list, so also check the current image
is already added after opening the config dialog.
BUG: 458364
FIXED-IN: 5.26