Commit graph

1481 commits

Author SHA1 Message Date
Nicolas Werner
15322555e8
Limit forward completer height
Fixes #2009
2026-02-23 20:43:24 +01:00
Nicolas Werner
58e23302d0
Register permissions as a qml type 2026-02-21 01:46:49 +01:00
Nicolas Werner
51da48c706
Fix reply popup rendering on newer qt 2026-02-21 00:43:33 +01:00
Nicolas Werner
e3bc058845
Refactor v12 support to use new user_level helper from mtxclient 2026-02-20 01:32:37 +01:00
Nicolas Werner
3184ab464c
Merge remote-tracking branch 'nep/v12' 2026-02-19 01:21:55 +01:00
Nicolas Werner
ee62c9990d
Fix mark event as read command 2026-02-17 01:18:21 +01:00
Nicolas Werner
89e06f32dd
Allow hiding ACL events
fixes #2006
2026-02-11 23:01:01 +01:00
Shane Jaroch
3a707a5ee5
Merge pull request #1988 from gamesguru/fix/settings-comboBox-no-autocapture-scroll
prevent comboBox & spinner from capturing mouse scroll unless active
2026-02-08 19:31:13 +01:00
Matti Viljanen
451e88fe72 Add a setting to send messages with Enter, Shift+Enter or Ctrl+Enter
Previously the option was just `invertEnterKey` boolean, which didn't
allow any flexibility, so I replaced it with a three-choice option:
Enter, Shift+Enter and Ctrl+Enter being the send message choices.
Add newline combos are Shift+Enter, Enter and Shift+Enter respectively.

I ended up fixing the emoji/mention pop-up behavior as a side product.
If any of the three combos are pressed, the pop-up is handled and
the event is accepted. This makes it impossible to accidentally send the
message if a pop-up is open.

If an Enter combo didn't match, it's passed to the next event handler.

The old `invertEnterKey` is migrated to the new `sendMessageKey`,
so this change doesn't change the existing preference.
2025-09-28 10:05:00 +03:00
Sofia/Nep
4a85031516
Improved v12 support 2025-09-22 14:04:35 -03:00
Nicolas Werner
2769642d3c
Fix most reply rendering issues with qt 6.9.2 2025-09-14 23:43:20 +02:00
Nicolas Werner
53cd31d181
Allow filtering the timeline for notifications 2025-09-13 01:01:43 +02:00
Integral
f1d88ea0a3
Fix binding loop warnings in UserSettingsPage 2025-08-20 22:55:33 +08:00
Nicolas Werner
f59f77a21e
Fix sending encrypted messages in encrypted rooms when messages are disallowed
Fixes #1933
2025-08-16 11:29:26 +02:00
Nicolas Werner
344c444ad9
Fix html reactions 2025-08-10 14:36:32 +02:00
Nicolas Werner
1e2dce4678
Fix completer switching between rooms with html in their roomid 2025-08-10 14:36:32 +02:00
Nicolas Werner
f25c68d439
Fix some html escaping in room settings 2025-08-10 14:36:32 +02:00
Nicolas Werner
3b41d20506
Show encoded url in tooltips 2025-08-10 14:36:25 +02:00
Nicolas Werner
83223621fd
Give up on putting the seconds icon after the room name 2025-06-21 00:21:07 +02:00
DeepBlueV7.X
d214763f21
Merge pull request #1906 from scvalex/later-bubble
Add "N hours later" bubble in conversation when there is a +1 hour gap
2025-06-20 21:02:50 +00:00
Nicolas Werner
57a15152d8
Fix user context menu 2025-05-23 10:44:51 +02:00
Alexandru Scvorțov
88a409c332 Add "N hours later" bubble in conversation when there is a +1 hour gap 2025-05-09 13:00:14 +01:00
Nicolas Werner
ad19bf3a30
Fix long room names in invites 2025-05-01 23:48:03 +02:00
Nicolas Werner
88c1234fec
Fix pinned message height 2025-04-29 21:53:21 +02:00
Nicolas Werner
6abfe8b44f
Fix room list menu not opening 2025-04-04 15:16:20 +02:00
Nicolas Werner
11d6bed825
Fix emoji font mixing in reactions 2025-04-04 15:04:25 +02:00
Nicolas Werner
56100ee8bb
Fix community menus on macos
3rd tries the charm?
2025-03-16 02:16:47 +01:00
Integral
30e5813a24
Fix row spacing in the command completer
Currently no row spacing exists in the command completer. Add row spacing
to make it prettier.
2025-03-14 23:54:05 +08:00
Integral
a0e00986d7 Fix number of hours in human-readable duration
The number of hours in human-readable duration is calculated wrongly.

Closes #1878.
2025-03-04 01:35:02 +08:00
DeepBlueV7.X
392953de8d
Merge pull request #1879 from Integral-Tech/fix-emoji-picker-color
Fix color of emoji picker category text in dark theme (issue #1865)
2025-03-03 17:53:05 +01:00
Integral
e9c3684145 Fix color of emoji picker category text in dark theme (issue #1865) 2025-03-04 00:48:12 +08:00
Nicolas Werner
be0a1bc39c
Fix reactions sometimes html encoding text 2025-01-18 20:07:56 +01: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
Integral
9df3bc1eb8
fix: add more options for screen sharing frame rate
Currently, the maximum frame rate of screen sharing is only 25fps.
Add more options to increase the maximum frame rate.

This PR fixes issue #1851.
2025-01-09 02:10:07 +08: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
96a07cf7d9
Fix space menu duplicate entries not getting removed 2025-01-05 01:26:19 +01:00
Nicolas Werner
ae9d8ba4ae
Try to improve the native menu situation on Qt 6.8 2024-11-17 19:42:22 +01:00
DeepBlueV7.X
50859f2535
Merge pull request #1804 from Laevos/laevos/fix-untrusted-source-message
grammar fix for untrusted source message
2024-11-17 18:27:24 +00: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
Laevos
ab64a8eaf5 update message to preserve meaning 2024-09-29 22:30:18 -07:00
DeepBlueV7.X
cc4ace3c12
Merge pull request #1795 from q234rty/remove-virtual-keyboard-check
Always allow sending messages by enter even with IMEs
2024-09-24 18:30:52 +00:00
Laevos
bb230179b4 grammar fix for untrusted source message 2024-09-17 14:58:48 -07:00
Nicolas Werner
25e552c6fa
Fix default insets on Qt6.7 in room and communities list 2024-09-09 23:30:17 +02:00
Nicolas Werner
d1eb351975
Allow loading image only after explicit interactions 2024-08-21 00:29:11 +02:00
Nicolas Werner
c1038a3e4a
Warn about room name and topic not being encrypted 2024-08-17 00:46:01 +02:00
q234rty
87cb63e1fd
Always allow sending messages by enter even with IMEs
Qt.inputMethod.visible is true in kwin_wayland when maliit is enabled and activated,
however kwin does not actually show maliit w/o touch input [1].

Moreover, having send by enter might still be desired even for virtual keyboards.

Remove the check for virtual keyboards as suggested by @deepbluev7,
people could still use Settings.invertEnterKey for newlines.

[1]: https://invent.kde.org/plasma/kwin/-/blob/v6.1.4/src/inputmethod.cpp?ref_type=tags#L185
2024-08-14 16:52:50 +08:00
Nicolas Werner
cb74fe6ede
Prefill status message dialog with current status 2024-06-14 21:26:38 +02:00