Commit graph

16 commits

Author SHA1 Message Date
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
duarm
000681b25e disable swipe motions toggle 2023-12-31 16:15:38 -03:00
Nicolas Werner
904d3f257a
Fix some qml warnings 2023-10-26 02:31:31 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
ad4ea02547
Add a reduced motion option
fixes #1350
2023-02-06 13:56:23 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Malte E
5078bdd14f
drag to reply (#1018) 2022-03-27 19:23:40 +00:00
Loren Burkholder
5bed3684ec Add offline indicator (#472) 2022-02-01 23:39:22 -05:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
d36ba00ff6
Properly set position of resize handler after letting it go
fixes #817
fixes sidebar not staying small after restart
2021-12-11 20:47:41 +01:00
Nicolas Werner
868342ffc9
Allow swiping between views in single page mode
Allows access to spaces on mobile for example
2021-12-06 23:38:39 +01:00
Nicolas Werner
9fd70c34f9
Layout 1.15 -> 1.12 2021-06-13 02:48:22 +02:00
Nicolas Werner
8803908321
Try to be compatible with Qt 5.12 2021-06-13 01:51:09 +02:00
Nicolas Werner
d364c29c43
Implement switching in narrow mode 2021-06-08 22:22:33 +02:00
Nicolas Werner
686298e023
Somewhat reenable the adaptive layout 2021-06-08 22:22:29 +02:00