24202 Commits (6e705f603415e5694377852491f5b8ee81091cca)
 

Author SHA1 Message Date
Vlad Zahorodnii 89283c4cc6 effects: Drop support for effect proxy'ing
It's not used by any effect. We use other means to share functionality
between effects now.
2 years ago
Vlad Zahorodnii 66837f7cce effects: Remove deprecated feature enums 2 years ago
Vlad Zahorodnii 909e10dace effects: Drop PAINT_DISABLED_BY_TAB_GROUP 2 years ago
Vlad Zahorodnii 65f4313e04 effects: Drop EffectWindow::geometry 2 years ago
Vlad Zahorodnii 4f44c28032 effects: Drop EffectWindow::isCurrentTab 2 years ago
Vlad Zahorodnii 20487c7cda effects: Drop legacy EffectsHandler::desktopChanged overloads 2 years ago
Vlad Zahorodnii 522e2ee7c4 effects: Drop EffectWindow::desktop() 2 years ago
Vlad Zahorodnii 9371fc8ae9 scripting: Prefer VirtualDesktop objects 2 years ago
Vlad Zahorodnii 0218a8f3ba scripting: Drop deprecated apis 2 years ago
Ismael Asensio e504c58286 kcms/tabbox: Manage shortcuts via ShortcutSettings
Leverage the standardized ShortcutSettings config object to handle
the shortcuts config for the tabox (setting default values, reading
and saving to KGlobalAccel, etc).

This way, we can remove the extra methods in TabBoxConfigForm and
improve separation between UI and logic.

It also fixes the actions getting stored untranslated when saving
from the KCM (until next restart of KWin)
2 years ago
Vlad Zahorodnii d6315bebd0 scripting: Flatten source tree
It makes source tree tidier.
2 years ago
l10n daemon script 87c510328e GIT_SILENT Sync po/docbooks with svn 2 years ago
Ismael Asensio 9c2224acb3 kcms/tabbox: Expose shortcuts as a KConfigSkeleton
Provide a new KConfigSkeleton (ShortcutSettings) so that the
KCModuleData knows if any of the shortcuts is non-default.

This improves the UX by showing an "orange dot" in system
settings when just a shorcut has been changed.

We also need to implement a new specific KConfigSkeletonItem
(`ShortcutItem`) that uses KGlobalAccel to retrieve and store
the shortcuts, instead of storing them in a config file.
2 years ago
Vlad Zahorodnii 600de787d8 scripting: Drop org.kde.kwin 2.x
It's superseded by 3.x.
2 years ago
David Edmundson 2ca4627207 Autotests: Dont warp cursor before X is available kwin side 2 years ago
David Edmundson 466f2fe8ba Launch xwayland on demand
This installs a socket notifier onto our xwayland socket, when a user
connects we launch xwayland. The client then connections once kwin has
established itself as the compositor.

For a full desktop plasma session this patch effectively does nothing
too useful as we still start kcminit and make xrdb calls on startup
which in turn will launch X, but for the same reason this patch should
be harmless now as we're still processing the xrdb calls before any
clients will connect.
2 years ago
David Edmundson 29b456ff25 Autotests: Use a helper method to create X11 connection 2 years ago
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.
2 years ago
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
2 years ago
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
2 years ago
l10n daemon script 8b8bfe515e GIT_SILENT Sync po/docbooks with svn 2 years ago
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.
2 years ago
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.
2 years ago
l10n daemon script 2d1b6e9b2c GIT_SILENT Sync po/docbooks with svn 2 years ago
l10n daemon script 68889026d4 GIT_SILENT Sync po/docbooks with svn 2 years ago
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"
2 years ago
Vlad Zahorodnii 271de0ccc6 scripts: Port some scripts to org.kde.kwin v3 qml api 2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
l10n daemon script cf02612710 GIT_SILENT Sync po/docbooks with svn 2 years ago
Xaver Hugl 1746af4b02 gesture: use the global direction enums 2 years ago
Xaver Hugl a9334cb9c6 unify touchpad gesture APIs
There don't need to be separate functions for real time and not real time
2 years ago
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.
2 years ago
Vlad Zahorodnii d18f7efac2 scripting: Remove deprecated properties in WindowThumbnailItem 2 years ago
Vlad Zahorodnii 5de308792f effects/fade: Remove hidden FadeWindows option
Enable/disable the fade effect in system settings instead.
2 years ago
Vlad Zahorodnii c1fb295cd6 plugins/nightcolor: Drop legacy shortcut with localized key 2 years ago
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.
2 years ago
Natalie Clarius b712c26457 kcms/kwindecoration: add link to aurorae tutorial in docbook 2 years ago
Xaver Hugl 6f1b36d3b4 plugins/screencast: make context current later, don't make it current twice 2 years ago
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
2 years ago
Xaver Hugl 3c059d3a24 scene/surfaceitem_x11: improve size mismatch warning 2 years ago
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
2 years ago
l10n daemon script c1952e58fc GIT_SILENT Sync po/docbooks with svn 2 years ago
l10n daemon script eb8b8c8826 GIT_SILENT Sync po/docbooks with svn 2 years ago
Josep M. Ferrer 3ec9414ace Fix a duplicated "option" word 2 years ago
Yuri Chornoivan 57a2f96e9e Fix minor typo 2 years ago
l10n daemon script 208a1cf683 GIT_SILENT Sync po/docbooks with svn 2 years ago
Natalie Clarius 1b29c5668c point aurorae documentation to develop.kde.org 2 years ago