Commit graph

24186 commits

Author SHA1 Message Date
David Edmundson
29b456ff25 Autotests: Use a helper method to create X11 connection 2023-02-06 16:02:50 +00:00
Ismael Asensio
8507e602f3 kcms/tabbox: Handle config directly within the configuration form
By passing the config object to the TabBoxConfigurationForm, we
can handle it directly instead of bouncing information from and
back between the forms and the KCM main class.

Now the user changes in the UI translate to the config objects,
which can directly provide `isSaveNeeded()` and `isDefaults()` info.

This allows to simplify the logic on both classes, reducing the
coupling between them and minimizing the number of exposed public
methods and some boilerplate.
2023-02-06 14:01:14 +01:00
Vlad Zahorodnii
9807c83929 {x11,wayland}: Fix restoring fullscreen windows
If the window has been originally on another output, make sure that the
window will be properly put back on it.

This logic seem to originate from 7d67380205,
but it's not necessary anymore because geometry restore will be updated
if the window is moved to another output by the user.

BUG: 465358
2023-02-06 11:33:35 +00:00
Ismael Asensio
a648553be0 kcms/tabbox: Improve model initialization
- Add the switchers to the model directly, instead of using
  temporal lists and a second loop over them
- Use the same model for main and alternative forms

This makes this code a little more clear and efficient
2023-02-06 09:11:34 +00:00
l10n daemon script
8b8bfe515e GIT_SILENT Sync po/docbooks with svn 2023-02-06 02:34:01 +00:00
Joshua Goins
ee01e4b473 Update decoration kcm docbook
This includes screenshots for the new frameless style KCM, as well as
changing some of the outdated text.
2023-02-05 02:22:14 +00:00
Joshua Goins
21dbf0f413 kcm/decoration: Change it to the new frameless style
This now matches other modern KCMs and removes the weird titlebar tab view,
moving it to a separate page.
2023-02-05 02:22:14 +00:00
l10n daemon script
2d1b6e9b2c GIT_SILENT Sync po/docbooks with svn 2023-02-05 02:21:23 +00:00
l10n daemon script
68889026d4 GIT_SILENT Sync po/docbooks with svn 2023-02-04 02:48:10 +00:00
l10n daemon script
71c9b7db87 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-02-04 02:09:27 +00:00
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