Commit graph

13946 commits

Author SHA1 Message Date
Johnny Jazeix
6cc7a57966 documentation.yml is no more needed
Documentation is handled directly in linux-qt6.yml pipeline
2026-01-31 08:56:41 +00:00
l10n daemon script
b55283e36d GIT_SILENT Sync po/docbooks with svn 2026-01-31 01:46:45 +00:00
David Edmundson
e13b07de49 applets/taskmanager: Guard external input for progress
qRound(infinite) will assert, guard appropriately

BUG: 513312
2026-01-30 12:00:26 -07:00
Christoph Wolk
fcd4127fd3 applets/kickoff: specify header arrow targets explicitly
Kickoff's header, for some entries, leverages the tab chain for picking
the correct target for arrow key navigation. This works well in the
normal case, but breaks when there is a search active - this causes the
Clear button to appear in the search field, and become part of the tab
chain, so right arrow (in LtR) now gives focus to that button, rather
than the usual Configure button. This breaks consistency with search
fields elsewhere, which do not focus the Clear buttons on arrow keys,
and as PlasmaExtras.SearchField does not expect to be used this way,
there's no handling for this - it will focus on arrow keys, but focus
is now stuck there, and neither left nor right arrows will move it
anywhere else.

Instead, we explicitly specify which item should receive focus when
arrow keys are pressed. The Clear button can still be focused with the
Tab key, as elsewhere.
2026-01-30 10:52:30 +00:00
Christoph Wolk
8523ccc079 applets/kickoff: forward key events from header buttons
Key events are forwarded from the main content and footer buttons when
they are not locally handled; in particular, the user can begin typing
from anywhere to begin or continue a query – except the header buttons
(avatar, configure and pin), which swallow all key events. This is due
to the footer being a child of the main content view, and so is covered
by the event forwarding implemented there, but the header is separate.

Instead, set up key forwarding for the header (except the search field,
which is where we're forwarding to so it should never go back there).

BUG: 515004
2026-01-30 09:14:28 +00:00
Christoph Wolk
a53f1bf4f8 applets/kickoff: make Return/Enter work with single favorite
KickoffGridView guards its keyboard navigation through a check that
there is more than one entry. This is reasonable for actual navigation,
as you can't move the index if there's only one entry, but not for
activation - you can still launch an app even if there are no others.

Instead, we separate out the activation and have the guard only for
navigation keys.

BUG: 515058
FIXED-IN: 6.6.0
2026-01-30 08:36:56 +00:00
l10n daemon script
76871f7fee GIT_SILENT Sync po/docbooks with svn 2026-01-30 02:02:38 +00:00
l10n daemon script
525945b6ff 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-01-30 01:40:30 +00:00
l10n daemon script
123f3508fb GIT_SILENT made messages (after extraction) 2026-01-30 00:46:08 +00:00
Christoph Wolk
5f1564280c emojier: port away from deprecated invalidateFilter()
invalidateFilter() is deprecated and should be replaced by
beginFilterChange() and endFilterChange().
2026-01-29 17:13:36 +00:00
Arjen Hiemstra
0ce579dd90 kcms/landingpage: Adjust LookAndFeelBox to not require a model component
Instead of requiring a model that is stored as a component and
dynamically instantiated, make the model a part of the popup and make the
entire popup dynamically instantiated.

This achieves the same goal of not loading LnF from disk when not used,
not used, but makes this API more optional, allowing the "automatic" entry
to avoid needing to supply odd model and package data.
2026-01-29 15:58:37 +00:00
Arjen Hiemstra
99e448bf0d kcms/landingpage: Use LookAndFeelBox also for the automatic option
By exposing a few more properties, we can use the same code for all
three elements and avoid duplicating a bunch of code just for the
automatic option.
2026-01-29 15:58:37 +00:00
Arjen Hiemstra
a074271713 kcms/landingpage: Don't use PopupType.Native for LookAndFeelBox popup
PopupType.Native doesn't work properly for us since there is no "native"
popup. Instead just use PopupType.Item along with a proper popup
background so that we can have shadows for the popup, just like we do
with combo boxes.
2026-01-29 15:58:37 +00:00
Arjen Hiemstra
a7ba1c9b3b kcms/landingpage: Refactor LookAndFeelBox code to not use RadioButton
RadioButton has fairly specific styling. Since this code overrides the
styling anyway, there's no need to use RadioButton, especially since the
checking behaviour comes from AbstractButton. So instead, just use
AbstractButton.

While at it, cleanup the code so we rely more on standard Controls
behaviour for backgrounds etc.
2026-01-29 15:58:37 +00:00
l10n daemon script
12f40b1bc2 GIT_SILENT Sync po/docbooks with svn 2026-01-29 02:04:59 +00:00
l10n daemon script
6f5634a144 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-01-29 01:40:03 +00:00
Christoph Wolk
d5642d7cec applets/kicker: don't activate dash hover until mouse moved
Kickerdash's hover effects kick in immediately, which makes keyboard
usage inconsistent as the state after opening depends on the position
of the pointer.

Instead, we use a hoverblocking MouseArea that turns itself off after
the pointer is moved by the user, similar to how this is handled in
regular kicker.

BUG: 510777
FIXED-IN: 6.6.0
2026-01-28 15:44:49 +00:00
Akseli Lahtinen
aa71f04b0a FolderView: Clear press state onListingCompleted
When we reset the model, such as renaming a file, the view will be
relisted. Our current click action can be working on FileItemDelegates
that do not exist anymore, rendering them null, which causes confusion
in the click logic. This can happen when renaming a file, but clicking
on another file during the renaming process.

Also remove the redundant onEnabledChanged check for
clearingPressedState.

BUG: 514954
2026-01-28 16:06:34 +02:00
Kai Uwe Broulik
c31fef7b27 containments/desktop: Use cleaned up URL also for actual drop
It rewrites `desktop:/` to `/home/user/Desktop/.`. It cleans that up
for the screen mapper but still passes this URL to the drop job.

This results in the overwrite prompt and job tracker to show paths like
`/home/user/Desktop/./foo` which looks broken.
2026-01-28 12:35:36 +00:00
Marco Martin
fafe76771a Panel: Save applet position before deleting
Before marking an applet as deleted, save its container position to
the applet item position itself. when adding it back, if the passed
position to appletAdded is <= 0 , use the applet positions which
if is an "undo delete" was set at marking the deletion, it will have
the old position to restore.

Save the position of the container on an applet attached property before
container removal

BUG:515107
2026-01-28 11:26:11 +01:00
l10n daemon script
f9f5af8f46 GIT_SILENT Sync po/docbooks with svn 2026-01-28 01:50:49 +00:00
Kai Uwe Broulik
7a0b8853bc kcms/gamecontroller: Don't let SDL install signal handlers
We only need it for enumerating game controllers, don't handle
SIGINT and friends.
2026-01-27 20:22:10 +00:00
Christoph Wolk
4ea9f64e64 applets/kicker: make kickerdash keyboard navigation work better
Keyboard navigation in kickerdash works rather awkwardly; the most
noticeable issue is that it's impossible to get to the search field
using keyboard shortcuts, or that the search field is not focused by
default (while some things forward to it, it's not possible to type
some things, such as using the compose key). And there are a bunch of
other inconsistencies (in particular for tab navigation, with the search
field not being in the tab chain) and older patterns (like forwarding
arrow keys to the grid views while maintaining focus elsewhere, which
is confusing and tends to break screen reader accessibility).

This change makes arrow key navigation work more inutitively, fixes the
tab focus behavior, and places default focus on the search field.

BUG: 511146
BUG: 510871
FIXED-IN: 6.6.0
2026-01-27 19:41:58 +00:00
Tobias Ozór
ee36ca663d emojier: add mixed skin tone grouping
This commit removes emojis with mixed skin tone modifiers from the main
view. Instead, they are grouped in a dialog and filtered by the current
preferred skin tone.
2026-01-27 09:02:35 -07:00
Tobias Ozór
970f7312c8 emojier: use clearer tone counter variable names 2026-01-27 09:02:35 -07:00
Kai Uwe Broulik
8d86f3449d applets/kickoff: Move description below icon section
Previously, it was grouped with display style, so it was somewhat
ambiguous what "description". Moving it to icon makes it clearer
that this will add a textual label to the button.
2026-01-27 07:46:11 +00:00
l10n daemon script
a4e304b4da GIT_SILENT Sync po/docbooks with svn 2026-01-27 01:49:11 +00:00
Christoph Wolk
e2d19fbd37 applets/kicker: make sidebar scrollbar depend on maximum size
The sidebar scrollbar visibility currently depends on the contentHeight
being higher than the absolute height. This is a little wasteful, as the
absolute height may be rather small during initial load as all the sizes
are being figured out, and showing/reserving space for the scrollbar is
unnecessary - the height will grow as needed, up to the maximum size
(which depends on the screen size). Moreover, the Layout.minimumWidth
may not update correctly in that case, and still leave room for the
unused scrollbar, leading to a slightly too wide popup with unused
whitespace.

Instead, we immediately make it depend on the final value determining
whether to show the scrollbar, the screen height.
2026-01-26 14:37:25 +01:00
Vlad Zahorodnii
947167c3e3 kcms/gamecontroller: Port to KConfigXT
This makes sure that default values are handled more properly.
2026-01-26 09:58:03 +00:00
l10n daemon script
737c3cfd40 GIT_SILENT Sync po/docbooks with svn 2026-01-26 01:46:19 +00:00
Christoph Wolk
03e8e79524 desktoppackage/configuration: allow re-adding action button
ConfigurationContainmentActions allows creating custom button bindings.
It uses MouseEventInputButton, and listens to its eventString property
changing. But this doesn't work if the user adds a particular binding,
deletes it, then tries to add the same binding again: re-doing the same
input does not change the input as stored in eventString, so the Changed
signal is never emitted. (If the user adds a different binding in
between, everything works again, as now the property contains that
binding, and can be overwritten by adding the same binding again).

Instead, we send the Changed() signal explicitly when an input was made
but the current one is unchanged from the previously set one. There's a
separate check to make sure that the same binding is not added twice.

BUG: 449389
FIXED-IN: 6.6.0
2026-01-25 12:40:20 +00:00
l10n daemon script
10e264c5f2 GIT_SILENT Sync po/docbooks with svn 2026-01-25 01:47:45 +00:00
l10n daemon script
5ee7dce003 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-01-25 01:39:17 +00:00
Andrew Gigena
150bfdf548 kcm/access: Fix incorrect color blindness mode after Defaults +
re-enable

After clicking “Defaults” to disable the color blindness effect and then
re-enabling it, the effect was applied using the previously active mode
instead of the currently selected one.

BUG: 513489
2026-01-24 17:20:52 -03:00
l10n daemon script
d9a92f153c GIT_SILENT Sync po/docbooks with svn 2026-01-24 01:49:12 +00:00
l10n daemon script
ea844f37ad GIT_SILENT made messages (after extraction) 2026-01-24 00:45:06 +00:00
Marco Martin
01ca0cca5b applets/taskmanager: fix implicitHeight
Task implicitheight used to be incorrect in vertical panels, as
it was defined as tasksRoot.height / Plasmoid.configuration.maxStripes

which means the height of the total taskbar.

This caused the task to be briefly too tall before its height was then limited by the gridlayout.
sometimes this in turn caused the taskbar tooltip appear on the wrong place
if the tooltip was shown right in the moment the task has wrong height.

BUG:514911
2026-01-23 09:19:58 +01:00
l10n daemon script
ba93c0f9a1 GIT_SILENT Sync po/docbooks with svn 2026-01-23 01:50:20 +00:00
Philipp Kiemle
c4665fab32 solid-device-automounter/kcm: Rephrase string
This generalizes better, the string does not refer to specific devices
2026-01-22 09:42:47 -07:00
Marco Martin
9778308e60 applets/taskmanager: ensure submenus have translucent background
When creating a qmenu by hand, it needs to make sure it has the
Qt::WA_TranslucentBackground attribute, as PlasmaExtraComponent Menu
has, or it won't render correctly

BUG:513307
2026-01-22 10:37:06 +01:00
l10n daemon script
3f5c46f78c GIT_SILENT Sync po/docbooks with svn 2026-01-22 02:03:23 +00:00
l10n daemon script
487fdc70ad 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-01-22 01:53:34 +00:00
Christoph Wolk
fa014a0f8f applets/kickoff: don't use compact padding for category list
Kickoff's compact display style increases the top/bottom padding of list
entries. This is fine for the actual compact mode, but unnecessary for
the sidebar categories; these do not visually change between styles and
do not need tohave randomly larger padding just because the main view is
in compact display style.

Instead, only increase the margins when not a category list item. Also
fix some indentation that got lost.

BUG: 514772
FIXED-IN: 6.5.91
2026-01-21 19:43:04 +00:00
Archisman Panigrahi
80d264ca37 applets/taskmanager: Allow negative launcher counts
BUG:514893
2026-01-21 11:14:49 +00:00
l10n daemon script
af028e0fd4 GIT_SILENT Sync po/docbooks with svn 2026-01-21 01:53:26 +00:00
l10n daemon script
bb4ce7c37e 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-01-21 01:41:52 +00:00
l10n daemon script
2455831463 GIT_SILENT Sync po/docbooks with svn 2026-01-20 02:01:38 +00:00
l10n daemon script
1ed8fa8b14 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-01-20 01:38:01 +00:00
l10n daemon script
516a36d8dc GIT_SILENT Sync po/docbooks with svn 2026-01-19 01:48:24 +00:00
l10n daemon script
236668f5e0 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-01-19 01:37:52 +00:00