Commit graph

183 commits

Author SHA1 Message Date
Nicolas Werner
11d6bed825
Fix emoji font mixing in reactions 2025-04-04 15:04:25 +02:00
Nicolas Werner
101934b2ba
See if not disabling native menu items fixes them 2025-01-16 00:57:11 +01:00
Nicolas Werner
5fe8ebf335
Try to force a native menu item sync after adding the item
Hopefully this makes it visible and enabled properly.
2025-01-10 01:15:56 +01:00
Nicolas Werner
e9bbd61110
Try updating the menu after it is opened
Maybe this fixed the menus being in partial state on macos
2025-01-10 00:06:52 +01:00
Nicolas Werner
cd21ff6993
Horrific hack to hide menu entries when invisible
Workaround for https://bugreports.qt.io/browse/QTBUG-54767 or
https://bugreports.qt.io/browse/QTBUG-130996.

This is probably the worst code I have written in a while, but basically
we add a value interceptor to filter out any invisible menu entry. This
is pretty dangerous because one false step crashes the whole menu. Menu
entries are actually Cpp owned and need to be manually deleted unless
they are removed via removeItem. Care needs to be taken to not mess up
the contentData list.

I expect this to break soon.
2025-01-06 22:04:48 +01:00
Nicolas Werner
ae9d8ba4ae
Try to improve the native menu situation on Qt 6.8 2024-11-17 19:42:22 +01: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