KWin can't notice soon enough the window being an osd type, so work around
by setting min and max size hints to the same value to make it non resizable
don't set layout size hints from the contents size. this will cause
binding loops. use the implicit size instead.
This solves an issue visible especially on wayland (different roundtrip of timing of resizes in x11 seems to mask this problem) where the clock tooltip
sometimes gets stuck in an infinite resize loop freezing the whole plasma shell
BUG:422072
We get intermittent user complaints and bug reports about notifications
not being visible enough, especially on large or cluttered screens.
This commit attempts to remedy the situation by tinting the header for
on the left side for critical notifications using the color scheme's
"warning" color. Only critical notifications receive this treatment
since they're the only ones that the user really does need to see.
BUG: 420541
FIXED-IN: 5.24
Systemd units which are symlinked to the service directory will be in
`linked` or `linked-runtime` state. They are also available and
runnable. This can happen when the package manager uses symlinks to
install systemd units instead of copying them, like on NixOS.
Arguably, `found=false; for(list) {if(cond) {found=true; break;}}` is
harder to read than a single `found=array.contains(cond)` expression.
My only regret is that C++ does not provide any `contains()` function /
algorithm, so we are forced to `find_if` an element and compare it with
an iterator's `end()` which would be an utter nonsense in any other
language.
But most importantly, this commit replaces Qt's deprecated foreach with
a standard for-loop.
It looks weird given the kind of visualization where this text is
displayed.
Bad:
* XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
Good:
* XKB (required version >= 0.5.0), XKB API common to servers and clients, <http://xkbcommon.org>
This allows it to be aligned with other form field, which is not
possible at the moment since it exists outside of the FormLayout in a
Row:ayout with the avatar. Fixing this would require adding API to
Kirigami.FormLayout to let its right side align to elements not in
another FormLayout, or port away from FormLayout and use a big
GridLayout instead. Both are messy. Instead, let's put the Name field
in the form layout and center the avatar above it.
Now the button begins with a verb and ends with an ellipsis in
conformance with the HIG, and there's also a little message that tells
the user what works and what doesn't. This should help to manage
expectations a bit.
The goal is to increase the number of keywords used to search for
KCMs in System Settings, thus making it easier to find the settings
users want.
Some inaccurate keywords have also been moved or removed, mostnotably
the ones in the mouse KCM that referred to Numpad mouse emulation,
since those settings now live under accessibility.
Currently the title of the list item is blank, leaving an awkward
subtitle with nothing above it. This commit improves that to use the
username as the title and avoid setting the subtitle at all, in the case
where the user has not provided their real name.
BUG: 441821
FIXED-IN: 5.23
This was added to Kirigami in
https://invent.kde.org/frameworks/kirigami/-/merge_requests/314
and simplifies and standardizes the creation of simple text-based
headers in OverlaySheet. This commit ports plasma-desktop's KCMs to
use them in all the places where it is possible to do so.