Commit graph

1445 commits

Author SHA1 Message Date
Reilly Brogan
7603c47061
Merge c9f1a449d8 into a3219c71d7 2024-11-22 07:48:07 +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
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
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
Nicolas Werner
4723b677d5
Prevent shortcuts from inserting unprintable characters by accident 2024-06-09 15:36:09 +02:00
Nicolas Werner
80ab0394cd
Fix emojis in avatars 2024-06-06 01:34:27 +02:00
Nicolas Werner
643be19b64
fix marking messages as read by scrolling 2024-05-27 21:57:26 +02:00
checkraisefold
e7d28b96da
Windows screenshare/video call support, general call improvements (#1725)
* Initial support for d3d11 qml video item

* Windows screenshare support, D3D11

* misc fixes

* further window visibility checks

* preview updates

* fix qml preview

* fix compositor

* add libnice plugin dep

* re-run formatter

* final formatter fix [skip ci]

* fix tumbleweed build

---------

Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
2024-05-10 15:22:58 -04:00
Brayd
4522507cc8
Fix emoji verification dialogue being cut off 2024-04-19 22:54:05 +02:00
Brayd
70eabc3276
Fix room settings being cut off 2024-04-19 22:31:37 +02:00
Nicolas Werner
a5f99b50eb
Hopefully fix the jump when replying after scrolling 2024-04-05 02:52:45 +02:00
Nicolas Werner
d2009428b6
workaround broken platform dialogs on macos
See https://bugreports.qt.io/browse/QTBUG-102078
2024-03-14 01:01:12 +01:00
Nicolas Werner
f25a1b5c36
Work around the duplicate right click menus on KDE 2024-03-10 22:21:40 +01:00
Nicolas Werner
7c2a152cfb
Add support for intentional mentions
This is still a bit flaky around when to remove a mention, but it should
work in most cases. Might add a toggle in the future to disable these
though.
2024-03-08 18:45:18 +01:00
Nicolas Werner
7ec56d8df5
Fix buttons vanishing on the kde themes in the settings page 2024-03-06 21:04:32 +01:00
Nicolas Werner
c07791b0c7
Fix redaction label color 2024-03-06 20:57:11 +01:00
Nicolas Werner
8f700e1210
Remove debug label 2024-03-06 20:54:28 +01:00
Nicolas Werner
05e36dd007
Make image in overlay fit into viewer again 2024-03-06 20:52:58 +01:00
Nicolas Werner
c9bcf3a7c0
Prevent big images from becoming square in overlay 2024-03-05 21:28:48 +01:00
Nicolas Werner
02406bf999
Fix a few label colors 2024-03-05 20:37:17 +01:00
Nicolas Werner
b9ffcffe2d
Fix completer size on plasma6 2024-03-05 20:32:18 +01:00
Nicolas Werner
f178df42b0
Fix binding loop warning 2024-03-02 01:05:09 +01:00
q234rty
7b07548b77
HiDPI Fixes
Fix various downscaled icons by removing undeeded multiplications by devicePixelRatio in sourceSize.

Fix downscaled PL indicator in the timeline by using the actual size as sourceSize.

Fix various blurry icons by specifying sourceSize.
2024-02-16 16:57:31 +08:00
Nicolas Werner
86796edae8
Try to fix the blurry encryption indicator on high dpi 2024-02-15 02:58:25 +01:00
Nicolas Werner
961cb403f7
Fix some top bar sizing issues 2024-02-02 16:29:08 +01:00
Nicolas Werner
2245667f2c
Fix report message dialog 2024-01-29 01:02:55 +01:00
Nicolas Werner
51236c3260
Fix verification with multiple devices in parallel
Fixes #1125
2024-01-15 02:17:18 +01:00
Joseph Donofry
373fb49903
Fix some keyboard shortcuts on macOS that involved arrow keys 2024-01-09 20:53:22 -05:00
DeepBlueV7.X
066c9f1593
Merge pull request #1656 from Bubu/show_pw_button
Add show/hide password button on login page
2024-01-08 21:19:32 +01:00
Marcus Hoffmann
bfc05ba96e LoginPage: add button to show/hide the password 2024-01-08 20:43:49 +01:00
Nicolas Werner
fa53b5b5f3
Disable reuseItems again, since it still breaks on room switch 2024-01-08 03:47:36 +01:00
Nicolas Werner
eed23cdf11
Fix lag when media messages are shown and fix media controls 2024-01-08 01:23:55 +01:00
Nicolas Werner
87c063b112
Speedup room switching by forcing a bigger initial item size 2024-01-08 00:21:42 +01:00
DeepBlueV7.X
96c4d05730
Merge pull request #1649 from duarm/swipe-toggle
disable swipe motions toggle
2024-01-07 19:52:44 +01:00
DeepBlueV7.X
45cc7ab6f7
Merge pull request #1635 from NepNep21/ignore-command
Add /ignore, fixes #1634
2024-01-06 14:38:45 +00:00
duarm
000681b25e disable swipe motions toggle 2023-12-31 16:15:38 -03:00
Nicolas Werner
9a87a0e0c6
Fix red outline alignment in default style 2023-12-22 03:00:06 +01:00
FallenValkyrie
c254697eaa
move destroyOnClose into ImagePackSettingsDialog 2023-12-19 16:33:54 +01:00
NepNep21
bfdf87a92d
Multiple changes
More consistent language with similar description strings
Add manpage entry
Add /unignore
Add ignore & decline button in the invite page
Add invite rejection to all ignore methods
2023-12-17 20:17:43 -03:00
FallenValkyrie
c605fb6ca8
make ImagePackDialog text translatable 2023-12-16 15:48:11 +01:00