Commit graph

24076 commits

Author SHA1 Message Date
Vlad Zahorodnii
271de0ccc6 scripts: Port some scripts to org.kde.kwin v3 qml api 2023-02-03 17:22:16 +00:00
Vlad Zahorodnii
d619e0b4d5 tiling: Ensure padding is writen to config
Root tile's padding is not monitored so new padding values are never written to the config.

BUG: 464863
2023-02-03 16:40:41 +00:00
Marco Martin
1332d7de2c Also cancel translucencyMoveResizeAnimations
When a window goes away it was stoppping translucencyWindowTypeAnimation
and translucencyInactiveAnimation but any translucencyMoveResizeAnimations

was hanging there forever, causing ghost windows

BUG:439332
2023-02-03 16:23:05 +01:00
Vlad Zahorodnii
37c4a4536e scene: Sync Window::readyForPainting() to window item visibility
If a window is made ready for painting with some delay, the item won't
schedule an update. To fix that, sync the item visibility state with
Window::readyForPainting(). When the item visibility changes, a repaint
will be scheduled.

BUG: 464955
2023-02-03 14:09:27 +00:00
Vlad Zahorodnii
2babccda04 x11: Fix maximize animation
Window::maximize() used to be split in two halves:

- generic Window::setMaximized() and Window::maximize()
- protocol-specific Window::changeMaximize()

Window::changeMaximize() used to block all geometry updates and
Window::maximize() emit "maximize mode changed" signals. With that,
frameGeometryChanged came always before clientMaximizedStateChanged.

After merging Window::changeMaximize() and Window::maximize(), the order
of the signals has been reversed because of RAII. Unblock geometry
updates explicitly to preserve the old behavior.

BUG: 465157
2023-02-03 10:33:42 +02:00
l10n daemon script
cf02612710 GIT_SILENT Sync po/docbooks with svn 2023-02-03 02:34:32 +00:00
Xaver Hugl
1746af4b02 gesture: use the global direction enums 2023-02-02 16:21:36 +00:00
Xaver Hugl
a9334cb9c6 unify touchpad gesture APIs
There don't need to be separate functions for real time and not real time
2023-02-02 16:21:36 +00:00
Vlad Zahorodnii
e5901070cc Drop support for _KDE_NET_WM_TEMPORARY_RULES
It's an obscure feature, which perhaps not worth putting an effort to
make it work on wayland and x11.
2023-02-02 15:34:24 +00:00
Vlad Zahorodnii
d18f7efac2 scripting: Remove deprecated properties in WindowThumbnailItem 2023-02-02 15:13:38 +00:00
Vlad Zahorodnii
5de308792f effects/fade: Remove hidden FadeWindows option
Enable/disable the fade effect in system settings instead.
2023-02-02 14:48:12 +00:00
Vlad Zahorodnii
c1fb295cd6 plugins/nightcolor: Drop legacy shortcut with localized key 2023-02-02 13:51:28 +00:00
Vlad Zahorodnii
78e0ff6b97 Avoid resizing the tile until interactive resize is actually active
It's confusing, but handleInteractiveMoveResize() can be called while
interactive move resize is inactive.
2023-02-02 12:07:13 +00:00
Natalie Clarius
b712c26457 kcms/kwindecoration: add link to aurorae tutorial in docbook 2023-02-02 11:07:27 +00:00
Xaver Hugl
6f1b36d3b4 plugins/screencast: make context current later, don't make it current twice 2023-02-02 10:18:38 +00:00
Xaver Hugl
abd59be232 x11window: round framegeometry on moveresize
If this isn't done, the size check in SurfacePixmapX11::create will stop
the window from being updated

BUG: 460934
BUG: 458778
2023-02-02 09:14:50 +00:00
Xaver Hugl
3c059d3a24 scene/surfaceitem_x11: improve size mismatch warning 2023-02-02 09:14:50 +00:00
David Edmundson
c0fa51c784 effects/tileseditor: Drop unused imports
Imports come at a big cost when they're unused.
Also we shouldn't be importing WindowView from a different plugin. If
that effect is disabled it meant tileseditor would fail to load.

BUG: 464970
2023-02-02 09:13:23 +00:00
l10n daemon script
c1952e58fc GIT_SILENT Sync po/docbooks with svn 2023-02-02 02:30:11 +00:00
l10n daemon script
eb8b8c8826 GIT_SILENT Sync po/docbooks with svn 2023-02-01 02:20:13 +00:00
Josep M. Ferrer
3ec9414ace Fix a duplicated "option" word 2023-01-31 09:42:14 +00:00
Yuri Chornoivan
57a2f96e9e Fix minor typo 2023-01-31 08:40:17 +02:00
l10n daemon script
208a1cf683 GIT_SILENT Sync po/docbooks with svn 2023-01-31 02:22:06 +00:00
Natalie Clarius
1b29c5668c point aurorae documentation to develop.kde.org 2023-01-31 00:33:18 +00:00
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