matrixion/resources/qml
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
..
components linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
delegates Allow loading image only after explicit interactions 2024-08-21 00:29:11 +02:00
device-verification Fix emoji verification dialogue being cut off 2024-04-19 22:54:05 +02:00
dialogs linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
emoji linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
pages Fix buttons vanishing on the kde themes in the settings page 2024-03-06 21:04:32 +01:00
ui Fix lag when media messages are shown and fix media controls 2024-01-08 01:23:55 +01:00
voip Windows screenshare/video call support, general call improvements (#1725) 2024-05-10 15:22:58 -04:00
Avatar.qml HiDPI Fixes 2024-02-16 16:57:31 +08:00
ChatPage.qml Format qml 2023-06-08 22:32:08 +02:00
CommunitiesList.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
Completer.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
ElidedLabel.qml Format qml 2023-06-08 22:32:08 +02:00
EncryptionIndicator.qml Upgrade trust of megolm sessions when receiving RoomKey 2023-11-19 20:11:21 +01:00
ForwardCompleter.qml Fix completer size on plasma6 2024-03-05 20:32:18 +01:00
ImageButton.qml Fix some qml warnings 2023-10-26 02:31:31 +02:00
MatrixText.qml Small qml fixes 2023-10-18 22:43:45 +02:00
MatrixTextField.qml More qml cleanups 2023-10-26 20:52:18 +02:00
MessageInput.qml Always allow sending messages by enter even with IMEs 2024-08-14 16:52:50 +08:00
MessageInputWarning.qml Add support for intentional mentions 2024-03-08 18:45:18 +01:00
MessageView.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
PrivacyScreen.qml More qml cleanups 2023-10-26 20:52:18 +02:00
QuickSwitcher.qml Fix completer size on plasma6 2024-03-05 20:32:18 +01:00
Reactions.qml Reimplement reply delegate by moving out the timeline event without layout 2023-08-25 20:43:04 +02:00
ReplyPopup.qml Fix pending reply sizing 2023-11-01 22:28:58 +01:00
RoomList.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00
Root.qml Get rid of platform dialogs/menus now that Qt6.8 supports native menus without them 2024-10-08 23:04:41 +02:00
SelfVerificationCheck.qml Enable even more qml linter warnings 2023-10-26 21:48:55 +02:00
StatusIndicator.qml Format qml 2023-06-08 22:32:08 +02:00
TimelineBubbleMessageStyle.qml fix marking messages as read by scrolling 2024-05-27 21:57:26 +02:00
TimelineDefaultMessageStyle.qml fix marking messages as read by scrolling 2024-05-27 21:57:26 +02:00
TimelineEvent.qml fix marking messages as read by scrolling 2024-05-27 21:57:26 +02:00
TimelineMetadata.qml HiDPI Fixes 2024-02-16 16:57:31 +08:00
TimelineSectionHeader.qml Hopefully fix the jump when replying after scrolling 2024-04-05 02:52:45 +02:00
TimelineView.qml Prevent shortcuts from inserting unprintable characters by accident 2024-06-09 15:36:09 +02:00
ToggleButton.qml Enable even more qml linter warnings 2023-10-26 21:48:55 +02:00
TopBar.qml Fix menu positions 2024-10-08 23:35:13 +02:00
TypingIndicator.qml Enable even more qml linter warnings 2023-10-26 21:48:55 +02:00
UploadBox.qml linux: Use kirigami mouse handling if available 2024-11-05 15:37:54 -06:00