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

775 commits

Author SHA1 Message Date
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
Ming Rui Zhang
45b86d56d9 shortcut: fix settings menu selection shortcut
Change-Id: I19cab014fc119ae0fe0b3e742d1ec59ca8dfadc3
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
da18924f90 misc: add KeyboardShortcutTable back
Change-Id: Iee0e9c955b426de4a7d757a3bc892287761265ca
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
1b259f9a2b settingsview: ui fixes
1. JamiSwitch add tooltip (wip)
2. PushButton add preferredHeight/preferredWidth (bug?)
3. UsernameLineEdit use ResponsiveImage
4. SettingsView fix settings menu
5. Move LogsView to window
6. ToggleSwitch use JamiSwitch

Change-Id: I07a455639e88550a7f0e40963550f8f842827370
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
aa04677cf3 mainview: ui fixes
1. GeneralMenuSeparator style
2. MessageBarTextArea style
3. SidePanelTabBar clickable area
4. SmartListItemDelegate CallStatus text position
5. ParticipantCallInStatus button/text size

Change-Id: I9f974783e100a2ed3bf0d30353e071230b211167
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
5b267c9a46 dialog: use popup dialogs to replace the existing Qt.labs.platform ones
Dialog in Qt.labs.platform which is used to be native in Qt 5.15
cannnot be accessed in Qt 6.2 for now, use popup dialogs instead

1. Add tittle
2. DropShadow revisit
3. Dim properly

Change-Id: I8804ae0c30e3450c9a800d9a1c3946ff0bf44b46
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
2c7a0e165b misc: component style fixes
1. JamiSwitch checked,focused color fixes
2. Avoid MaterialButton dashed line on focus
3. Placeholder text color fixes

Change-Id: I9b04f643e3553fc1f493183eb0e30646818362bd
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
3c7d03220f accountMigration: use the existing loader mechanism to avoid crash
1. Avoid direct window declaration under ApplicationWindow
2. UI refactor

Change-Id: I7991e22d3f85b1c17d85475000ab8b8c2fbc3391
2021-12-21 14:21:36 -05:00
Ming Rui Zhang
be41f0e7a6 misc: Qt 6.2.0 initial migration
Remove unsupported QtQuick One component and it will be
added back in the following patches

Change-Id: Iad206a880096cf956a4220a81dca85a993721fbd
2021-12-21 14:21:36 -05:00
Sébastien Blin
1a476218ae ongoingcallpage: fix preview drag and drop
Change-Id: I2809d6f71c2766b748c5868e1005ac3bb88149bc
2021-12-21 14:20:47 -05:00
Jenkins
f829ec0e4b i18n: automatic bump
Change-Id: I7227729ecfeee5b68e2ac24d3036b76bb84b2a77
2021-12-20 16:42:51 -05:00
Andreas Traczyk
3b97741afb videoview: don't close the device when a video call is present
Gitlab: #627
Change-Id: I5d892fc49b1605984481c810dcd43994258c845d
2021-12-20 15:31:30 -05:00