Commit graph

12423 commits

Author SHA1 Message Date
CornWorld Had
64bea55b96 CODEMAP: Fix a typo
Dir `layouts-templates` doesn't exist, instead of `layout-templates`.
2024-10-02 14:01:33 +00:00
l10n daemon script
0a13d412ba GIT_SILENT Sync po/docbooks with svn 2024-10-02 01:33:22 +00:00
l10n daemon script
454fadf669 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"
2024-10-02 01:23:44 +00:00
Evgeny Chesnokov
57e81432d0 kcm/keyboard: Disable "reuseItems" property for xkboptions tree 2024-10-01 15:00:42 +00:00
Evgeny Chesnokov
6a7885652a kcm/keyboard: DelegateChooser for xkboptions tree 2024-10-01 15:00:42 +00:00
Evgeny Chesnokov
eed2aa2fc8 kcm/keyboard: Search & Filter for "Key Bindings" page
Original author: Ivan Tkachenko <me@ratijas.tk>
2024-10-01 15:00:42 +00:00
Akseli Lahtinen
ad1162258d
FolderViewLayer.qml: Load the icon positions when geometry changes
We need to load the icon positions when screen geometry changes,
otherwise we risk using wrong geometry when screen is turned off or
otherwise changed, then saving the icon positions of that geometry.

For example, when turning off screen in single-monitor setup,
the resolution will change to 0x0. This then moves the icons around.
Then opening the screen doesn't move the icons, so the icons stay in the
0x0 positions, and save them to the "normal" resolution.

This fixes it by loading the positions whenever the geometries change

BUG:493569
2024-10-01 16:14:20 +03:00
l10n daemon script
8bc552371b GIT_SILENT Sync po/docbooks with svn 2024-10-01 01:32:49 +00:00
l10n daemon script
49d0e66b45 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"
2024-10-01 01:23:19 +00:00
l10n daemon script
f5170b94d6 GIT_SILENT Sync po/docbooks with svn 2024-09-30 01:33:13 +00:00
l10n daemon script
1cf9719e58 GIT_SILENT Sync po/docbooks with svn 2024-09-29 01:30:55 +00:00
Niccolò Venerandi
eb17d8b080 Use strict available space for positioning widget explorer sidebar
Otherwise, it will overlap panels set as auto-hide.

BUG: 493592
FIXED-IN: 6.2.0
2024-09-28 02:34:42 +00:00
l10n daemon script
192cfd0eef GIT_SILENT Sync po/docbooks with svn 2024-09-28 01:32:05 +00:00
Nate Graham
5eac6a754c WidgetExplorer: make margins perfect
Now everything in the header, main content view, and footer all use the
same consistent largeSpacing margins on all sides. Everything aligns
vertically even if you draw lines on a screenshot, and it looks amazing.
2024-09-27 11:00:18 -06:00
Nate Graham
3172654b1e WidgetExplorer: improve header margins
Part of https://invent.kde.org/teams/vdg/issues/-/issues/74.

Make them larger and consistent on the left, right, and bottom, which
looks better. And reduce them on top which centers the header text in
the space and makes the buttons respect Fitts' Law.
2024-09-27 14:51:02 +00:00
Marco Martin
d3953a0220 kcms/ksplash: Correctly remove entries when uninstalled via kns
QFileInfo::fileName() is empty if the path ends with a /,
manage the case when entry.installedFiles() is adirectory

depends on https://invent.kde.org/frameworks/kpackage/-/merge_requests/98
and https://invent.kde.org/frameworks/knewstuff/-/merge_requests/335

CCBUG:492557
2024-09-27 07:59:29 +00:00
l10n daemon script
08021b512a GIT_SILENT Sync po/docbooks with svn 2024-09-27 01:35:43 +00:00
Nicolas Fella
3301822466 [kcms/keys] Don't allow to remove built-in components
Currently we allow to remove any component, but they might reappear
again because the application re-registers them or the desktop file
is picked up again.

In most cases removing doesn't make much sense in the first place
since they are core system components that a user should not be
able to remove wholesale. They can unbind individual shortcuts
that are not wanted.

This introduces logic to determine whether a component should
be removable or not. For now it only coveres desktopfile-based
shortcuts since those are easier to deal with.

The logic is:
- Things in the System Services category cannot be removed
- Things in the Applications section can be removed if the
relevant desktop file has no shortcuts defined, i.e. the user
added it explicity

Dealing with runtime-registered shortcuts is left as a future
exercise

CCBUG: 452649
2024-09-26 13:24:05 +00:00
Akseli Lahtinen
127230c02c desktop/RenameEditor.qml: Use QQC2 TextArea to add context menu
Due to PlasmaComponents.TextArea not having a context menu, change
the textArea to QQC2 one. This adds a working context menu.


BUG:427292
FIXED-IN: 6.2.0
2024-09-26 07:43:46 +00:00
l10n daemon script
022df58f40 GIT_SILENT Sync po/docbooks with svn 2024-09-26 01:31:50 +00:00
Nicolas Fella
9828adfbbf [kcms/automounter] Fix crash on close
The KCM widget and its children are destroyed before the KCModule.

Therefore by the time we call saveLayout the widget is already deleted
and accessing it crashes.

Instead save the layout right before the widget is deleted

BUG: 484690

SENTRY: SYSTEMSETTINGS-2D3
2024-09-25 17:25:43 +00:00
Christoph Wolk
6d77bf248b applets/kickoff: close on session/power action
The power and session actions currently do not explicitly close kickoff
like starting an application does. In most cases this has no consequence
as kickoff will be closed by the session/power action itself or its
consequences. There are some, though, that do not necessarily do so; one
of them is sleep if the computer is configured to not lock the screen on
waking (otherwise locking would close kickoff).

This change makes the power/session buttons behave like regular entries
and close the popup when activated. The user can still prevent this by
pinning kickoff.

BUG: 493439
2024-09-25 16:26:48 +00:00
Christoph Wolk
aeb6cd06d5 desktoppackage: suppress onSettingValueChanged error
In AppletConfiguration, a connection is established to the signal
onSettingValueChanged of the loaded config page to enable the apply
button. If the page does not have such a signal, as is the case for most
if not all pages, an error message is printed every time that page is
loaded. This error is completely inconsequential (there are separate
mechanisms by which these pages control the apply button), so the
message is unnecessary and potentially misleading log spam.

This change sets the connection to ignore unknown signals, supressing
the error message. This is the same strategy also applied in
plasmoidviewer, see 9d29d6e9.
2024-09-25 16:01:34 +00:00
Fushan Wen
b6289dc4d0 Revert "appiumtests: disable test_1_containment_config_dialog_3_other_sections in desktoptest"
This reverts commit a48e24b966
2024-09-25 15:51:51 +00:00
Marco Martin
47316055ad kcms/componentchooser: More clear when an app can't handle a mime
When an application can't handle a mimetype, now show an inline message
saying that it can't instead of a tiny enigmatic i icon,
also, show it immediately after selecting, intead of waiting apply has
been pressed

![Screenshot_20240924_045336](/uploads/ee44c754b5dbc92ed125c2f08f9845d9/Screenshot_20240924_045336.png)

BUG:493527
2024-09-25 14:05:18 +00:00
Fushan Wen
a48e24b966
appiumtests: disable test_1_containment_config_dialog_3_other_sections in desktoptest
ASan catches a crash.
2024-09-25 20:45:21 +08:00
Fushan Wen
d647c530d5
appiumtests: require plasmashell to quit before running desktop tests 2024-09-25 10:29:06 +08:00
Akseli Lahtinen
82a61c39f0 kcms/keys: Wrap long shortcut names
If shortcut name is too long, it was not wrapped. Since we have
a lot of scrollable space, just wrap the text.

BUG:493371
FIXED-IN: 6.2.0
2024-09-25 02:00:40 +00:00
l10n daemon script
ce63f00125 GIT_SILENT Sync po/docbooks with svn 2024-09-25 01:33:10 +00:00
l10n daemon script
49f075b0af 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"
2024-09-25 01:24:05 +00:00
Nate Graham
97158c8f28 kcms/componentchooser: fixup bf7eb59235
Fix embarrassing typo.
2024-09-24 08:59:52 -06:00
Nate Graham
bf7eb59235 kcms/componentchooser: port Overlaysheet to Dialog
This was an older usage of Overlaysheet that predated the creation of
Dialog. This is a dialog-style UI, so use Dialog.
2024-09-24 08:23:58 -06:00
l10n daemon script
1588a93437 GIT_SILENT Sync po/docbooks with svn 2024-09-24 01:41:57 +00:00
l10n daemon script
051329a487 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"
2024-09-24 01:22:39 +00:00
Nate Graham
702841df74 applets/kickoff: use symbolic icons for categories
This follows the HIG guidance that list items with 22px icons should
generally prefer the symbolic style. It makes Kickoff consistent with
all the other list items that use the symbolic style at this size.

BUG: 457077
FIXED-IN: 6.2.0

Co-authored-by: Noah Davis <noahadvs@gmail.com>
2024-09-23 20:36:09 +00:00
Kai Uwe Broulik
581e6b76e1 applets/taskmanager: Skip querying KActivitiesStats if recentdocs is disabled
When recent document tracking is disabled, the kactivitymanagerd Stats
plug-in stops recording them in the SQLite database.

However, ResultSet will still query the database. If the user's home directory
is on an NFS share, this can lead to a noticeable delay when opening the
task manager context menu.

For this setup, it's best to disable recent document tracking as such
entirely, and skip querying the ResultSet in the first place.

It would also match user expectation to stop seeing recent documents
as soon as the feature is disabled.

Signed-off-by: Sebastian Stark <sebastian.stark@advantest.com>
2024-09-23 06:16:57 +00:00
Kai Uwe Broulik
b7065a2573 kcms: Add Notifiers for kactivitymanagerd_plugins_settings
Allows to watch the plug-in settings, such as scoring and recent documents,
via KConfigWatcher.

Signed-off-by: Sebastian Stark <sebastian.stark@advantest.com>
2024-09-23 06:16:57 +00:00
l10n daemon script
d5bacf81e3 GIT_SILENT Sync po/docbooks with svn 2024-09-23 01:30:19 +00:00
Christoph Wolk
b0a8a617d6 applets/window-list: use new popup placement enum
The window-list applet still uses the old location for the popup
placement enum (in PlasmaCore.Types), rather than its new home in
PlasmaExtras.Menu. As the old one is no longer defined, this may lead to
a misaligned popup menu, and definitely to a runtime error.

This change adapts the applet to the new way of accessing the popup
placement types.
2024-09-22 09:34:00 +00:00
l10n daemon script
80ff4ac5f8 GIT_SILENT Sync po/docbooks with svn 2024-09-22 01:34:28 +00:00
l10n daemon script
24754c5a11 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"
2024-09-22 01:24:59 +00:00
l10n daemon script
67034c6132 GIT_SILENT Sync po/docbooks with svn 2024-09-21 01:34:31 +00:00
l10n daemon script
f1de3a89e7 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"
2024-09-21 01:24:11 +00:00
Fushan Wen
c1b257c0d1
appiumtests: test keyboard navigation in Kickoff 2024-09-21 01:09:07 +08:00
Victor Ryzhykh
b943cf8e35 kcms/touchpad: Make four strings translatable
There were no translation for four lines in the touchpad settings due
to inappropriately using i18nc() instead of i18ndc().
2024-09-20 14:56:04 +00:00
Nate Graham
915856add5 emojier: adopt WindowStateSaver
This way the window will remember its size and (on X11) position.

BUG: 432879
FIXED-IN: 6.3.0
2024-09-20 03:16:24 +00:00
l10n daemon script
9e00885174 GIT_SILENT Sync po/docbooks with svn 2024-09-20 01:39:10 +00:00
l10n daemon script
e0fecd5b2d 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"
2024-09-20 01:27:00 +00:00
Reilly Brogan
fc0048b41e kaccess: Order service after plasma-core.target
kaccess uses the xcb Qt platform plugin which is dependent on xwayland from kwin running. 
Without that Qt will fail to startup and kaccess will abort which can happen since systemd currently starts both in parallel.

Add an explicit `After` to the systemd unit file so that kaccess won't be started until kwin is running.

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2024-09-19 17:26:10 +00:00
l10n daemon script
a97551d0e4 GIT_SILENT Sync po/docbooks with svn 2024-09-19 01:32:39 +00:00