Commit graph

25564 commits

Author SHA1 Message Date
l10n daemon script
51acd6ce1d GIT_SILENT Sync po/docbooks with svn 2023-10-18 02:17:59 +00:00
Xaver Hugl
d91534303e libkwineffects/glshader: set the correct maximum brightness
The maximum frame average brightness can be significantly lower than the actual
maximum brightness of the screen
2023-10-17 09:32:47 +00:00
Xaver Hugl
2fa80c6a3e libkwineffects/colorspace: rename maxHdrBrightness
The name doesn't really reflect what it's actually about, which is the maximum
average brightness the display can sustain without dimming
2023-10-17 09:32:47 +00:00
Quinten Kock
94b74cff96 plugins/slide: add special case for instant animations
In springmotion.cpp for the slide plugin, there are issues when
animations are disabled, namely a black screen flicker.

The flicker is caused by float under/overflow (div-by-0 -> infinity).

This commit fixes that by special-casing an infinite spring constant,
so that the animation immediately jumps to the anchor.

BUG: 472901
2023-10-16 17:07:11 +00:00
Alexander Lohnau
30600a064b Make X-KDE-Ordering in plugin metadata a proper int value
This makes the intention more clear and avoids unneeded string -> int conversion at runtime
2023-10-16 16:12:43 +00:00
Alexander Lohnau
76d93f7053 Remove empty X-KDE-ParentApp from plugin metadata 2023-10-16 16:12:43 +00:00
Alexander Lohnau
a75bc19ce5 Remove empty website from plugin metadata 2023-10-16 16:12:43 +00:00
Alexander Lohnau
48b11337a9 Remove Version from plugin metadata
The plugins are shipped as part of KWin. Thus having a version separate from the KWin version specified doesn't make sense
2023-10-16 16:12:43 +00:00
Alexander Lohnau
27863b09ae Remove X-Plasma-MainScript from KPackage plugins 2023-10-16 16:12:43 +00:00
Alexander Lohnau
43174a9771 Remove X-Plasma-MainScript from C++ codepaths 2023-10-16 16:12:43 +00:00
Alexander Lohnau
bf713d3892 plugins/kpackage: Remove definition of X-Plasma-MainScript definitions 2023-10-16 16:12:43 +00:00
Nicolas Fella
39fe6cd286 Remove window type from internal window and window system plugin
This is only set from KWindowSystem::setType(), which is unused on Wayland
2023-10-16 14:41:53 +00:00
Vlad Zahorodnii
87d29c60ea plugins/stickykeys: Remove Id field from metadata
The Id field is obsolete in KF6. The filename of the so is used as the
plugin id.
2023-10-16 12:48:54 +00:00
Mike Noe
4de5235402 plugins/private/Windowheap: Fix param injection error
Also, remove import versions
2023-10-16 07:58:19 -04:00
l10n daemon script
3a2136aae4 GIT_SILENT Sync po/docbooks with svn 2023-10-16 02:12:07 +00:00
l10n daemon script
6c9f55190e 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"
2023-10-16 02:07:23 +00:00
l10n daemon script
010909bf06 GIT_SILENT Sync po/docbooks with svn 2023-10-15 02:12:53 +00:00
Nicolas Fella
8ee1720047 Adapt to KWindowSystem dropping raiseWindow() 2023-10-14 19:43:58 +02:00
Nicolas Fella
62d91ea95d Adapt to KWindowSystem dropping lowerWindow() 2023-10-14 17:21:04 +00:00
Xaver Hugl
25728c1240 backends/drm: give the commit threads names
That makes them easier to identify in backtraces
2023-10-14 12:05:41 +00:00
Xaver Hugl
f8012f580b plugins/colorpicker: convert picked color to sRGB
The API doesn't have any colorspace data, so we need to make sure we're
sending sRGB

BUG: 387757
2023-10-14 11:55:18 +00:00
l10n daemon script
5e1dfbe7df GIT_SILENT Sync po/docbooks with svn 2023-10-14 02:24:51 +00:00
Nate Graham
acf7da91cc kcms/desktop: port away from Kirigami.DelegateRecycler
It was removed for KF6. Instead, set reuseItems: true, which is the
upstream-friendly way to do the same thing.

BUG: 475544
2023-10-13 14:02:01 -06:00
Nate Graham
8cf3ad8d3b kcms/screenedges: Move into "Mouse & Touchpad" group
Part of https://invent.kde.org/plasma/systemsettings/-/issues/15.
2023-10-13 12:12:08 -06:00
l10n daemon script
04a477f320 GIT_SILENT Sync po/docbooks with svn 2023-10-13 02:17:30 +00:00
Mike Noe
455747354a overview/qml: Fix parameter injection errors 2023-10-11 16:26:18 -04:00
Xaver Hugl
1f82d81558 improve support for mirroring output transforms
CCBUG: 447792
2023-10-11 12:37:48 +00:00
Xaver Hugl
aaffd459ce backends/drm: add more nullptr checks for m_surface
BUG: 475380
2023-10-11 10:42:45 +00:00
l10n daemon script
ed1969c3d9 GIT_SILENT Sync po/docbooks with svn 2023-10-11 02:56:04 +00:00
l10n daemon script
8840193cd7 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"
2023-10-11 02:34:51 +00:00
Mike Noe
cc584c87ff overview/qml: Fix typo with Kirigami.Units; remove import versions 2023-10-10 10:59:48 -04:00
l10n daemon script
2dd1c78030 GIT_SILENT Sync po/docbooks with svn 2023-10-10 02:22:56 +00:00
l10n daemon script
6d2adb3039 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"
2023-10-10 02:14:35 +00:00
Vlad Zahorodnii
88583b8eed Revert "waylandserver: fix race condition"
This reverts commit 03d0a226fb.

ClientConnection object is no longer destroyed with delay after merging
5246d3924f.
2023-10-09 11:08:43 +00:00
Vlad Zahorodnii
787d3a3ba4 wayland: Fix SurfaceState forward declaration
It's a struct and clang is not happy about using class.
2023-10-09 11:11:23 +03:00
Vlad Zahorodnii
6974f54149 Move EffectWindowImpl ownership to WindowItem
EffectWindowImpl affects rather the WindowItem, so move its ownership to
it. This encapsulates compositing setup so it's effectively same as
creating a window item, except some annoyances on X11.
2023-10-09 07:50:05 +00:00
Nicolas Fella
f7045cbf96 Remove unused constants 2023-10-09 07:37:41 +00:00
Vlad Zahorodnii
5246d3924f wayland: Destroy ClientConnection immediately
With QObject::deleteLater(), the client object can unexpectedly outlive
the expected lifetime as in 03d0a226fb.
2023-10-09 06:32:14 +00:00
l10n daemon script
8840d4140b GIT_SILENT Sync po/docbooks with svn 2023-10-09 02:26:29 +00:00
l10n daemon script
387388be5d 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"
2023-10-09 02:13:40 +00:00
l10n daemon script
4b217483a0 GIT_SILENT Sync po/docbooks with svn 2023-10-08 02:12:18 +00:00
Fushan Wen
b80741d531
plugins: add colorblindness correction effect
Colorblindness correction shader with adjustable intensity. Can correct for:

- Protanopia (Greatly reduced reds)
- Deuteranopia (Greatly reduced greens)
- Tritanopia (Greatly reduced blues)

FEATURE: 474470
FIXED-IN: 6.0
2023-10-06 21:01:51 +08:00
Vlad Zahorodnii
8d3b4a21c8 wayland: Properly update subsurfaces in cached transaction
Cached transaction will be merged with parent transaction when the
parent surface is committed, it's not included in the transaction graph.
2023-10-06 12:47:42 +00:00
Vlad Zahorodnii
7e99ab9438 Build wayland tests with same build options as other tests 2023-10-06 11:21:00 +00:00
Vlad Zahorodnii
8b2b8d87c7 Don't mark wayland demos as tests 2023-10-06 11:21:00 +00:00
Vlad Zahorodnii
7d56aa3687 Merge wayland tests with other tests
This makes wayland tests organization consistent with other kwin tests.
2023-10-06 11:21:00 +00:00
Nicolas Fella
d57c66872c Port to new KService::property API 2023-10-06 07:56:53 +00:00
Vlad Zahorodnii
9e10394db1 Move window specific signals from EffectsHandler to EffectWindow
This makes the api of EffectWindow more similar to the api of Window. It
also makes more sense to keep such signals in EffectWindow. In the future,
the effect window can be dropped in favor of the window.
2023-10-06 07:05:37 +00:00
l10n daemon script
c1f49d216c GIT_SILENT Sync po/docbooks with svn 2023-10-06 02:17:18 +00:00
Xaver Hugl
03d0a226fb waylandserver: fix race condition
When the xwayland connection gets destroyed, it doesn't get deleted immediately. If the
xwayland scale changes in between WaylandServer::destroyXWaylandConnection and the actual
destruction of the connection, KWin would crash
2023-10-05 21:32:55 +02:00