Commit graph

14873 commits

Author SHA1 Message Date
l10n daemon script
04ae3bee0d GIT_SILENT Sync po/docbooks with svn 2026-09-09 02:05:13 +00:00
l10n daemon script
4be86edeb3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-09 01:46:45 +00:00
Nicolas Fella
3d1febd381 [activitymananger] Fix activity background image
The code looks into the appletsrc file to load the wallpaper for a given
activity.

However that only worked when a custom image was specified by full path.

When any of the built-in wallpapers is used the Image key instead points
to the wallpaper package folder, not any specific image.

Also when the default wallpaper is used the key is empty.

Fix all of these cases by selecting one image when given a folder, and
fall back to the default wallpaper (called Next) when no config is present.

Also when using a color background use the actual default color instead of black

BUG: 378693
2026-09-08 11:54:03 +02:00
l10n daemon script
564b0d8857 GIT_SILENT Sync po/docbooks with svn 2026-09-08 01:59:20 +00:00
l10n daemon script
f5a9330740 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-08 01:44:27 +00:00
Christoph Wolk
ab2bd1d83f applets/kicker: more linting
Another pass of relatively simple linting changes, including
- avoiding ids and properties with the same name
- avoiding var in favor of const/let
- a few unused imports, unqualified accesses to members of parents, etc.
  that have crept in.
2026-09-07 16:20:53 +00:00
Christoph Wolk
1fa28aee7c applets/kicker: simplify resetting the runnerResultsList currentIndex
We set the RunnerResultsList currentIndex to 0 or -1 if appropriate as
search results come in. This works, but we need to track the overall
runnerModel here (which we otherwise don't need), and call this check
more often than needed (we keep rechecking everything on each column
coming in).

Instead, we can just listen to the property that tracks whether we are
the first column: we should only set it to 0 if it is currently the
first column, and only need to unset if we were the first column before
(as otherwise nothing would set us to 0 in the first place). We also need
to do it in case the current model changes, as that might reset the
currentIndex. This is marginally less work (linear instead of quadratic,
but with small n), and simpler as we don't need an extra Connections
to the outside to track it.
2026-09-07 16:20:53 +00:00
Christoph Wolk
f89d033f72 applets/kicker: don't do things with globalFavorites.favorites
Kicker writes its config's favoriteApps value to
globalFavorites.favorites if it is changed, and writes the new value to
the config on globalFavorites.favoritesChanged. This does nothing:
globalFavorites is a KAStatsFavoritesModel and only has a favorites
property for backward compatibility reasons; reading or writing it does
nothing except print a warning that this is unsupported, and
favoritesChanged is never emitted in this model, The only time that this
code every does anything is if the user somehow manages to change the
config value (and nothing changes it, so maybe with a Plasma script?).
And the only thing it does then is print a warning, so still not useful.

Lets' just remove it. (systemFavorites is a SimpleFavoritesModel, and
the property actually does something here).
2026-09-07 16:20:53 +00:00
Christoph Wolk
2b0ce5307f applets/kicker: remove windowSystem
WindowSystem by now was only necessary for X11 when passing focus to
submenus. We don't do X11 anymore in Plasma, so we can remove it.

In the future, we might also want to remove the type from the backend,
but that would break third-party forks of Kicker that still use it, so
needs a bit more consideration.
2026-09-07 16:20:53 +00:00
Christoph Wolk
b961f50093 applets/kicker: drop sorted property in ItemListDialog
ItemListDialog forwards the source model's sorted property if set. This
was necessary when we filtered separators on sorted menus in the
frontend, but we now do it in the backend for better results since
d4ea56419a. The sorted property has no
more function now. Let's kill it.
2026-09-07 16:20:53 +00:00
Christoph Wolk
6a626faff7 applets/kicker: don't launch favorites twice on Space
Kicker has the key handler on AbstractItemDelegate, but there's also
a stray one on SideBarItem. This causes le favorite to launch twice when
pressing Space (but not when pressing Return).

Instead, delete the unnecessary extra handler.
2026-09-07 11:40:52 +00:00
Nicolas Fella
69df118b9d Add missing Qt::Qml link 2026-09-07 13:21:39 +02:00
Christoph Wolk
0fe4c7170d emojier: go back to search field on Arrow Up
Arrow Down from the search field goes to the main gridView, but Arrow
Up from there doesn't go back. Our previous implementation using
KeyNavigation broke during refactoring, and was half-replaced.

Instead, fix the KeyNavigation, and make the handover pattern a bit
more obvious with a comment (similar to how we have them in a couple
of other places)
2026-09-07 07:26:09 +00:00
l10n daemon script
4e40c3e179 GIT_SILENT Sync po/docbooks with svn 2026-09-07 02:01:00 +00:00
l10n daemon script
d546904d63 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-07 01:42:55 +00:00
l10n daemon script
c6ee1f98cb GIT_SILENT Sync po/docbooks with svn 2026-09-06 02:22:48 +00:00
l10n daemon script
ca0c7e858b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-06 01:44:05 +00:00
Christoph Wolk
716bfd6df7 applets/taskmanager: briefly delay audio indicator fade out
We delay showing the audio indicator by 2000 ms, so that it won't flash
in and out if the app only plays a very short stream and goes silent
again. We don't do this for stopping playing streams though. Generally
reasonably as apps rarely stop their stream only for short periods, and
having it update immediately is nice. But "rarely" is not never, and
there is one particular case that's common to trigger: video players
usually pause on click, and go fullscreen on double-click. This is
registered as stopping the stream, then reopening the old one, so causes
fade out - delay - fade in. It can even abort in the middle of fading
out, leaving a partially faded audio indicator in the panel for
2 seconds if you un-fullscreen a playing video until it's fully opaque
again. This looks a little broken.

Instead, we add a small delay on hiding the icon as well. We can just
take the double click delay (defaulting to 400 ms), as this exactly
covers the situation where this will most commonly occur, and should
also handle other brief interruptions of the stream pretty well.

BUG: 522471
FIXED-IN: 6.8.0
2026-09-05 12:14:48 +00:00
Christoph Wolk
b5560b0d1b applets/kickoff: disable reusing items in KickoffGridView
Reusing delegates does not work if the model is replaced; the reused
delegate keeps its old model binding. For KickoffListView, reuse was
turned off with aa8a1fbf4b (2024), but
in KickoffGridView, reusing items remained on. The same thing can
happen there though (but it needs a very long list of apps, at least
on the order of two full pages) - when switching between categories,
any delegates that were pooled from being scrolled far outside the
view are reused on category switch, but with their old contents from
the previous category now appearing in the new category.

Instead, disable reuse of items in GridView as well - it's only rarely
relevant anyway as you need so many entries in a category, and the only
time it's relevant it breaks category switching.

BUG: 515229
FIXED-In: 6.6.7
2026-09-05 10:42:13 +00:00
l10n daemon script
fa26199e32 GIT_SILENT Sync po/docbooks with svn 2026-09-05 01:54:46 +00:00
l10n daemon script
72b97eb43c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-05 01:43:33 +00:00
Kristen McWilliam
c0cbc9df38
lockscreen: pass new footer to WallpaperFader
Given it a new id that doesn't shadow the `footer` property inherited
from base qml objects.
2026-09-04 16:45:25 -04:00
Christoph Wolk
d70df37679 applets/kicker: fix highlight while dragging
When the user starts dragging an item, it's no longer considered hovered
(I suspect the DragHandler takes over the grab), which causes the
ItemListView to unset the currentIndex, which causes the highlight to
vanish. But the delegate still considers itself pressed, and uses the
highlighted text color, so we end up with dark text on dark bg (or light
on both).

Instead, don't unset the currentItem if we are dragging. Alternatively
we could make it no longer pressed, but it's probably better to keep the
highlight so users get better visual feedback about which item they're
dragging (instead of just the icon).
2026-09-04 10:38:48 +00:00
Christoph Wolk
e126403797 applets/kicker: don't allow dragging categories
You can't drop categories anywhere, and they have no url to do anything
with. But Kicker still allows you to start a drag.

Instead just disable dragging on everything with no url and no
favoriteId. (We still need to allow empty urls with favoriteId, as
system actions don't have an url).
2026-09-04 10:38:48 +00:00
Christoph Wolk
db1d6b066f drop qmllint disable unqualified
For a while, we used "qmllint disable unqualified" on lines containing
i18n calls to get the linter to shut up about them. The better way to do
this (since Qt 6.11) is to register them with qmllint as context
properties, which we now do centrally for the whole project.

So remove them all. This reduces noise in the codebase, and will still
show other unqualified lookups on the same line, making it possible for
qmllint to find them.
2026-09-04 08:21:45 +00:00
l10n daemon script
58dc4386a6 GIT_SILENT Sync po/docbooks with svn 2026-09-04 01:53:26 +00:00
l10n daemon script
25d20b3c1e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-04 01:41:57 +00:00
Uriel Fontan
16ebca0b9e kcms/mouse: Add UI to control on-button scroll locking
Add a "tap to autoscroll" option which a lot of users that come
from Windows use.

Depends on https://invent.kde.org/plasma/kwin/-/merge_requests/9671

FEATURE: 495617
FIXED-IN: 6.8.0
2026-09-03 15:13:44 -04:00
Christoph Wolk
3bb54b1bf1 applets/taskmanager: make task progress bar follow rtl
TaskProgressOverlay sets LayoutMirroring on the contentItem, but turns
off childrenInherit. This means that the FrameSvgItem does not use this
LayoutDirection, and the progress bar fills left-to-right as the anchors
are not flipped.

We could set childrenInherit, but it seems that setting the direction on
the Item is unnecessary, we just need it on the FrameSvgItem (which has
no children anyway, so the setting does not matter)

BUG: 524112
FIXED-IN: 6.7.5
2026-09-03 11:13:40 +00:00
l10n daemon script
19f68ecadc GIT_SILENT Sync po/docbooks with svn 2026-09-03 02:19:23 +00:00
l10n daemon script
e1afd8c6b5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-03 01:39:40 +00:00
Nicolas Fella
6467f79881 applets/taskmanager: Drop unneeded workaround for AppId having a .desktop suffix 2026-09-02 17:30:18 +02:00
Sebastian Sauer
c1016ae008 Add Dwell Clicker applet and kcm
Implement the Plasma applet and kcm for the
Dwell Clicker as implement in the MR
plasma/kwin!9762

CCBUG: 521391
CCBUG: 472436
2026-09-02 11:44:22 +02:00
l10n daemon script
3d76dfb237 GIT_SILENT Sync po/docbooks with svn 2026-09-02 01:51:54 +00:00
l10n daemon script
4ce072a834 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-02 01:40:33 +00:00
Nate Graham
494f48ebef Install org.kde.screenreader.desktop as PROGRAMS to un-break shortcut
### Reason for the change
Installing it as FILES doesn't assign it execute permissions. This
makes kglobalaccel deny launching it.


### Test plan
Press Meta+Alt+S


### Screenshots or screen recordings
With the change, this doesn't happen anymore:

![Screenshot_20260901_103255](/uploads/5a3b722955e77efbee2fd54aa58bb9e3/Screenshot_20260901_103255.webp){width=500}

---

cc @nicolasfella
2026-09-01 12:44:47 -04:00
Christoph Wolk
6d29b6cd16 applets/taskmanager: keep clicked small thumbnails fixed
Task manager has the option to show the tooltip on click fro grouped
tasks (somewhat  misleadingly labeled "Show small window previews",
which it does only if window previews are enabled; it shows the tooltips
as they are). At present, this setting is not particularly useful, as
it just skips the tooltip delay; even though the user has indicated that
they want to interact with that particular grouped task, accidentally
hovering over another window's grouped task will immediately replace it
with that task.

We already have some machinery to track the clicked state, but it broke
over time, mainly for two reasons: we always replace the tooltip
explicitly and reset clicked state, when the grouped task stops being
hovered, so when the machinery could come into effect it's already been
unset. Then, the tooltip is implemented with a tooltip area, and that
will always hide on its own when no longer hovered, and it will also
automatically change the visualParent when something starts being
hovered (so if the first two were fixed, we'd get the clicked task's
tooltip on the hovered task, not itself).

To fix this, we (a) stop resetting and updating on hover state change if
there's a clicked grouped task (b) re-show the original tooltip if
another task is hovered (to circumvent the automatic closing) and (c)
turn off the other tasks' ToolTipAreas while there is a clicked grouped
task, to stop the re-visualParenting.

BUG: 484206
FIXED-IN: 6.8.0
2026-09-01 08:09:55 +00:00
l10n daemon script
ca86896677 GIT_SILENT Sync po/docbooks with svn 2026-09-01 01:54:49 +00:00
l10n daemon script
40377f95f1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-09-01 01:42:33 +00:00
l10n daemon script
b326dc27c8 GIT_SILENT Sync po/docbooks with svn 2026-08-31 01:52:01 +00:00
l10n daemon script
60f114d2a9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-08-31 01:40:33 +00:00
Nicolas Fella
7229ad6071 Add missing includes 2026-08-30 21:44:01 +02:00
Philipp Kiemle
0a07bfeae0 kcms/tablet: Use plural function for translatable string
Some languages have multiple plural forms depending on the amount. This enables them to translate any amount of seconds correctly.
2026-08-30 12:45:52 -04:00
l10n daemon script
ed78660785 GIT_SILENT Sync po/docbooks with svn 2026-08-30 01:54:01 +00:00
l10n daemon script
72af3d7d6d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-08-30 01:43:21 +00:00
Nicolas Fella
bdb21b1440 [kcms/access] Remove ms suffix from mouse keys acceleration spinbox
The value here is not a time in seconds but a number of steps
2026-08-29 16:19:16 +02:00
l10n daemon script
86e5f6f48c GIT_SILENT Sync po/docbooks with svn 2026-08-29 01:53:53 +00:00
l10n daemon script
fd96bb4c51 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-08-29 01:43:20 +00:00
Nate Graham
dd3247de5f LockScreenUI: re-add still needed PlasmaComponents3 import
Amends 1e77a2df15

CCMAIL: kristen@kde.org
CCMAIL: sitter@kde.org
2026-08-27 21:06:21 -06:00
l10n daemon script
c4e732d2ad GIT_SILENT Sync po/docbooks with svn 2026-08-28 01:54:35 +00:00