Commit graph

25584 commits

Author SHA1 Message Date
Xaver Hugl
acba91672b backends/drm: fix typo 2023-11-09 15:53:08 +01:00
Jonathan Esk-Riddell
2f1fd37c9b Update version number for 5.81.0
GIT_SILENT
2023-11-09 12:31:09 +00:00
Xaver Hugl
d24edc7890 backends/drm: ensure correct colors with direct scanout of NV12 buffers
If another compositor changes the color encoding and color range properties, the
resulting colors will be wrong. This commit ensures they're always set to BT.709
limited range to prevent that
2023-11-09 12:16:17 +00:00
Xaver Hugl
c1312a5551 backends/drm: fix pageflip events getting lost when outputs get turned off
When a display gets turned off while a pageflip event was still pending, the pending
state gets changed immediately, without waiting for the pageflip event to arrive first.
When this happens, activePending() returns false, and so the pageflip event gets discarded.
This commit changes the logic to only check for activePending() when the pageflip is for a
modeset, avoiding that issue.

BUG: 476340
BUG: 476341
BUG: 476342
BUG: 437520
BUG: 475146
2023-11-09 11:35:19 +00:00
l10n daemon script
d75d0daf3b GIT_SILENT Sync po/docbooks with svn 2023-11-09 02:15:00 +00:00
l10n daemon script
e2d072afec 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-11-09 02:08:31 +00:00
Xaver Hugl
bdc62b3516 backends/drm: ensure icc profiles aren't applied with HDR
ICC profiles don't support HDR yet, and they don't make a lot of sense with
how unpredictable displays behave with BT2020 and/or PQ inputs
2023-11-09 01:42:10 +00:00
Nate Graham
cdadf7cf7f Access ShadowedLabel from PlasmaExtras
That's where it's been moved to; see
https://invent.kde.org/plasma/plasma-framework/-/merge_requests/951.
2023-11-08 13:26:22 -07:00
Aleix Pol Gonzalez
6cac17aac0 GLShader: Use floating point values to interact with vectors
Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
2023-11-08 17:07:37 +01:00
Aleix Pol Gonzalez
7b64433830 GLShader: Fix sdrBrightness into float
It's used as a float and otherwise it makes (some?) drivers very
confused as they're required to cast at runtime.
The original value is double so it makes sense to keep the same type.

Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
2023-11-08 16:46:45 +01:00
Xaver Hugl
15080192f7 Remove latency policy and render time estimator settings
As KWin measures render times properly now, these settings and estimations
should no longer be necessary, so this commit replaces them with one hardcoded
algorithm that should prevent most dropped frames and reduce latency
2023-11-08 13:29:29 +00:00
Vlad Zahorodnii
d52ba8c3fe wayland: Fix transaction cleanup with destroyed surfaces
When sorting surfaces in the ancestor order we need to ignore null
surfaces.

In addition to that, we also need to properly handle the case where
a transaction with dependencies is unlocked and it contains null
surfaces.

For example, if there are three transactions A -> B -> C, and the B
transaction is unlocked, we cannot apply it until transaction A is
applied. The readiness check is based on checking the first pending
transaction of the surface. But if the surface is null, the check
will be skipped, which is not ideal as transaction B can be applied
before transaction A now. To address that, this change makes every
transaction entry remember the previous transaction. With that, the
readiness check can be performed even if the surface has been destroyed.

BUG: 475648
2023-11-08 13:09:51 +00:00
l10n daemon script
816d2866c7 GIT_SILENT Sync po/docbooks with svn 2023-11-08 09:32:39 +00:00
Vlad Zahorodnii
16389f0298 Remove NAMELINK_SKIP for libkwin
libkwin headers are installed now, so it should be removed.
2023-11-08 09:06:54 +00:00
Vlad Zahorodnii
2aca0648f1 Update .kde-ci.yml to reflect that kwayland is in plasma 2023-11-08 10:41:34 +02:00
Xaver Hugl
9d4fe3adf1 implement the frog color management protocol 2023-11-07 20:23:06 +01:00
Xaver Hugl
15d6d8c336 wayland/surface: add the output a surface is on the most 2023-11-07 20:23:06 +01:00
Christophe Marin
b40e960ad7 Bump kwin soversion to 6 2023-11-07 12:56:29 +01:00
l10n daemon script
96f42b91a3 GIT_SILENT Sync po/docbooks with svn 2023-11-07 03:26:57 +00:00
Nicolas Fella
41a5b84958 Fix KWayland version 2023-11-06 21:58:19 +01:00
Jonathan Esk-Riddell
7aaf2d2903 Update Qt version requirement to 6.5.0
GIT_SILENT
2023-11-06 19:57:32 +00:00
Jonathan Esk-Riddell
287094167d kactivities now using plasma versioning 2023-11-06 18:28:25 +00:00
Jonathan Esk-Riddell
ae46ac6382 plasma framework now uses plasma version 2023-11-06 18:23:59 +00:00
Nate Graham
c5a3749a40 XWayland: allow snooping non-character keys with elevated snooping modes
These keys do not represent a security risk to allow apps to snoop since
they can't be used to type passwords etc.

BUG: 474705
FIXED-IN: 6.0
2023-11-06 15:19:19 +00:00
Xaver Hugl
28c27609a4 xdgshellwindow: enforce a minimum size for clients
It doesn't make sense for a window to become 1x1 pixels small. When we have
server side decorations we also know that the decoration takes a lot of
space, so this commit enforces a bigger minimum size for decorated windows

BUG: 469237
2023-11-06 14:55:57 +00:00
Xaver Hugl
d0a9e90716 platformsupport/scenes/opengl: fix format filtering
We support formats that are neither 10 nor 8 bits per color, so the filtering needs
to reflect that
2023-11-06 12:42:00 +01:00
Noah Davis
ea75c094a9 plugins/fallapart: Blacklist spectacle
Spectacle needs to be blacklisted in order to stay out of its own
screenshots.

BUG: 473565
2023-11-06 10:01:03 +00:00
David Edmundson
c711997d31 Revert "Temporarily disable testXkb and testX11Window"
This reverts commit 6bad553f05
2023-11-06 09:52:31 +00:00
Vlad Zahorodnii
4449375967 autotests: Adjust testXkb to correct Hyper key mappings
By default, hyper keys are interpreted as meta keys. However, due to
a Qt bug, it had been incorrectly mapped.

Commit b45b9090c3b66d541f57f8d049c22247f8c115ca in qtbase repo fixed it,
so the test needs adjustments.
2023-11-06 09:45:29 +00:00
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