Alexander Lohnau
5ee6a0e9c9
krunner: Use "Recent Queries" as accessibility hint for history list view
...
The previous hint did not make much sense, because we do not have any categories in the history.
4 years ago
Alexander Lohnau
d3ce742801
krunner: Mention in i18n context that one searches a plugin
4 years ago
Alexander Lohnau
e31ba756dd
krunner: Load RunCommand.qml file from qrc rather than lookandfeel package
...
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
4 years ago
l10n daemon script
1428eac1d1
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"
4 years ago
l10n daemon script
0e06391396
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"
4 years ago
Kai Uwe Broulik
5bc7efd0d9
KRunner: Set location before showing
...
Make sure the location is set before showing the window to ensure
the first appearance is animated correctly, too.
BUG: 447096
4 years ago
David Edmundson
e87d29c2a3
Disable toplevel fixed positions on Wayland
...
Given that the wayland protocol does not have window positions a recent
change to Qt development branch avoids having a mismatch of positions
and tells client code the window is at the topleft of the screen. This
fixes multiple bugs.
Unfortunately this breaks a few usages within plasma where a
side-channel sends that absolute positional information over a bespoke
protocol. Currently we proxy this all through QWindow geometry where the
new Qt behaviour will throw is askew.
Whilst our longterm plans are to find future options away from the
plasmashell protocol we may as well have our Qt6
build work given the patch is trivial and harmless.
It also allows for potential backporting if our software is
already secured against issues. Hence the cherry-pick.
4 years ago
l10n daemon script
8e7c9dbe5c
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"
4 years ago
l10n daemon script
a09776c06c
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"
4 years ago
l10n daemon script
100aa732fa
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"
4 years ago
Martin Seher
dbc2488fde
use createMethodCall instead of QDBusInterface
4 years ago
Martin Seher
4150506920
Show krunner on active output on Wayland
...
QCursor::pos does not work under Wayland. So use active output from KWin to
determine startup screen. This will also honor the 'Active screen follows
mouse' option from Window Behavior (also under X11).
Depends on KWin merge request https://invent.kde.org/plasma/kwin/-/merge_requests/2209
BUG: 427069
FIXED-IN: 5.25
4 years ago
Alexander Lohnau
ae89638eef
KRunner: Disable help button when runner is disabled
...
BUG: 451509
4 years ago
Alexander Lohnau
9a5491ef69
Use kcmshell5 to launch KRunner KCM
...
BUG: 451999
4 years ago
Alexander Lohnau
b68b59dac6
Remove explicit QuickSettings init method call
...
This is now done as part of the plasma integration plugin.
Task: https://phabricator.kde.org/T12135
4 years ago
Fushan Wen
32aa12bf98
krunner: Use "KRunner" as the display name
...
This fixes the "krunner" title.
4 years ago
Fushan Wen
76f0c2b1ce
krunner: Use QStringLiteral constructor for KCMultiDialog
...
The QPluginLoader overload is only intended for very specific usecases
where you have the plugin loader object anyways.
4 years ago
Fushan Wen
078a1c9950
krunner: Replace custom verifier with `KCMShell.authorize`
...
This saves some lines.
4 years ago
Fushan Wen
33f2d322e4
krunner: Open kcm_krunnersettings instead of kcm_plasmasearch
...
kcm_plasmasearch now only has plugin settings. KRunner-specific settings
are moved to kcm_krunnersettings.
CCBUG: 318538
4 years ago
Volker Krause
0e0086a22e
QGuiApplication::setFallbackSessionManagementEnabled is gone in Qt6
...
There seems to be no equivalent for this.
4 years ago
Volker Krause
fde7564493
Remove QQuickWindow::setClearBeforeRendering calls, gone in Qt6
...
We only set the default value anyway, so nothing lost here.
4 years ago
Laurent Montel
e294f6ab08
Use not deprecated SYSTEMD_USER_UNIT_INSTALL_DIR
4 years ago
l10n daemon script
f258b6217a
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"
4 years ago
l10n daemon script
b9a1e98742
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"
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
l10n daemon script
faad339db5
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"
5 years ago
l10n daemon script
96355cd03a
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"
5 years ago
David Redondo
34f7ceb3fb
Do not unnecessarily switch component name of action collection
...
It was never used in the first configuration.
5 years ago
David Redondo
a7694f9274
Fix typo
5 years ago
David Redondo
e275ae2c8e
krunerglobalshortcuts: Fix migration from old component
...
When calling cleanUpComponent KGlobalAccel checks if there are no
shortcuts active, otherwise it will refuse to clean the component.
For a desktop file component (aka KServiceActionComponent) all
shortcuts are deactivated inside cleanUpComponent. For a regular
Component we have to do this manually.
5 years ago
David Redondo
6502f798fe
krunnerglobalshortcuts: Prevent actions from becoming inactive
...
If a QAction is destroyed, KGlobalAccel will automaticaly set it
to inactive. To prevent this put them on the heap and intentionally
leak them as it did before.
CCBUG:437364
5 years ago
David Redondo
de8bc1452e
Rename krunner shortcuts update file
...
We got some reports that the update did not work correctly.
The kconf update daemon watches for new files so we should
rename the file in addition to changing the IP.
5 years ago
Nicolas Fella
178a4f8756
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
Alexander Lohnau
fd9c790b8e
GIT_SILENT Make small adjustment before running clang-format
5 years ago
l10n daemon script
9f02b43f3f
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"
5 years ago
l10n daemon script
7fb5605b5d
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"
5 years ago
Alexander Lohnau
bdc1a08c00
krunner: Restore history related property and methods for compatibility with third party themes
...
BUG: 433173
Test Plan:
Use install old RunCommand.qml files provided by bug reporters and
verify that adding/viewing/completing and deleting from history works.
https://bugs.kde.org/attachment.cgi?id=136815
https://bugs.kde.org/attachment.cgi?id=136816
5 years ago
Alexander Lohnau
ffa24a94b7
krunner: Store pinned state in krunnerstaterc and not in config
5 years ago
David Redondo
12dadab76c
Krunner: Add icon to desktopfile
...
Allows me to not longer hardcode the icon in the shortcuts kcm.
5 years ago
David Redondo
51ca0cc28f
Toogle KRunner again
...
BUG:432857
5 years ago
David Redondo
c5b87d0155
Add missing DBusActivatable=true in the desktop file of krunner
...
Somewhat ironically missed in 10d647c47a
as it was the whole point of the patch.
GIT_SILENT
5 years ago
David Redondo
6e7c616f45
Adjust krunner shortcuts update binary
...
Because we have changed the name of the desktop file, this also
changes the name of the kglobalaccel component. I have adjusted the program so
it checks which of the two old components is active and then sets the shortcuts
on the new one. I have opted for this because we cannot guarantee the order of
update scripts.
5 years ago
David Redondo
10d647c47a
Make krunner dbus activatable
...
There is a spec for dbus activiation https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus
and using this is better instead of of having this dbus-send hack.
5 years ago
David Redondo
7ca34e0baa
Revert "Activate KRunner instead of running the binary"
...
This reverts commit 0e575a20ef .
5 years ago
Laurent Montel
3dc2b734f0
GIT_SILENT: don't use deprecated cmake variable
5 years ago
Nicolas Fella
1a07220843
Use versionless Qt cmake target
...
This makes it easier to build against both Qt5 and Qt6
5 years ago
Alexander Lohnau
823d2106ec
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
5 years ago
Alexander Lohnau
92285a7bbc
Add update script
...
This script copies the old history to each activity.
This way the user has the previous history in each activity.
Also the launch counts get copied to the new location.
5 years ago