Commit graph

25505 commits

Author SHA1 Message Date
David Edmundson
a8466c3604 layershell: Implement dockWantsInput
Kwin logic has a separate method for if a dock wants input, given layer
shells are always docks it is important to implement this.
2023-11-06 09:37:13 +00:00
Vlad Zahorodnii
0f5e719b61 wayland: Fix none keyboard interactivity in LayerShellV1Window
Window::acceptsFocus() is not taken into account when a window is
activated using Workspace::activateWindow(). The main reason is because
of different input models on X11.

Instead, Window::takeFocus() should check itself if the window accepts
focus.
2023-11-06 08:07:32 +00:00
Nicolas Fella
dc826911ec Adapt to KWindowSystem changes 2023-11-06 00:22:14 +01:00
Nicolas Fella
e3186ae8e6 Adapt to plasma-framework and kactivities moving to Plasma 2023-11-05 14:58:35 +01:00
l10n daemon script
5c467fba26 GIT_SILENT Sync po/docbooks with svn 2023-11-05 01:43:02 +00:00
l10n daemon script
7949af265d GIT_SILENT Sync po/docbooks with svn 2023-11-03 02:14:57 +00:00
l10n daemon script
abf642d42e GIT_SILENT Sync po/docbooks with svn 2023-11-02 02:15:46 +00:00
Nate Graham
40a4f4c90b kcms/options: set focus policy strings on load, not just on change
Right now the string is only set when the option is changed to anything
else. That's fine, but we need to set it on load too, or else the user
will see a placeholder string instead of the real text if they don't
change anything.

BUG: 456718
FIXED-IN: 6.0
2023-11-01 22:41:25 +00:00
Xaver Hugl
b1f2c40827 kcms/compositing: remove tearing setting
It's now shown in KScreen instead
2023-11-01 21:44:07 +00:00
Xaver Hugl
ba3a70e8a8 backends/drm: remove m_current
It's not needed and just adds overhead
2023-11-01 21:29:00 +00:00
Xaver Hugl
ff2bc0798f backends/drm: fix properties not being applied when a modeset is not needed
When testing whether or not a modeset is needed, all that gets tested is
whether or not the kernel would allow the commit to happen without the ALLOW_MODESET
flag. If there's properties that are only changed in DrmPipeline::prepareAtomicModeset,
we need to apply those in the next commit, regardless of whether or not
the ALLOW_MODESET flag is necessary.

BUG: 476060
2023-11-01 21:29:00 +00:00
Xaver Hugl
457deeb27d glshadermanager: optimize pq conversions 2023-11-01 21:15:20 +01:00
Xaver Hugl
cbb574efff libkwineffects/glshadermanager: support PQ as client EOTF 2023-11-01 21:02:38 +01:00
Xaver Hugl
21d8b58e82 scene/surfaceitemwayland: set initial color description 2023-11-01 21:02:38 +01:00
Aki Sakurai
36e7eaf13a Add option to map tablet to full desktop area.
Some users might want to map the tablet to full desktop area.

BUG: 450874
2023-11-01 17:42:39 +00:00
l10n daemon script
e504e9c305 GIT_SILENT Sync po/docbooks with svn 2023-11-01 02:17:36 +00:00
Xaver Hugl
190f688c97 libkwineffects: add support for scRGB 2023-10-31 22:51:39 +00:00
Arjen Hiemstra
6bad553f05 Temporarily disable testXkb and testX11Window
These prevent merging
2023-10-31 20:35:26 +00:00
Arjen Hiemstra
00b211dcb1 Fix reduced featureset CI now that CI has moved to Qt 6.6 2023-10-31 20:35:26 +00:00
Arjen Hiemstra
8e5d45ae9d Update showfps effect to QuickCharts API changes 2023-10-31 20:35:26 +00:00
Nate Graham
85008c4a0d kcm/rules: Port away from Kirigami.AbstractListItem
It's being removed for KF6 and ItemDelegate works fine here.
2023-10-31 14:05:20 -06:00
l10n daemon script
5f9983c4ee GIT_SILENT Sync po/docbooks with svn 2023-10-31 02:12:21 +00:00
l10n daemon script
f06bda2ec6 GIT_SILENT Sync po/docbooks with svn 2023-10-30 02:15:10 +00:00
l10n daemon script
74ef01dbc0 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-30 02:09:50 +00:00
Niccolò Venerandi
7f0e201880 Fix animation when clicking grouped windows in task manager
Since hidden windows are not placed in the grid-like view, `cell.isReady` is always false for them, and they never switch to the "active-hidden" state when the effect is turned on. This commit makes sure that windows hide even if their cell isn't ready.
2023-10-29 19:05:15 +00:00
Xaver Hugl
a902b66299 backends/drm: remove unnecessary comment
DrmPipeline::needsModeset, and by extension, DrmGpu::needsModeset is no
longer expensive in any way, so checking them multiple times per frame is
not a problem anymore
2023-10-29 13:04:04 +00:00
l10n daemon script
1cdad2698d GIT_SILENT Sync po/docbooks with svn 2023-10-28 02:25:23 +00:00
l10n daemon script
b7dc3e3698 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-28 02:14:03 +00:00
l10n daemon script
1e726457e9 GIT_SILENT Sync po/docbooks with svn 2023-10-27 02:19:34 +00:00
Vlad Zahorodnii
22efedc09c Rename VirtualDesktopManager::desktopCreated signal
Rename it to desktopAdded to match activityAdded, windowAdded, etc.
2023-10-26 07:21:49 +00:00
Vlad Zahorodnii
8fbf287254 libkwineffects: Port to VirtualDesktop
This makes effects api consistent with the scripting api. In addition to
that, VirtualDesktop objects are more stable.
2023-10-26 07:21:49 +00:00
Laurent Montel
465499d3a7 GIT_SILENT: use KLocalizedString::setApplicationDomain(QByteArrayLiteral => saving one deep data copy 2023-10-26 07:02:28 +00:00
l10n daemon script
19f7d2a8ba GIT_SILENT Sync po/docbooks with svn 2023-10-26 02:32:50 +00:00
l10n daemon script
0b82df303d 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-26 02:19:20 +00:00
Vlad Zahorodnii
f2dfac8497 libkwineffects: Drop EffectsHandler.windowToDesktop
Use EffectsHandler.windowToDesktops instead.
2023-10-25 18:52:37 +03:00
Vlad Zahorodnii
b3b2e96148 libkwineffects: Replace EffectScreen with Output 2023-10-25 15:13:14 +00:00
Xaver Hugl
7db4df9915 outputconfigurationstore: differentiate between outputs with their mst path
The DisplayPort multi stream path should be more stable in comparison to
connector names, so prefer that for differentiating between outputs with
the same EDID.

BUG: 470718
2023-10-25 14:58:47 +00:00
Xaver Hugl
0391b65628 scene/itemrenderer_opengl: switch shaders depending on the input
This allows using more expensive shaders where needed, and less expensive ones
where possible
2023-10-25 14:19:12 +00:00
Xaver Hugl
09278caf48 add colorspace metadata to surfaces and items, and use it in the OpenGL renderer 2023-10-25 14:19:12 +00:00
Xaver Hugl
c1b4806962 delete the colord integration plugin
ICC profiles are now set through KScreen, which conflicts with colord. Colord is also
dropped because applications may read the profile for the current output from it, and
so KWin and the application both apply the profile, resulting in wrong colors.
2023-10-25 16:05:27 +02:00
Xaver Hugl
872aa55630 allow setting the icc profile through the output management protocol 2023-10-25 16:05:26 +02:00
Xaver Hugl
006d1f6a14 outputconfigurationstore: store icc profile paths 2023-10-25 15:46:13 +02:00
Xaver Hugl
e441b5f35d libkwineffects/colorspace: add some documentation 2023-10-25 15:34:21 +02:00
Xaver Hugl
8d25550c22 backends/drm: support applying icc profiles with color management
While applications are still restricted to sRGB, this allows working on sRGB
content on displays with a wide color gamut as the whole profile gets applied,
instead of just the VCGT.

CCBUG: 439135
2023-10-25 15:34:21 +02:00
Xaver Hugl
7d0a3dcd1e libkwineffects/openglcontext: require support for 3D textures
They will be used in the drm backend for ICC profiles.
2023-10-25 15:34:21 +02:00
Xaver Hugl
0429ec8053 libkwineffects: add a 3d lookup table class 2023-10-25 15:34:21 +02:00
Xaver Hugl
1f8a1a0788 libkwineffects: add a lookup table class 2023-10-25 15:34:21 +02:00
Xaver Hugl
b200a3180f libkwineffects/colorspace: apply chromatic adaption 2023-10-25 15:30:34 +02:00
Xaver Hugl
1e4701309f core/iccprofile: read colorimetry, BToA1 and BToA0 tags 2023-10-25 15:30:33 +02:00
Xaver Hugl
286914133e core/colortransformation: add floating point transformation helper 2023-10-25 15:01:44 +02:00