matrixion/resources/qml/components
Reilly Brogan c9f1a449d8
linux: Use kirigami mouse handling if available
Qt6 changed the mouse scroll wheel handling for QtQuick to a type that mimics how touch pads/screens work, which most people find feels very poor. KDE fixes this by creating a custom type which re-implements the QtWidgets handling (see https://invent.kde.org/frameworks/kirigami/-/merge_requests/415).

On Matrix Nico has expressed a desire not to have to deal with compiling Kirigami for Windows and Mac, which is understandable. Linux users on the other hand almost always have kirigami available in their package repos which sidesteps that particular issue. We can search for Kirigami at build time and if present define a QML context property to allow it to be used, which should fix this issue for Linux users at least.

Helps with nheko-reborn/nheko#1819 (which won't be completely resolved until this is working for Windows and Mac as well).

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2024-11-05 15:37:54 -06:00
..
AdaptiveLayout.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
AdaptiveLayoutElement.qml Fix some qml warnings 2023-10-26 02:31:31 +02:00
AvatarListTile.qml Fix some qml warnings 2023-10-26 02:31:31 +02:00
FlatButton.qml Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
KirigamiWheelHandler.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
MainWindowDialog.qml Fix some qml warnings 2023-10-26 02:31:31 +02:00
NhekoTabButton.qml Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
NotificationBubble.qml Fix binding loop in roomlist 2023-06-09 20:14:41 +02:00
PowerlevelIndicator.qml Fix powerlevel indicator size in the timeline 2023-10-02 10:41:38 -04:00
ReorderableListview.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
SpaceMenuLevel.qml Fix menu positions 2024-10-08 23:35:13 +02:00
TextButton.qml Move to automatic type registration 2023-06-19 01:38:40 +02:00
UserListRow.qml Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00