20908 Commits (57e0119d23321a414b33c8bce629349d25a934af)
 

Author SHA1 Message Date
Volker Krause 57e0119d23 Adapt to Qt6's removal of Qt::X11Extras 3 years ago
l10n daemon script 45abf173f9 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"
3 years ago
Aleix Pol f0ce2a0f53 screencasting: Support regions from the v3 of the protocol 3 years ago
Volker Krause 2139e2abab Port away from deprecated QWheelEvent constructors
The additional arguments are based on what the deprecated ctors did
internally.
3 years ago
Michail Vourlakos f5c4040ac1 [aurorae] remove deprecated blur metadata
- blur json metadata is not needed any more in favor of KDecoration2 blurRegion
3 years ago
Eric Edlund 934f50717e Move 4 finger swipe up to overview effect 3 years ago
Eric Edlund 7a6792aa2f Make desktop grid effect check for active effects before responding to gestures 3 years ago
Eric Edlund 5cf8db26ec Changes to GestureRecognizer and gestures 3 years ago
Michail Vourlakos f8b1b7f47e [aurorae] fix incorrectly disabled blur for maximized windows
when aurorae decorated windows become maximized and back to normal, after a while they all start to disable blur for their decorated maximized windows.

- bug was tracked down to aurorae fault sending empty QRegions for its maximized windows. What probably happens is that because mask FrameSvgItem enabled borders change from AllBorders to NoBorder, mask FrameSvgItem calculations can not catch up
- the new approach is lighter than the previous one and simpler as margins and enabledborders for mask framesvgitem are not changed and in the c++ side no QRegions calculations are needed at all for maximized windows
- in my system with the new code changing from normal window to maximized one feels a bit snapper
3 years ago
Volker Krause ad09d9cc1e Adapt to various Qt6 container changes
QHash::unite is gone, container sizes are no longer int, comparison
operators are enforced to be const.
3 years ago
Xaver Hugl 945a2059b8 egldmabuf: port modifiers to QVector
With this we don't have to convert back and forth between QVector and QSet
to access the data
3 years ago
Volker Krause ef1e22f517 Adapt to Qt6 nativeEventFilter changes 3 years ago
l10n daemon script c7b2c64967 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"
3 years ago
Volker Krause 5eb4c1722a Port from I18N_NOOP to KLazyLocalizedString 3 years ago
Volker Krause a6b5eb3ebb Use non-deprecated QButtonGroup signal 3 years ago
Volker Krause f6f2c28aa6 Add additional includes needed by Qt6 3 years ago
Volker Krause 7455507d07 Don't rely on implicit QWeakPointer casting
Needs to be explicit with Qt6.
3 years ago
Harald Sitter fad658200f fix dependency lookup
the target is called ConfigCore, the relevant cmake config is not.
notably KF5ConfigConfig.cmake is the present file, so look for the
correct name, otherwise the dependency isn't found
3 years ago
Volker Krause 9d9e89fb84 Don't rely on implicit QScopedPointer to bool conversion
No longer available in Qt6.
3 years ago
Xaver Hugl 1fd1c03742 screencast: make context current in tryEnqueue
The method is used when the cursor position changes. There is no guarantee
that a context would be current at that point in time
3 years ago
l10n daemon script 9eecefd157 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"
3 years ago
Jack Hill a7fdb9ad16 Add Accessibility keyword
This module has various settings for accessibility so it makes sense to have this as a keyword.
3 years ago
Volker Krause a34717dc22 Ensure moc sees fully qualified property types
Qt6 insists on that. We can do this either by including the moc files,
or by including the corresponding headers in the header defining the
properties, the former seems cleaner when possible.
3 years ago
Volker Krause eee16b01a4 Port away from deprecated QWheelEvent position methods
Those are gone in Qt6 (unlike similarly named methods for other
event types).
3 years ago
Volker Krause 51250cfb4a Use | rather than + for combining QFlags
The plus operator is no longer available for flags in Qt6.
3 years ago
l10n daemon script 03c80db56d 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"
3 years ago
Volker Krause 19538a8dcb Fully qualify Qt::endl, needed with Qt6 3 years ago
Volker Krause 7188f8fbd1 Port away from deprecated q[s]rand() methods 3 years ago
Volker Krause c5a712a77a Don't rely on implicit conversion from int to QUuid
Not available in Qt6 anymore.
3 years ago
Volker Krause f6d14f0401 Adapt to QQuickItem::geometryChanged() rename in Qt6 3 years ago
Volker Krause fe56f36dd0 Port to QRecursiveMutex
Recursive and non-recursive mutexes are distinct types in Qt6.
3 years ago
Volker Krause ce22e95d89 Adapt to QtConcurrent API changes in Qt6 3 years ago
Volker Krause 0143b63527 Use version-less Qt macros, targets and variables
Prepares for building against Qt6.
3 years ago
Michail Vourlakos a1fec92ef2 [blur] use blurRegion to identify if a decoration supports blur
Having blurRegion to identify if a decoration supports blur or not instead of the metadata-json way has the following benefits:

- decorations can now provide both blur or not based on user preference
- theme engines such as Aurorae do not have to enforce blur or not to their themes and they can support blur enabled and disabled themes at the same time if they want to
- blurRegion is empty by default so the Korners bug will be fixed for all solid aurorae themes. Breeze and Oxygen have set **blur:false** so nothing changes for them.
- all aurorae themes that do not require blur will free up system resources by default
3 years ago
Arjen Hiemstra bd920fb28c effects: Guard against InputMethod being nullptr or not enabled
Apparently InputMethod can be nullptr, in which case we end up
dereferencing nullptr when we try to get the input panel.
3 years ago
Nate Graham 44184f4700 effects/overview: add subtle outline around non-active desktops
Otherwise they have no border and look kind of cut off.

BUG: 450739
FIXED-IN: 5.25
3 years ago
Volker Krause cd74345652 Adapt to QQmlListProperty API changes in Qt6 3 years ago
Arjen Hiemstra 9253c06105 Disable animations for Maliit when launching it as input method
Maliit does client side animation by default but can be told to disable
them using an environment variable. Since we now want to do this
animation in KWin, always disable the client side animations in Maliit.

It feels slightly weird to unconditionally add a Maliit-specific
variable, but at the same time all other solutions are more error prone
and would likely need more code.
3 years ago
Arjen Hiemstra 844c451156 slidingpopups: Support animating show/hide of input method panel
This adds support for animating showing/hiding of the input method panel
to the sliding popup effect, if the input panel is of type "Toplevel".

This is mainly intended to animate showing the virtual keyboard and has
been primarily tested with Maliit. It replaces the client-side animation
that Maliit would do, instead doing the animation on the KWin side which
provides a significantly smoother experience.
3 years ago
Volker Krause 13f28d7d6d Port away from QList::toSet
That's gone in Qt6, replaced by range constructors.
3 years ago
Volker Krause 205fd169e5 Port from KNS3::Button to KNSWidgets::Button
The former isn't available in KF6 anymore.
3 years ago
Alex Richardson 1980dd0eb8 Use a python script to strip effect metadata
This makes it easier to cross-compile KWin since it is no longer necessary
to have all the KWin dependencies on the host machine. This could be
partially addressed by moving the strip-effects-metadata.cpp into a
separate folder than can be built as a top-level project, thereby reducing
the dependencies to just QtCore. However, it still means we have to build
a native binary. Since all this script is doing is removing some JSON keys,
we could also use a python script and avoid the need to compile a
build-time helper program.
3 years ago
Aleix Pol e043f2262f inputmethod: Fix the test
We should account for keyboards that are not full screen (unlike
maliit). It shouldn't make a difference for maliit.
3 years ago
Aleix Pol badf492941 drm: Properly specify the yInversion of the shadow buffer
Otherwise when we render it, we do so upside down and screen sharing
looks broken.
This only happens when the shadow buffer is in use, so it's not all that
common.
3 years ago
Jan Blackquill eb933bfe0b effects/desktopgrid: don't forget to schedule repaints when timeline is running
BUG: 444678
FIXED-IN: 5.24.4
3 years ago
Jan Blackquill 5ffc307ca8 effects/desktopgrid: register down gesture
Now you can close the desktop grid with the inverse
of the gesture you used to open it.

BUG: 444694
FIXED-IN: 5.24.4
3 years ago
Aleix Pol 1b7173e927 inputmethod: Do not reset when hiding
This will make maliit think there is an ongoing matters and make it pop
up again.
3 years ago
Aleix Pol c6737b1ae0 inputmethod: Listen to text-input enablement changes when starting disabled
We will need to know about it eventually if the user enables the input
method.
It's guarded with an if so it's no-op.
3 years ago
Laurent Montel 854aab798d Fix signature method in qt6 3 years ago
Laurent Montel 5bb8be96ee Add missing override keyword 3 years ago