Commit graph

24152 commits

Author SHA1 Message Date
Natalie Clarius
67ab25820b kcms/tabbox: get docbook up to date
- add "Order minimized windows after" option
- add a screenshot so people know better what the task switcher even is
- minor rewording
2023-01-30 23:19:05 +00:00
Natalie Clarius
0074f72405 kcms/screenedges: add more keywords to docbook 2023-01-30 16:21:41 +00:00
Natalie Clarius
69f0d933ca kcms/screenedges: add hint on snap zones to docbook 2023-01-30 16:21:41 +00:00
Natalie Clarius
20ccc62e16 kcms/screenedges: add quarter tiling option to docbook 2023-01-30 16:21:41 +00:00
Natalie Clarius
04daed3bd0 kcms/docbook: add 'remain active on fullscreen' action to docbook 2023-01-30 16:21:41 +00:00
Xaver Hugl
0ef7d20fde plugins/screencast: fix window recording while no scene rendering happens
This affects direct scanout and when the window isn't triggering desktop
repaints otherwise, like being minimized or on a different virtual desktop
or activity
2023-01-30 14:25:00 +01:00
l10n daemon script
92439c511b GIT_SILENT Sync po/docbooks with svn 2023-01-30 02:40:07 +00:00
l10n daemon script
9abfc67b69 GIT_SILENT Sync po/docbooks with svn 2023-01-29 02:29:51 +00:00
David Edmundson
99f433641a Add missing includes for KF6
This fixes includes that were implicitly brought in with KF5
2023-01-28 09:16:14 +00:00
l10n daemon script
3556a3e0dd GIT_SILENT Sync po/docbooks with svn 2023-01-28 02:28:32 +00:00
David Edmundson
4474f4098a Xwayland: Disable input spy on xwayland teardown
Otherwise we have a potential crash when we send keys to the
non-existent xwayland wayland connection
2023-01-27 16:46:45 +00:00
Jonathan Esk-Riddell
3de1498252 Update version number for 5.27.80
GIT_SILENT
2023-01-27 14:55:36 +00:00
l10n daemon script
1fa01e2a4c GIT_SILENT Sync po/docbooks with svn 2023-01-27 02:22:17 +00:00
ivan tkachenko
53591cdfb2
kcms/decoration: Deduplicate event proxying code 2023-01-26 23:04:40 +03:00
ivan tkachenko
5bd748c674
kcms/decoration: Use correct mask to specify that item accepts all buttons 2023-01-26 23:04:40 +03:00
ivan tkachenko
70a2aa644f
kcms/decoration: Don't setFiltersChildMouseEvents when filter method is not overridden 2023-01-26 23:04:40 +03:00
ivan tkachenko
01a7bd14ec
kcms/decoration: Remove suspicious C-style const cast 2023-01-26 23:04:38 +03:00
Vlad Zahorodnii
020b633591 backends/x11: Check whether X server supports shared pixmaps 2023-01-26 15:02:05 +02:00
Vlad Zahorodnii
81b05bd87e Avoid mistriggering quick tiling when using custom tiling
If user has chosen custom tiling, ensure that quick tiling state is
reset.

BUG: 464810
2023-01-26 12:01:46 +02:00
l10n daemon script
3e369c46fd GIT_SILENT Sync po/docbooks with svn 2023-01-26 02:12:31 +00:00
ivan tkachenko
63ff64b094 kcms/decoration: Fix double click behavior over the thumbnail
KDecoration.Decoration eats all the events for the sake of keeping
an illusion of buttons being like the real ones. I didn't find any sane
way to completely turn off event filtering on that level, so instead
let's fix this MouseArea, which is a workaround, but a decent one.

AFAIK this is the last KCM in Plasma to properly support "double-click
to save" behavior. There might be others though: watch out for event
filters inside thumbnail.
2023-01-25 18:05:15 +00:00
Fushan Wen
476509b0fd
effects/windowview: set translation domain for the placeholder text 2023-01-25 21:44:52 +08:00
Vlad Zahorodnii
716f386226 tabbox: Remove unused ShowDelay option
BUG: 420291
2023-01-25 13:48:27 +02:00
Vlad Zahorodnii
671cbcda6b Refactor some custom tiling code
Use already specified global position rather than look it up from the
cursor, which is quite input device specific.
2023-01-25 11:04:44 +02:00
Vlad Zahorodnii
76a039332d Make interactive custom tiling more robust to suboptimal tile configs
If the root tile node contains only one child node, but the child node
has its own children, kwin will fail to show an outline when the user
interactively tiles the window.

On the other hand, there is no reason to have this child count check.
For what it's worth, it also prevents tiling the window if the output
only has one tile, which is odd, but a valid usecase.

BUG: 464379
2023-01-25 07:32:11 +00:00
l10n daemon script
27fca4d8a8 GIT_SILENT Sync po/docbooks with svn 2023-01-25 02:29:54 +00:00
l10n daemon script
7bd4bd0bf7 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-01-25 02:03:19 +00:00
Aleix Pol
43586d673a tiles: Don't generate the client area until we know it's necessary 2023-01-24 17:58:26 +01:00
Aleix Pol
96962941e3 QuickTile: register enum to metaobject/QDebug 2023-01-24 17:58:26 +01:00
Xaver Hugl
11327da292 xdgshellwindow: ignore window position rules placing windows outside of all screens
BUG: 464047
2023-01-24 14:40:53 +00:00
Xaver Hugl
58fdbbc444 autotests/integration: test restoration of window states on moveresize cancel 2023-01-24 11:39:02 +00:00
Xaver Hugl
9f2ed2083c window: restore special window states on moveresize cancel
BUG: 464507
2023-01-24 11:39:02 +00:00
David Redondo
d6b75907cc Data control: Resend selection when not following through with request
Normal event flow is from a client view is
-> wlr_data_control_device.set_selection
wlr_data_control_device.selection
or
wlr_data_control_source.cancelled
wlr_data_control_device.selection
However when the race mentioned in the comment happens the client
sees
-> wlr_data_control_device.set_selection
wlr_data_control_device.selection
wlr_data_control_source_cancelled
Which can confuse client state thinking the clipboard didn't change
as it associates the selection event with its own request. Resend
the selection event in this case to tell the client the correct
selection.
BUG:464509
FIXED-IN:5.27
2023-01-24 09:35:20 +00:00
Vlad Zahorodnii
e6d2a19857 backends/drm: Fix custom mode generation
maxSizeRefreshRate is uninitialized.

BUG: 463619
2023-01-24 07:15:10 +00:00
l10n daemon script
85b9bcc10c GIT_SILENT Sync po/docbooks with svn 2023-01-24 02:25:15 +00:00
l10n daemon script
c8a92f833b 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-01-24 02:04:53 +00:00
Xaver Hugl
7cb4b51d5e inputpanel: ignore requested output
While there's specific hardware where the IM could benefit from requesting to
be shown on a specific output, it effectively never has enough information to
choose a useful output - and the protocol doesn't allow setting a null output
to indicate that the compositor should do the choice.
To avoid showing the OSK on the wrong output, always put it on the active
output and ignore what the IM client requests.
2023-01-23 22:28:41 +00:00
Vlad Zahorodnii
cc5b917de1 tiling: Forbid overlapping quick tiles
It looks weird and it can break Tile::supportsResizeGravity() logic.
2023-01-23 16:50:31 +02:00
Vlad Zahorodnii
826fb1cb29 Fix a crash that happens when resizing quick tiled window
QuickTile::setRelativeGeometry() and QuickRootTile::setVerticalSplit() or
QuickRootTile::setHorizontalSplit() can hit recursion when size
constraints start taking effect.

This change reworks how other quick tiles are resized. With the proposed
design, when relative geometry changes, QuickRootTile will notice that
and start resizing other tiles.

When QuickRootTile resizes horizontal or vertical split, it is going to
ignore QuickRootTile::relativeGeometryChanged() signals (m_resizedTile).
It prevents hitting the recursion and makes moving h/v splits more
predictable.

I do think that in order to make the tile design more robust to this
kind of bugs, it's worth splitting geometry in two kinds though - the
one that indicates the preferred geometry (implicitWidth/implicitHeight
in qtquick lingua) and the current geometry, the parent node then
monitors the preferred geometries and updates the current geometries.

BUG: 464621
2023-01-23 14:58:09 +02:00
l10n daemon script
3650250c31 GIT_SILENT Sync po/docbooks with svn 2023-01-23 02:14:19 +00:00
l10n daemon script
19f8a724f1 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-01-23 01:57:54 +00:00
l10n daemon script
5504edf5fa GIT_SILENT Sync po/docbooks with svn 2023-01-22 02:29:51 +00:00
l10n daemon script
0b291dcb36 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-01-22 02:01:44 +00:00
Jonathan Esk-Riddell
0c1e73ce82 Update kf5 version requirement to 5.102.0
GIT_SILENT
2023-01-21 20:06:15 +00:00
l10n daemon script
f48471fd98 GIT_SILENT Sync po/docbooks with svn 2023-01-21 02:17:30 +00:00
David Edmundson
bfe837c918 effects/tileseditor: Set translation domain in QML files
BUG: 464572
2023-01-20 23:21:37 +00:00
Vlad Zahorodnii
0d44092db2 wayland: Fix invisible tablet cursor
A cursor source is created but it's not attached to the cursor.

BUG: 464529
2023-01-20 14:47:54 +02:00
David Edmundson
fef1553b90 xwayland: Set parent on XwlDropHandler
A parent is provded to the XwlDropHandler but it doesn't reach the
QObject superclass
2023-01-20 09:41:01 +00:00
Vlad Zahorodnii
e83af181f7 Remove some code duplication in cursor layer code
Move some generic properties to the OutputLayer class and add a cursor
layer getter in the RenderBackend class. That allows us to get rid of
some code duplication. And we could use this work to move more cursor layer
code from backends to Compositor.
2023-01-20 08:22:18 +00:00
l10n daemon script
fb8e77d9cf GIT_SILENT Sync po/docbooks with svn 2023-01-20 02:22:20 +00:00