Commit graph

5847 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
DeepBlueV7.X
1a00d91316
Merge pull request #1833 from Integral-Tech/refactor-string-conversion
refactor: use fmt lib to avoid back-and-forth conversion
2024-10-30 01:10:07 +00:00
Integral
b7a5d714c6
refactor: use fmt lib to avoid back-and-forth conversion 2024-10-19 16:49:12 +08:00
DeepBlueV7.X
2f967978f2
Merge pull request #1825 from Integral-Tech/fix-tooltip
Add profile name to tooltip & fix message count
2024-10-13 22:19:09 +00:00
Integral
3b0df06629
Add profile name to tooltip & fix message count 2024-10-13 20:55:58 +08:00
Nicolas Werner
27683bedc4
Fix media deletion of animated files 2024-10-09 03:39:19 +02:00
Nicolas Werner
80a39cca17
Disable http3 support by default and warn if users enable it 2024-10-08 23:49:29 +02: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
3a3c3def7c
Bump qt version in apple silicon build 2024-10-08 22:37:00 +02:00
Nicolas Werner
da2d7861d7
Move more templates out of the cache private header 2024-10-08 20:18:47 +02:00
Nicolas Werner
db68281a28
Limit status messages to 255 bytes 2024-10-08 16:55:07 +02:00
Nicolas Werner
048af42780
Remove manual menu bar mangling on macos
This is causing probably more issues nowadays than it fixes. Qt should
be adding those menus for us now, so let's remove it and see, what
breaks!
2024-09-25 12:11:01 +02: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
DeepBlueV7.X
3ef92487fd
Merge pull request #1816 from p12tic/readme-debian-requirements
Do not fetch Qt from Debian experimental when building for Qt6
2024-09-24 18:29:45 +00:00
Povilas Kanapickas
037d7e6b35 Do not fetch Qt from Debian experimental when building for Qt6
Qt version in Debian Trixie is 6.6 as of September 2024. Therefore there
is no need to use experimental repositories.
2024-09-24 20:06:54 +03: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
1baf583f15
Remove boost references 2024-09-06 23:43:21 +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
b86221bdbe
Add fmt to dependencies in README 2024-08-06 01:05:31 +02:00
Nicolas Werner
c8c3d1c611
Suppress warning for unused previousCount on macOS 2024-08-05 20:50:26 +02:00
Nicolas Werner
2d9142d491
Bump mtxclient to fix fmt build errors 2024-08-05 20:21:17 +02:00
Nicolas Werner
0599444552
Depend on libfmt explicitly
Since otherwise the include might not be visible and we need those now.
2024-08-05 20:21:16 +02:00
Nicolas Werner
1aa15af11f
Fix license check in lint job 2024-08-05 19:21:09 +02:00
DeepBlueV7.X
50f9edfe19
Merge pull request #1774 from Integral-Tech/add-trayicon-tooltip
Add number of unread messages to tray icon toolTip
2024-08-04 11:56:55 +00:00
Integral
aac96d6f50
Use %n to make the plural forms work properly 2024-07-28 00:57:25 +08:00
DeepBlueV7.X
deba5586a3
Merge pull request #1776 from xvitaly/fmt11
Fixed build against fmt 11
2024-07-25 20:27:07 +00:00
Vitaly
8ff2824527
Fixed build against fmt 11. 2024-07-16 12:41:30 +02:00
Integral
01cc12fede
Add number of unread messages to tray icon toolIip 2024-07-07 23:28:36 +08:00
Joseph Donofry
0c222689f4
Nlohmann is in brew repos now so remove tap 2024-06-28 18:06:49 -04:00
DeepBlueV7.X
2f17cf6416
Merge pull request #1761 from Begasus/haiku
No wayland on Haiku, fixes build errors
2024-06-25 17:31:12 +00:00
Schrijvers Luc
019cb11abf No wayland on Haiku, fixes build errors 2024-06-24 20:04:43 +02:00
Nicolas Werner
5a19adee34
Pin clang-format to version 17 in CI (hopefully temporarily) 2024-06-23 23:50:38 +02:00
Nicolas Werner
24762a6326
Mention old appid in metadata 2024-06-23 12:28:43 +02:00
DeepBlueV7.X
bca7faf765
Merge pull request #1710 from TheComputerGuy96/flatpak/dep-update
Flatpak: Dependency update
2024-06-20 20:11:25 +00:00
DeepBlueV7.X
9eac31627a
Merge pull request #1734 from Integral-Tech/confirm-passwd
Add dialog for repeating password when exporting keys
2024-06-20 20:04:53 +00:00
Nicolas Werner
3357dc21a5
Skip users we don't share a room with in invite dialog
Fixes #1757
2024-06-20 21:56:12 +02:00
Nicolas Werner
311d9ad31e
Allow setting a scale factor on Windows
Fixes #1756
2024-06-20 21:40:53 +02:00
Nicolas Werner
a486d8d7fc
Fix tray icon badge count not getting updated since 838b091acd 2024-06-20 21:35:55 +02:00
Nicolas Werner
941f7f5ed5
Fix QT_CONFIG check for wayland is only available since Qt6.7 2024-06-20 20:16:33 +02:00
Nicolas Werner
2142a8dd9c
Fix compilation on systems without specific platform interfaces
fixes #1749
2024-06-20 17:07:30 +02:00
Nicolas Werner
c7483aed98
Fix crash on empty mxid in ignore commands
fixes #1753
2024-06-20 17:00:23 +02:00
Echo J
dfd4692fa5 Flatpak: Re-enable the kimageformats stuff
KImageFormats v6.0.0 is now available (which should be Qt 6-compatible)
2024-06-17 11:12:33 +03:00
Echo J
10335ac6f7 Flatpak: Update most of the dependencies 2024-06-17 10:21:50 +03:00
Integral
992468d6c1
Place repeatedPassword after first check & remove unnecessary empty check 2024-06-17 11:00:56 +08:00
DeepBlueV7.X
dbdbb5ef75
Merge pull request #1748 from flexxyfluxx/patch-1
Readme: Clarify and fill in missing information for Nix(OS) install instructions
2024-06-16 20:21:56 +00:00
DeepBlueV7.X
e4e764beed
Merge pull request #1747 from ell1e/patch-1
Fix LMDB link in the README since the previous one led to an error page
2024-06-16 20:19:11 +00:00
Nicolas Werner
cb74fe6ede
Prefill status message dialog with current status 2024-06-14 21:26:38 +02:00