The date can be changed using scrolling or the buttons provided. It does not animate the view though. With this MR I have tried to implement this. Though the goal here is not just animating the view. The user can now flick the view as well to change date. There is already https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1843 this MR that does all of this and more. But there was many controversial changes and the code was a mess. The way animation was being handled could be improved. This is a much more smaller version of that MR. I have tried to make as less changes as possible to the MonthView since it is already very messy. All I have done is creating a new component and wrapped the views in that component. The code changes not as much in the MonthView as it seems in the diff. Here's what I am talking about:

This will feel weird and random to the user, especially if they or one
of their apps deliberately uses that icon and then it unexpectedly isn't
displayed. This check feels too magical and unpredictable; let's remove
it to simplify things.
BUG: 458843
FIXED-IN: 5.26
This adds the ability to open the terminal from the main Plasma Shell
context menu. It was originally written as a Red Hat/Fedora patch
for KDE Workspace 4 to open Konsole from the desktop context menu
when Fedora switched to KDE 4, and ported forward to KDE Plasma 5
when Fedora Linux switched to Plasma 5 in Fedora 22.
It has been maintained as a downstream patch since then.
This version of the patch genericizes the patch by not implying that
Konsole is the user's terminal (it actually opens the user's chosen
terminal anyway), can be restricted via the desktop kiosk mode
settings, and is disabled by default.
The major maintainers of this patch are being honored as co-authors
for this patch. They have all helped keep this functionality working
across two KDE major versions for a decade.
Co-authored-by: Daniel Vrátil <dvratil@redhat.com>
Co-authored-by: Jan Grulich <jgrulich@redhat.com>
Co-authored-by: Marc Deop <marcdeop@fedoraproject.org>
Co-authored-by: Rex Dieter <rdieter@fedoraproject.org>
BUG: 451217
Currently, if you interact with one of the color temperature sliders
by scrolling, the preview message and full-screen color tint are
activated but never deactivated. This is because the deactivation only
happens in an `onPressedChanged` handler, but with a scroll, there is no
change to the `pressed` property's status, so it never fires and hence
the message and overlay never disappear.
This commit fixes that by using a timer to hide them that only triggers
when a slider is manipulated using a scroll.
BUG: 458675
FIXED-IN: 5.26
Currently we have a situation where in order to change the Night Color mode,
you have to go through Automatic mode first (and thereby make a geolocation
network request) as it's the default setting. With this commit, you turn on
Night Color and choose an activation mode all in a single step using the
combobox, bypassing this issue and simplifying the UI too.
with 362cdd6aff plasma-workspace
disables api deprecated before 5.98, breaking the build on Qt5
As we depend from frameworks new enough now, remove the ifdefs and use only the new api
Adds support to the new information offered by KWin. Now it can tell us
that the current client doesn't support Wayland input methods.
Therefore, it sets the plasmoid in a new "unsupported" state that will
offer to force an activation when triggered. KWin will then be able to
emulate a keyboard and it all should work to some extent.
Depends on https://invent.kde.org/plasma/kwin/-/merge_requests/2907
BUG: 439911
The current code gathers AppStream IDs by looking at the app's desktop
name and then adding ".desktop" onto the end of this, reflecting a
now-deprecated convention that every AppStream ID ought to end in
".desktop". This hasn't been true for a while and isn't correct today;
let's use a more modern API that returns more correct results.
BUG: 458812
FIXED-IN: 5.24.7
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