Commit graph

25664 commits

Author SHA1 Message Date
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
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