Commit graph

26698 commits

Author SHA1 Message Date
l10n daemon script
5010606d59 GIT_SILENT Sync po/docbooks with svn 2023-12-30 02:22:24 +00:00
l10n daemon script
577240c3db GIT_SILENT Sync po/docbooks with svn 2023-12-29 02:18:33 +00:00
l10n daemon script
f294b06fa6 GIT_SILENT Sync po/docbooks with svn 2023-12-28 02:17:39 +00:00
l10n daemon script
0367928d58 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-12-28 02:07:19 +00:00
Kai Uwe Broulik
40fcce83ba screenedge: Allow certain actions during drag and drop
Most actions do not handle drag and drop properly yet (e.g. entering
the overview during drag and drop is just very broken), at least
allow "show desktop" and "application launcher".

This allows to easily drag a file onto the desktop by starting a drag,
nudging the "show desktop" screen edge and dropping it on the desktop.
2023-12-27 08:11:45 +00:00
Kai Uwe Broulik
b5fb9db369 input: Move drag and drop filter after screen edge filter
Allows screen edges to react to events even during drag and drop.
2023-12-27 08:11:45 +00:00
l10n daemon script
032891be60 GIT_SILENT Sync po/docbooks with svn 2023-12-24 02:55:01 +00:00
l10n daemon script
c752246925 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-12-24 02:31:40 +00:00
l10n daemon script
50c070f55e GIT_SILENT Sync po/docbooks with svn 2023-12-23 02:35:12 +00:00
Xaver Hugl
7dbdea3697 wayland/outputdevice: fix updating brightness overrides 2023-12-22 19:52:13 +00:00
Xaver Hugl
6832aee3a2 autotests: add very basic ColorDescription mapping test 2023-12-22 20:25:44 +01:00
Stefan Hoffmeister
33beb28b5f autotests/drm: Fix connector_type_id usage 2023-12-22 18:39:21 +01:00
Vlad Zahorodnii
51642177e3 Add Window.clientGeometry property 2023-12-22 13:45:08 +00:00
Xaver Hugl
d24568a89c backends/drm: fix typo 2023-12-22 13:15:26 +00:00
Xaver Hugl
b24505a447 backends/drm: fix night color with ICC profiles
Until night color is dealt with properly by adjusting the output whitepoint,
the channel factors have to be multiplied in with the color transformation
matrix manually

BUG: 413134
2023-12-22 13:00:35 +00:00
Xaver Hugl
8b1fddffbe backends/drm: move color description creation to DrmOutput
It being in DrmPipeline just meant that a whole bunch of settings had to
be duplicated there, without any real reason
2023-12-22 12:28:00 +00:00
Xaver Hugl
4425bcd4e0 backends/drm: handle missing brightness values in the EDID better
Most importantly, fall back to an assumption of 1000 nits peak brightness when the
max brightness is missing, instead of the sdr brightness, which causes more immediately
visible issues.
Ideally the user should configure this value in the display settings, but it's too
late to still do that for Plasma 6.0.

BUG: 478860
2023-12-22 12:28:00 +00:00
Vlad Zahorodnii
647790b44c wayland: Also force qtquick to use OpenGL when using OpenGL compositing
Ideally they should match. If kwin uses software renderer, qtquick should
too. If kwin uses OpenGL, then qtquick should a hardware accelerated
graphics api too.
2023-12-22 07:11:57 +00:00
l10n daemon script
92bbfbc233 GIT_SILENT Sync po/docbooks with svn 2023-12-22 02:28:08 +00:00
Marco Martin
8a619f9764 Use Plasma6-specific store categories
Some components are incompatible between plasma5 and 6, and they need to
search in different categories in the store

Fixes Aurorae Decorations, Effects, Scripts, tabboxes
2023-12-21 19:35:11 +00:00
Stefan Hoffmeister
83323c39cd Extend log warning about duplicate output
This makes the log message actionable, in a way - users now have an easier time to find the duplicated output(s).
2023-12-21 17:58:07 +00:00
Stefan Hoffmeister
c21dea61c0 tiles: Avoid log warning about non-existing tiles configuration
In some cases, there may not (yet) be any configuration data for tiles. This is a valid scenario and should not trigger a log entry at warning level.
2023-12-21 17:24:23 +00:00
Akseli Lahtinen
b43052af83 WindowHeapDelegate: If window is set to "skip switcher", skip it from window heap
Without this, windows like xwaylandvideobridge would show up.

BUG: 463542
FIXED-IN: 6.0
2023-12-21 16:48:40 +00:00
Yifan Zhu
f661f7bb04 plugins/overview: remove obsolete comment 2023-12-21 10:55:57 +00:00
Vlad Zahorodnii
f1e1a54200 ci: Add plasma-workspace to RuntimeDependencies
kscreenlocker has some really bad dependency issues. It should not pull
plasma-workspace. But without it, our ci fails.
2023-12-21 10:40:41 +00:00
l10n daemon script
1169eed24a GIT_SILENT Sync po/docbooks with svn 2023-12-21 02:54:45 +00:00
l10n daemon script
2afa1d8272 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-12-21 02:32:18 +00:00
Jonathan Esk-Riddell
f029e91fd5 Update version number for 5.91.90
GIT_SILENT
2023-12-20 18:54:35 +00:00
Arjen Hiemstra
71be0f68c0 plugins/overview: Don't rely on item type to determine drop behavior
Item type is incredibly fragile as a way to determine what was dropped,
as proven by recent breakage. Instead, we can use `Drag.keys` to provide
metadata about what is being dragged/dropped.
2023-12-20 12:58:59 +00:00
Jonathan Esk-Riddell
81f9cd9992 Update version number for 5.91.0
GIT_SILENT
2023-12-20 12:02:38 +00:00
Yifan Zhu
09a547361a plugins/overview: Use correct type to match
The overview effect uses the type of the dragged object to determine
if a single window is dragged or the entires desktop.
Commit 0ff4f84a changed the type of mainBackground, but did not
update the code for matching the type.

BUG: 478746
FIXED-IN: 6.0
2023-12-20 07:06:00 +00:00
Vlad Zahorodnii
edaee17a16 Avoding releasing closed windows twice when shutting down X11 logic
The stack may contain an already closed window, in which case do nothing.
2023-12-20 06:51:47 +00:00
Xaver Hugl
d301106aef opengl/glshadermanager: use texture2D for sampling external textures
BUG: 478737
2023-12-20 02:28:57 +00:00
l10n daemon script
e77f23ac5d GIT_SILENT Sync po/docbooks with svn 2023-12-20 02:12:01 +00:00
Xaver Hugl
f03bfa324d outputconfigurationstore: adjust auto rotate to the panel orientation 2023-12-19 18:28:48 +00:00
Yifan Zhu
eda442f9b0 kcms/tabbox: change Shift+Backtab to Shift+Tab
In default shortcuts, change +Shift+Backtab to +Shift+Tab.

Functionally the behavior doesn't change.
But Shift+Tab is better since it is
- easier to understand (not everyone knows what Backtab is)
- more consistent with other shortcuts containing Shift:
  we use Alt+Shift+1, instead of Alt+Shift+!
- more consistent with how user defined shortcuts with Shift and Tab are
  displayed and stored

BUG: 422713
FIXED-IN: 6.0
2023-12-19 09:08:55 -08:00
Alexander Lohnau
82780effc1 Avoid Qt module incldues
This causes a longer compile time, because lots of unneeded files are
included. With https://invent.kde.org/sdk/clazy/-/merge_requests/91/
lots of false positives in the clazy check were resolved, this commit
takes care of the remaining places
2023-12-19 15:23:22 +00:00
Alexander Lohnau
3e5ae3b247 windowsrunner: Deduplicate/optimize strings 2023-12-19 15:23:22 +00:00
Alexander Lohnau
11d813625a windowsrunner: Reuse QVariantMap object 2023-12-19 15:23:22 +00:00
Alexander Lohnau
e3ab09dbd3 windowsrunner: Make dummy implementation of Action method inline 2023-12-19 15:23:22 +00:00
Vlad Zahorodnii
624da13e21 core: Specify explicit OutputTransform::Kind enum values
Some OutputTransform code assumes that Kind enums have specific values.
In order to ensure that that code doesn't break if the enums are reordered
or something, this change sets output transform enums to those explicit
values.
2023-12-19 17:08:13 +02:00
Vlad Zahorodnii
b3b43acc60 autotests: Slightly reduce line width in TestOutputTransform 2023-12-19 17:08:13 +02:00
Vlad Zahorodnii
3a4eebddc9 core: Rework OutputTransform::combine()
The naive way to combine output transforms is not great, especially
because of the for loop.

The output transform kind enums have the following bit pattern:

- rotate-0:   000
- rotate-90:  001
- rotate-180: 010
- rotate-270: 011
- flip-0:     100
- flip-90:    101
- flip-180:   110
- flip-270:   111

`(rotate-a + rotate-b) & 0x3` can be used to combine two rotation
transforms. The rotatation is clockwise.

If the first transform is a flip transform, then we should rotate
counter-clockwise, i.e. `(rotate-a - rotate-b) & 0x3`.
2023-12-19 17:08:13 +02:00
Xaver Hugl
50346b6e37 core: Introduce OutputTransform::combine()
Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
2023-12-19 17:08:13 +02:00
Yifan Zhu
bc73e14e68 tabbox: match Shift+Backtab against Shift+Tab
When users simultaneously press Shift and Tab, the keys are sometimes
registered as Shift+Tab, and sometimes as Shift+Backtab.
So we need to match received Shift+Tab against shortcuts containing
Shift+Backtab, and vice versa. Previously the code only checks for
the first case. This commit adds checks for the second case.

BUG: 438991
FIXED-IN: 6.0
2023-12-19 10:00:08 +00:00
Aleix Pol
a02545e8f5 glshadermanager: Fix nv12 shader for older versions of opengles
It wasn't compiling for PowerVR drivers.
2023-12-19 09:37:17 +00:00
Vlad Zahorodnii
c45ee91ab2 plugins/showpaint: Snap repaint region to the pixel grid 2023-12-19 11:00:30 +02:00
Vlad Zahorodnii
2e78ae2b6d core: Fix pixel grid snapping in RenderViewport
Our painting code is assumed to work as following: scale the geometry,
snap it to the pixel grid, apply the render transform, e.g. flip the
geometry vertically.

However, with QMatrix4x4 in RenderViewport, we have a slightly different
order: scale the geometry, apply the render transform, snap to the pixel
grid. It results in mapToRenderTarget() not properly mapping logical
geometry to the device geometry, which later manifests as glitches.

BUG: 477455
2023-12-19 11:00:30 +02:00
Stefan Hoffmeister
44419d832d Decrease log level of reporting choosing backend
Automatic backend selection is a very normal by-design activity that warrants informing. Decrease from log level Warning to Info to avoid spoiling the log at too high of a log priority.
2023-12-19 08:43:36 +00:00
Vlad Zahorodnii
71326cc91c autotests: Add OutputTransform test 2023-12-19 08:30:38 +00:00