Alexander Lohnau
d921e3e370
Adjust indentation of license headers
5 years ago
Alexander Lohnau
fefe12dff6
Manual SPDX fixes & cleanup
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Alexander Lohnau
8de79169f8
Consistently name kpackage structures
...
This will allow kpackage to load the structures by their path.
Task: https://phabricator.kde.org/T14757
Conceptually the same direction as https://phabricator.kde.org/T14499 .
5 years ago
Alexander Lohnau
50c2fc495c
Define new KPackageStructure property in kpackage structures
...
Task: https://phabricator.kde.org/T14563
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Aleix Pol
3e3c606acc
Allow plasmashell to use both screenshot and screenshot2
...
The latter is a better performing version of the former, both do the
same.
5 years ago
Aleix Pol
fb47508554
Provide a Plasmoid to control input methods
...
It's mostly useful to be able to hide the virtual keyboard like we do in
Plasma Mobile from the bottom panel, should probably replace the SNI
from KWin.
5 years ago
l10n daemon script
b79988ff0e
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
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
Alexander Lohnau
b640fbdc3e
kpackage structures: Use K_PLUGIN_CLASS_WITH_JSON directly
...
Task: https://phabricator.kde.org/T14542
5 years ago
David Edmundson
9b9b6e5d9b
Init ShellCorona after KDBusService
...
ShellCorona is created before KDBusService which registers the name.
This causes a problem as we register global shortcuts before plasmashell
--replace has kiled the old application, which in turn deregisters
everything.
We want everything before KDBusService to be as light as possible.
Moving ShellCorona construction is not trivial as some argument parsing
uses that.
BUG: 408310
5 years ago
Nicolas Fella
ff0f37f561
Make sure property types are fully defined
...
In Qt6 property types needs to be fully defined
5 years ago
Alexander Lohnau
3d03606302
Use kcoreaddons_add_plugin to allow loading plugins from build dir
...
Task: https://phabricator.kde.org/T14528
5 years ago
Nicolas Fella
178a4f8756
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
5 years ago
Alexander Lohnau
a66b047894
Port away from deprecated KSycoca::databaseChanged signal
...
The list of changed resources is hardcoded in the KService
implementation, consequently we can remove those checks.
5 years ago
Laurent Montel
ff2d7cc267
Remove not necessary qt prefix
5 years ago
Alexander Lohnau
75e59e9078
GIT_SILENT Use const reference in for loop
5 years ago
Alexander Lohnau
73af72b3a5
GIT_SILENT Remove unused variables
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
Bharadwaj Raju
1cf02aad96
Load panelOpacity from config parent, not from config
...
BUG: 434285
FIXED-IN: 5.22
5 years ago
Chris Holland
9eb6e16009
[scripting] Make panels() not return the desktops() containments
...
It was filtering by isPanel() before port to QJSEngine:
033ad5ca60 (cbf01be30b27864a9b58f834c520a69d108a4888_443_442)
BUG: 435081
5 years ago
Vlad Zahorodnii
6f754187b6
Port various components from WId-based KWindowEffects API
...
The WId-based KWindowEffects API is deprecated.
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
Niccolò Venerandi
111819e198
Add a -1 to make the mouse input not redirect to a margin pixel.
...
BUG: 413736
FIXED-IN: 5.22
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
Alois Wohlschlager
c19d8de7a7
Fix crash on drag-and-drop over panel
...
The fake drag-and-drop events caused by the panel reuse the real event's
mimeData, and were handled asynchronously. By the time the fake event
has been dispatched from the event loop, the mimeData may already have
been freed. Send the fake events synchronously again.
A guard is added to avoid the original potential bug of infinite recursion.
BUG: 398440
5 years ago
Heiko Becker
3f46c64e1f
cmake: Specify file extension for standaloneappcorona
...
Gets rid of a cmake warning.
GIT_SILENT
5 years ago
l10n daemon script
915c13185d
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
35345786f6
GIT_SILENT Add context parameter to connect calls with lambda
5 years ago
Ahmad Samir
e6fe8b0e93
Remove extra '/' in comment block
...
GIT_SILENT
5 years ago
Nicolas Fella
478db0b4c7
Use KPluginMetaData to list containments
...
Instead of the half-deprecated KPluginInfo
5 years ago
Nicolas Fella
78f04b5813
Port from QString::SkipEmptyParts to Qt::SkipEmptyParts
5 years ago
Ahmad Samir
7e09d62cd0
Use Q_SIGNALS instead of signals in header files
...
And remove DQT_NO_SIGNALS_SLOTS_KEYWORDS from applets/kicker/CMakeLists.txt.
5 years ago
Marco Martin
75d90253ab
Make sure preference window properly activates
...
by using KStartupInfo::setNewStartupId it properly activateswithout
getting blocked by Kwin focus stealing protection also when remotely
invoked from dbus
5 years ago
Marco Martin
3b801f8e36
request to activate the configview after show
...
This way it will usually be brought forward also when triggered
via dbus
5 years ago
Ahmad Samir
e2f5b3c8ac
Clean up CMake variables
...
- Port away from cmake macro macro_bool_to_01, which was being used from
the copy of that macro that KDELibs4Support has
- Clean up redundant CMake variables
5 years ago
Niccolò Venerandi
7db8d5ee55
Add support for adaptive opacity panels
...
Co-authored-by: Jan Blackquill <uhhadd@gmail.com>
5 years ago
Marco Martin
898b1877a7
screenForConnector() scripting function
...
if we know the conector name of a qscreen, use it to recover the internal
integer screen id.
used by external scripts to do things to the "current" containment
for instance systemsettings invoking the wallpaper configuration
dialog for the same containment for the screen systemsettings currently resides in
5 years ago
Aleix Pol
71398a0316
Remove unnecessary constructors
5 years ago
Aleix Pol
386a105758
Do not assume all Panels are a FrameSvgItem
...
At least in the case of org.kde.plasma.phoneshell it's a Rectangle
5 years ago
Aleix Pol
45da723553
Do not start faulty coronas
...
It just floods the output with tons of things failing non-fatally and it
makes things hard to figure out.
5 years ago
David Edmundson
19ba5f1cf3
Enforce SESSION_MANAGER is exported before plasmashell is started
...
Wants says we should bring ksmserver up, but by default that could be in
any order, we need to define it. kcminit also potentially exports
environment variables.
This was written with the correct order in-mind but the wrong keyword
used. We don't need "Wants" as plasma-core.target already defines that
we will be loading them along with plasmashell.
It is important that ksmserver is up and has completed exporting the
SESSION_MANAGER env, otherwise plasmashell will not propogate it so
applications it launches introducing an X session regression
5 years ago
Andrey Butirsky
61be205a0d
feat: add option to disable OSD on keyboard layout change
...
Counterpart commit with the same title is in P-D
CCBUG: 426450
CCBUG: 376460
5 years ago
Nicolas Fella
7f13eea36e
Use imported targets for X11 libs
...
They are more robust and nicer than variables
5 years ago
David Edmundson
44a072b8e1
Set add panel as an explicit menu of a panel action
...
This allows QtWayland to guess the parent correctly when displaying the
submenu. It also simplifies some code into a common path.
BUG: 432250
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
Marco Martin
ed6212400c
Don't crash if the panelview is not ready
...
createWaitingPanels is not guaranteed to create all of them.
Those which have a desktop not ready yet will go back to waitingpanels until new turn.
This scenario sometimes happens during first run scripts or update ones, causing a crash in those cases
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