Commit graph

71 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
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
ca0340dd81
Fix communites sidebar color 2023-06-08 22:32:14 +02:00
Nicolas Werner
c25d0c6b2f
Get rid of scrollhelper 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
e85a1d4aeb
First runnable qt6 Nheko 2023-06-08 22:32:07 +02:00
Nicolas Werner
631a5a11b3
Fix emoji unicodename in tooltip 2023-05-25 23:26:39 +02:00
Nicolas Werner
dd74bdc697
Get rid of old emoji picker 2023-05-25 19:20:25 +02:00
Nicolas Werner
f01940f57c
Make emoji picker use the grid view 2023-05-25 19:07:13 +02:00
Nicolas Werner
ccf6a3a669
Allow editing stickers from stickerpicker 2023-05-20 00:57:52 +02:00
Nicolas Werner
62844facf7
Allow scrolling to specific sections and order packs in sticker search by match quality 2023-05-20 00:57:52 +02:00
Nicolas Werner
58cfc39ac4
Fix StickerPicker padding and names of unnamed packs 2023-05-20 00:57:52 +02:00
Nicolas Werner
0dfdba4316
Add rows to stickerpicker 2023-05-20 00:57:47 +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
0c6a2fb706
Fix white bar above sticker picker 2023-01-12 22:06:30 +01:00
Nicolas Werner
9b8eb0a412
Fix white bar above emoji picker 2023-01-12 20:13:08 +01:00
Nicolas Werner
2345faf630
Try to fix binding loop in emoji picker 2023-01-12 07:34:17 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
q234rty
fd87dc615c
Fix emoji picker 2022-06-30 11:39:19 +08:00
BulbyVR
64882fd6de Unhardcode qml 2022-04-24 12:25:01 -04:00
BulbyVR
1eeee5f367 Curse you hardcoded qml! 2022-04-24 12:25:01 -04:00
Nicolas Werner
7a11b69f99
Fix images being cropped instead of scaled 2022-03-09 20:15:37 +01:00
tastytea
eb13bed201
Clear search text in StickerPicker when the popup closes
Same as emoji picker.
2022-02-02 18:00:50 +01:00
Joseph Donofry
42ae8fa9f2 Use ScrollHelper on EmojiPicker 2022-01-26 19:14:18 -05:00
Nicolas Werner
ccc221c341
Make some icons smoother 2022-01-02 22:14:31 +01:00
Nicolas Werner
7685d1808b
Strip variant selector in some cases
fixes #439
Workaround for https://bugreports.qt.io/browse/QTBUG-97401
fixes #810
2022-01-01 07:10:12 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
a0699f5247
Multiply source size by scale factor
Might be unnecessary, but docs are unclear on that.
2021-12-13 19:09:03 +01:00
Loren Burkholder
f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Thomas Karpiniec
8ee043f042 Clear emoji search field when picker closed 2021-08-19 23:40:56 +10:00
Nicolas Werner
88ed0fade7
Explicitly reload data in delegates, if related events got loaded 2021-07-20 14:09:19 +02:00
Nicolas Werner
752ffa5c51
Model alias is still needed 2021-07-19 17:49:57 +02:00
Nicolas Werner
11c9666408
Cache sticker picker 2021-07-19 17:45:55 +02:00
Nicolas Werner
60be0e8c09
Make scrolling sticker picker bearable 2021-07-19 14:57:10 +02:00
Nicolas Werner
9d5ba4f681
Move sticker parsing and enable room stickers 2021-07-19 03:02:30 +02:00
Nicolas Werner
8a1666bc88
Basic sticker support 2021-07-19 01:28:07 +02:00
Nicolas Werner
b453b65787
Try to make scrolling emoji picker a bit smoother 2021-07-15 17:56:32 +02:00
Nicolas Werner
f6f5d2615a
Make emoji picker follow theme 2021-07-03 22:45:36 +02:00
Nicolas Werner
298822baea
Move currentRoom/timeline handling to roomlist 2021-05-28 22:14:59 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml 2021-05-13 08:23:56 +02:00
Nicolas Werner
c2e625756c
Use one CompletionProxy for everything including EmojiPicker 2021-04-18 21:53:39 +02:00
Joseph Donofry
3a0ad55ecc
Fix emoji picker getting cut off 2021-04-13 17:58:21 -04:00
Nicolas Werner
18e96d5c7d
Fix some TapHandler focus issues 2021-04-11 22:24:50 +02:00
Nicolas Werner
0d4ddadb15
Fix emoji picker appearing in wrong locations 2021-03-23 18:05:43 +01:00
Nicolas Werner
c03f716e8b
Fix conflict between qmlformat and license check 2021-03-07 05:57:56 +01:00
Nicolas Werner
bb6ff8cec8
Show mxid on hovering username
fixes #507
2021-03-07 05:53:54 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
a62276c289 Fix UI allowing edits of foreign messages in some cases 2021-02-10 14:32:16 +01:00
Jedi18
4aefac08a4 focus message input on adding emoji/reacting to a message 2021-02-05 22:42:08 +05:30
Loren Burkholder
bc7cf9ef39 Get category switching working 2021-01-25 21:40:27 -05:00