Reilly Brogan
9984aa2204
Merge c9f1a449d8
into bca05d38c4
2024-11-18 14:35:04 +01:00
Nicolas Werner
ae9d8ba4ae
Try to improve the native menu situation on Qt 6.8
2024-11-17 19:42:22 +01:00
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
5523460f4e
Fix menu positions
2024-10-08 23:35:13 +02:00
Nicolas Werner
65c6e96e24
Get rid of platform dialogs/menus now that Qt6.8 supports native menus without them
...
This will look bad on some platforms and older versions for now, but
should fix a lot of crashes and we can report the rest as bugs.
2024-10-08 23:04:41 +02:00
Nicolas Werner
643be19b64
fix marking messages as read by scrolling
2024-05-27 21:57:26 +02:00
Nicolas Werner
a5f99b50eb
Hopefully fix the jump when replying after scrolling
2024-04-05 02:52:45 +02:00
Nicolas Werner
f178df42b0
Fix binding loop warning
2024-03-02 01:05:09 +01:00
Nicolas Werner
2245667f2c
Fix report message dialog
2024-01-29 01:02:55 +01:00
Joseph Donofry
373fb49903
Fix some keyboard shortcuts on macOS that involved arrow keys
2024-01-09 20:53:22 -05:00
Nicolas Werner
fa53b5b5f3
Disable reuseItems again, since it still breaks on room switch
2024-01-08 03:47:36 +01:00
Nicolas Werner
87c063b112
Speedup room switching by forcing a bigger initial item size
2024-01-08 00:21:42 +01:00
Nicolas Werner
2b1c9af311
More qml cleanups
2023-10-26 20:52:18 +02:00
Loren Burkholder
bb971b0575
Add report message functionality
2023-10-25 22:24:40 -04:00
Nicolas Werner
e3ad60911d
Fix scroll position jumping when replying or resizing the window
2023-10-23 01:56:53 +02:00
Nicolas Werner
a7af3bb96c
Restore reply context menu
2023-10-10 00:01:02 +02:00
Nicolas Werner
a86e364d1a
Basic bubble style
2023-10-09 21:28:39 +02:00
Nicolas Werner
15b5712f9a
Start working on bubble delegate
2023-10-09 03:49:45 +02:00
Nicolas Werner
6c6370c83f
Switch to manual polishing of event delegates
2023-10-08 20:14:13 +02:00
Nicolas Werner
205a42dade
Reimplement mention highlight and scroll to highlight
2023-09-20 02:38:06 +02:00
Nicolas Werner
184806bf71
Move message styles to their own files and work around hover not propagating to siblings
2023-09-20 02:17:20 +02:00
Nicolas Werner
43c8e64ed3
Fix alignment of file messages and redactions
2023-09-17 23:11:24 +02:00
Nicolas Werner
e96b552959
Fix power level indicator size
2023-09-12 00:43:07 +02:00
Nicolas Werner
0a3aeb0a1a
Fix timeline menus
2023-09-08 01:41:57 +02:00
Nicolas Werner
1744f38e0f
Reenable status part of timeline messages
2023-08-28 02:15:20 +02:00
Nicolas Werner
b187440e68
Reimplement reply delegate by moving out the timeline event without layout
2023-08-25 20:43:04 +02:00
Nicolas Werner
aef0cb9884
Show reactions again
2023-08-25 19:03:16 +02:00
Nicolas Werner
2360dfd80a
Remaining events apart from verification
2023-08-25 19:03:16 +02:00
Nicolas Werner
718a58d388
Get rid of redundant constructions and make room implicit
2023-08-25 19:03:15 +02:00
Nicolas Werner
466d3cd52c
Port redacted messages
2023-08-25 19:03:15 +02:00
Nicolas Werner
eab8731f5b
Port state events and images
2023-08-25 19:03:15 +02:00
Nicolas Werner
76b40f452b
Working text messages in delegate rework
2023-08-25 19:03:14 +02:00
Nicolas Werner
4d8b8c3b81
Create an EventDelegateChooser
2023-08-25 19:03:10 +02:00
Nicolas Werner
a6b732caf0
Swap PL indicator location
2023-08-10 10:15:12 +02:00
Loren Burkholder
1c867dbbc2
Show an indicator in the timeline for mods and admins
2023-07-23 20:18:30 -04:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration
2023-06-19 01:38:40 +02:00
Nicolas Werner
07731f0a2b
Fix theme in cross-signing setup
2023-06-08 22:32:14 +02:00
Nicolas Werner
04cbbd2837
Replace some binding loops with others
2023-06-08 22:32:14 +02:00
Nicolas Werner
b1c2b384c6
Fix username label eliding loop
2023-06-08 22:32:10 +02:00
Nicolas Werner
8e61596d15
Fix message height
2023-06-08 22:32:09 +02:00
Nicolas Werner
5aee8d609a
Format qml
2023-06-08 22:32:08 +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
1994ea634e
Show custom reactions in reaction history
...
fixes #1467
2023-05-31 03:59:07 +02:00
Nicolas Werner
a1fed44b50
Add goto button to hover menu when searching
...
fixes #1457
2023-05-30 14:21:44 +02:00
Sateallia
198e1fc6b9
Right click option to go to event while searching
2023-05-30 13:57:34 +02:00
Nicolas Werner
dd74bdc697
Get rid of old emoji picker
2023-05-25 19:20:25 +02:00
Nicolas Werner
ef31f67c32
Delay some delegate removals to reduce CPU spent on recalculating sizes
2023-03-25 23:42:01 +01:00
tastytea
a4d8df7bd0
make scroll-down button (toEndButton) focus message input
2023-03-12 22:46:23 +01:00
Loren Burkholder
9429e3c000
Scroll farther on PgUp/PgDn
2023-03-02 13:35:14 -05:00