1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-24 09:25:33 +02:00
Commit graph

1336 commits

Author SHA1 Message Date
Sébastien Blin
72d794d56b icons: use new fullscreen icons
Change-Id: Iac105da82fa010fbf19775bebee23b04480ba47f
GitLab: #546
2022-02-01 10:00:06 -05:00
kkostiuk
52c2c6ae69 UI: adjust the font size for macOS
Gitlab: #578
Change-Id: Iac2d6878600f56fda0b671a5f6317b3dd56065aa
2022-02-01 09:59:48 -05:00
Sébastien Blin
68a5837a65 settings: add a settings to change the language of the app
Move installTranslator into the settings manager and add a settings
in the SystemSettings to be able to dynamically change the language
of jami-qt.

https://git.jami.net/savoirfairelinux/jami-project/-/issues/1342

Change-Id: I4f720fa50d5e313356dbdf1b8acb4e98d74401e4
2022-02-01 09:22:24 -05:00
Jenkins
4f6d70d617 i18n: automatic bump
Change-Id: I65d2a3f3216421e7da780465d5f36232fad1aaad
2022-01-31 16:42:51 -05:00
Sébastien Blin
5045667528 datatransferimage: improve memory usage
+ Reduce listview caching' size by 50%
+ use sourceSize to compress images and speedup loading
+ use autoTransform: true to rotate images when needed

Change-Id: Idf1babdc73f43aa6a79b89428c25c5d06856c0ef
GitLab: #649
2022-01-28 18:58:03 -05:00
Andreas Traczyk
0477376a0c mainapplication: only initialize members for primary instances
The running instance may be ephemeral and end up discarded after being
checked by InstanceManager. In this case, we shouldn't initialize large
components.

Gitlab: #654
Change-Id: I30c7dcdba6a56ab3a1a84a9efd3424e266b6f6ce
2022-01-28 18:58:03 -05:00
Sébastien Blin
b2de6b7252 JamiStrings: homogeneize fullscreen infos
Change-Id: I7b952fdb2cc0a35f089e75a24b11582c45b135f3
2022-01-28 18:58:03 -05:00
Sébastien Blin
8cd2a4753a Revert "conversationsadapter: select first conversation"
This reverts commit 0c1b1cd426.

Reason for revert: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/658#note_33744

Change-Id: I5bdacea0bd414fe270697566d08db20f279e9349
2022-01-26 19:55:10 -05:00
Andreas Traczyk
045b93c1e4 chatview: remove an unused and inexistant file reference
Change-Id: I00e3d5a29854ef52b6d5e7275ada40e99e496a1e
2022-01-25 13:37:23 -05:00
Andreas Traczyk
9aad97763c chatview: base previewengine on QWebEnginePage not QWebEngineView
Qt6 allows us to set the RHI backend, however QQuickWidget is only
supported when using OpenGL. QWebEngineView instantiation uses
QQuickWidget and isn't required as we wish to use the previewengine
in a headless mode. So it can just be based on QWebEnginePage.

Change-Id: If05ca5c89272704b54c29318803c8773984b087c
2022-01-25 13:13:45 -05:00
Jenkins
1a2189289a i18n: automatic bump
Change-Id: Icb9eb9dba00f57afb32f7f38c5c135427d783d1c
2022-01-24 16:42:56 -05:00
Sébastien Blin
0937f083e8 textmessagedelegate: add context menu support for selectedText
GitLab: #601
Change-Id: Ic1ed7d2b724a04281973e974a787a680fbd26387
2022-01-24 15:07:43 -05:00
Andreas Traczyk
28f922677b chatview: disable webengineview context menu for media msgs
Gitlab: #653
Change-Id: I79130e60c7f6632736b6d41773cde7a33eaa1107
2022-01-24 13:05:06 -05:00
Sébastien Blin
a2a263c6c1 settings: add settings to change the position of the chatview in calls
GitLab: #160
GitLab: #571
Change-Id: Ifc1a4183c614f4754df5b617067a433d1227dcdf
2022-01-21 16:55:57 -05:00
Andreas Traczyk
70a6972b7e mainwindow: save/restore window geometry
Save virtual desktop geometry and window visibility state settings
and set them for the application window when loading.

Gitlab: #604
Change-Id: I053716d9c7b5d23e1bd7f33a1c41aedefb6cf9c8
2022-01-21 14:23:25 -05:00
Sébastien Blin
0c1b1cd426 conversationsadapter: select first conversation
It's more useful than the welcome view

GitLab: #645
Change-Id: Icf79aaff5c2cd1d9faf8481ba20f68e7b095d8c1
2022-01-21 13:44:21 -05:00
Sébastien Blin
93da093ba6 callactionbar: add fullscreen button
Also fix a typo causing the icon in the context menu to not update

Change-Id: I8886b45afcc55a3c724494afa10fc125d218d14e
2022-01-21 13:34:49 -05:00
Sébastien Blin
f15233b31f draft: Implement new design for the draft indicator
GitLab: #427
Change-Id: I73818240946ab7c42eb238c50ca0f38061ff13d9
2022-01-21 13:32:17 -05:00
Sébastien Blin
29c758a141 qtwebengine: remove no-sandbox flag
In 64720224eb, a no-sandbox flag was
added because QtWebEngine can't load fonts on recent glibc. Source:
https://bugreports.qt.io/browse/QTBUG-92969
https://bugs.chromium.org/p/chromium/issues/detail?id=1164975

Now, we use Qt 6.2, so this flag should not be necessary.
So, we can finally close #442 without any dirty workaround.

GitLab: #442
Change-Id: I52835e40d37d2397a891415fd2b1dd8dd4048b8b
2022-01-21 13:31:39 -05:00
Maxim Cournoyer
16424e530a src/jami: Simplify launcher.
Remove legacy cruft and streamline logic.

Change-Id: Ia9d0ef9a621e01aac17facb3e94efb11cdb38b0d
2022-01-21 09:23:03 -05:00
Sébastien Blin
1daeb26300 UserProfile: clean code for showing username
The comment was incorrect (it check the fingerprint, not the alias)
and the condition was duplicated

Change-Id: I2b3a21de64797dc90abaaa452645d7b0e6183ac1
2022-01-19 16:51:07 -05:00
Amin Bandali
a2a6e761a6 misc: unset QT_STYLE_OVERRIDE
* src/main.cpp (main): unset QT_STYLE_OVERRIDE.  Some distros, like
Zorin OS, set QT_STYLE_OVERRIDE to force a particular Qt style.
This has been fine with Qt5 even when using our own Qt package
which may not have that style/theme available.  However, with Qt6,
attempting to override to a nonexistent style seems to result in the
main window simply not showing.  So here we unset this variable, also
because jami-qt currently has the Material style hard-coded anyway.
https://bugreports.qt.io/browse/QTBUG-99889

Change-Id: Ic261b46baf79cf36491578ff969b398b95363c94
2022-01-18 11:42:29 -05:00
Jenkins
55f682af91 i18n: automatic bump
Change-Id: Ifabe388e6aa8140ad4e7b0e4bb2fbcd1f0a1bfe4
2022-01-17 11:30:51 -05:00
Sébastien Blin
e754bdd5f9 LinkDeviceDialog: fix label
Change-Id: I0b847303199c295d98d3b2bc687452012486110a
2022-01-11 11:55:29 -05:00
Sébastien Blin
5866504b7c CallButtonDelegate: do not show tooltip on button
This prevents clicks
Also, add Accessible element

GitLab: #601
Change-Id: Ic08d35d6e27bbdf0ec3b3eccdb5a07b5f105a777
2022-01-11 11:55:10 -05:00
Andreas Traczyk
b0fd803245 mainapplication: isolate window mode logic in a top-level component
Logic for fullscreen/windowed mode switching is scattered within
the main ApplicationWindow and other components. Ideally,
components that need to transition to fullscreen, can make a dumb
request to module in charge of making the necessary checks and
carrying out the mode change.

This patch introduces the LayoutManager used to isolate this logic.

Change-Id: I0e5b932617d2b88eda1533f25a5d55fc1c66c438
2022-01-11 09:49:01 -05:00
Sébastien Blin
0a7a6643aa mainapplication: fix fullscreen management
Remove all references to appWindow.isFullScreen and uses visibility
Store latest state to keep previous states when passing the call
in fullscreen or a media player. Fix also fullscreen's transition
on media messages

Change-Id: I1b141fc052aa607561275faf231504f48b3c49b8
2022-01-10 15:08:45 -05:00
Amin Bandali
db0fd56763 misc: update (and fix) copyright years to 2022
Change-Id: I8eb66c1c3cddb3bf73b6784a9876dd9dc9c12481
2022-01-06 11:24:13 -05:00
agsantos
fcd8a907e4 conf: fix participant menu focus
Superposing a MouseArea and a hover in a child
component may cause focus problems.
This replaces MouseArea for a HoverHandler
in the participant moderator menu.

Change-Id: Ic4eb763c79f04198d3a2a2f24636fb2a09dca172
GitLab: #601
2022-01-05 08:43:13 -05:00
Sébastien Blin
b3dcabb9ea utils: remove dead code
Change-Id: Ifa610f3a110c050e22b6a83c79c0a94644ee82e1
2022-01-04 09:55:38 -05:00
Sébastien Blin
cab0ccc792 mainapplication: fix --minimized option
remove useless isFullscreen (visibility already stores this and
it's not possible to go from fullscreen to minimized anyway).
Also --minimized was ignored

GitLab: #413
Change-Id: I610f17ce7ae5b2852aae5b40dc504174fa657c2d
2022-01-04 09:50:47 -05:00
Jenkins
6a7a8d0bc5 i18n: automatic bump
Change-Id: I36fb96db8e1404aa6963c6af3ae62c8945653e69
2022-01-03 16:42:52 -05:00
Sébastien Blin
519c750a95 logsview: fix logs color in dark mode
The textarea is still white in dark mode, so the text must be black

Change-Id: I6d475cfb920fcd9f3b51e6df01eba4d30a0bc675
2021-12-30 16:15:32 -05:00
Sébastien Blin
0adc815a38 profiles: do not cache avatars in LRC
This reduces memory usage.

Change-Id: Iddb54a844ffacfc96b7758b2a9317e68e04750c4
2021-12-30 15:50:43 -05:00
Jenkins
af0ae35680 i18n: automatic bump
Change-Id: I9772cae5d957298b23ed49bad9edee695c2ba373
2021-12-27 16:42:57 -05:00
Sébastien Blin
83f6857332 mainapplication: fix destruction ordering
Every models (like UtilsAdapter for example) owns a pointer of
LRCInstance. So, when the MainApplication is destroyed, the QmlEngine
and all structures owning a pointer of LRCInstance MUST be destroyed
before LRCInstance to avoid any segfault

GitLab: #631
Change-Id: Id30aaca325fe7172188bba468acd73525e62a34a
2021-12-23 15:18:09 -05:00
Andreas Traczyk
84a60d39df misc: use Qt 6.2.1 as default version in windows build script
Change-Id: I5dc3eaa0afc4c1e01029ec66035201565f0829c3
2021-12-23 14:58:13 -05:00
Sébastien Blin
97355ee5af doc: update INSTALL.md for Qt 6 and fix CI
Change-Id: I41cb36b931a648bc2f3191ba183bcc77e9c0b787
2021-12-23 11:15:39 -05:00
Andreas Traczyk
9ada53ace9 window: set graphics backend to vulkan for Windows
Qt on Windows defaults to Direct3D rendering backend which causes
flickering and visualy glitchy resizing.

Gitlab: #601
Change-Id: I175d6131aca234f557234a23984e46f94c7d5417
2021-12-22 14:06:14 -05:00
Sébastien Blin
784e08a169 mainapplication: do not show log from daemon by default
logs from the daemon should not be shown by default, but only in
debug mode, so makes --quiet usable, but only with --debug

Change-Id: Ia7da32e31e034650d184dfae06c9157e13102906
2021-12-22 14:06:14 -05:00
Sébastien Blin
1a50d1105f calloverlay: avoid multiple isRecording values
GitLab: #628
Change-Id: Ibe47bb0500324570a8da29c41ff71aaff158f23d
2021-12-22 14:06:14 -05:00
Sébastien Blin
2f1b8bc2d0 SelectScreen: use Scrollview
GitLab: #601
Change-Id: Ie8afca9f1eaacb36c73d5ac32d975ad448e23742
2021-12-22 14:06:14 -05:00
Sébastien Blin
89f3704109 pluginview: use ToggleSwitch to homogeneize style
Change-Id: I9c3a0e146173c16414e000080086c805cbbd6c95
GitLab: #601
2021-12-22 13:50:35 -05:00
Andreas Traczyk
d82e382070 build: simplify CMake and python helper script
+ Check early for Qt6 and remove module list duplication.
+ Add qrencode-win32 as a submodule. Remove unused libqrencode
  submodule(GNU/Linux and macOS use package dependencies).
+ Remove unused ReleaseCompile option.

REQUIRES adjustments to:
- https://jenkins.jami.net/view/clients/job/client-qt-msvc-tests
(JenkinsFile ??)

Gitlab: #601
Change-Id: Ied65c9aaead86009d70f68705f8592950dab2dfa
2021-12-22 13:45:07 -05:00
kkostiuk
4bce873f34 build: generate .app bundle
- prepare app for distribution
- add notarization

Change-Id: I105e084292423fdd8c6b2d56f5e62a081defde99
2021-12-22 13:18:27 -05:00
kkostiuk
be9dd0d0d8 conversation: fix long loading time for images
Change-Id: Id88cfbd571f4b504f258758bd13b4e4a91bf1b49
2021-12-22 13:05:17 -05:00
kkostiuk
168165a1bb UI: fix window resizing on macOS
Change-Id: Ib92cf40dafd02f1bdc55ba51bfce0744fe4d88fc
2021-12-22 13:04:24 -05:00
kkostiuk
a03b614e64 connectivity: implement for macOS
Change-Id: I1295a55c1c633f4e193b6097c12bdd7435dffade
2021-12-22 13:02:53 -05:00
kkostiuk
5e84c99ff1 build: add macOS
- adapt build for macOS
- fix video on macOS

Change-Id: Ie325f3cd2955248c26ca858d37fcdc0d88c2e70d
2021-12-22 12:55:51 -05:00
Ming Rui Zhang
71b98aed56 messagelistview: ui fixes
1. Add handler for DataTransferMessageDelegate MouseArea
2. Fix TextMessageDelegate crash caused by Loader
3. Fix SBSMessageBase padding when resizing
4. Use JamiListView for MessageListView
5. Fix ScrollToBottomButton DropShadow
6. Fix Typing indicator binding loop

Change-Id: I59b97f3850fceb30f72c64f6cae54889fe4a18db
2021-12-21 14:21:36 -05:00