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

1416 commits

Author SHA1 Message Date
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
Sébastien Blin
538481a9f8 smartlist: improve cache cleaning and avoid glitches
Interaction's cache is cleaned to avoid to store too much informations
and to refresh preferences for the chatview when necessary.
However, this was called too much times. We only need to clear cache
when the settings are changing or if we need to remove a lot of
conversations. This patch uses the SmartListItem to determine
what conversation needs to be cleaned.

Change-Id: I731bb9e7d41b140bbc2607800c1a8e0a1eff3244
2021-12-20 13:43:08 -05:00
Sébastien Blin
bbdd75f1e1 videosettings: refresh preview on resolution's change
Change-Id: Ibc2b183d92ab7cfa659f31a5351f91b5ed574b20
2021-12-20 09:23:32 -05:00
Sébastien Blin
c95d29e07b
accessibility: fix tooltip for push button
A blind person should be able to know if the button will show or
hide the section

Change-Id: I849e48eaa3166864493b2577c128bad6db705691
GitLab: #493
2021-12-16 15:55:14 -05:00
agsantos
819347370a
video: fix camera preview opening
- Camera preview in av settings now opens after inserting USB camera on a device with `No video device`;
 - Same for recording video message window.

Change-Id: I34ad9b6900865fdc7c4acf861527e4bf8e336123
GitLab: #610
2021-12-15 13:59:55 -05:00
Jenkins
afcee37430 i18n: automatic bump
Change-Id: I5c642d7ade15a64b2798b0d4183a68d420c9826f
2021-12-13 16:42:58 -05:00
Sébastien Blin
5e2acee040 settings: improve FolderSettings
Moreover, this is not working correctly due to
https://bugreports.qt.io/browse/QTBUG-76860
But, migration to Qt 6.2.1 is in progress (actually in review), we
can let this as it is.

Change-Id: I1143fe25161af334ab7424adcb69dfd4a17022cb
GitLab: #620
2021-12-13 15:22:14 -05:00
Sébastien Blin
9ee7c08362
videosettings: fix label's color
Change-Id: I2b0d245be5bdffc7262374187a03e2389d715113
GitLab: #608
2021-12-13 12:00:59 -05:00
Sébastien Blin
9f6f6e55ec
contactpicker: fix margin and label
Change-Id: Idcbefba3765932eb673f3416bf59fdd16e2e3c1d
GitLab: #621
2021-12-13 11:49:02 -05:00
Sébastien Blin
5cf6565df8
SelectScreen: label should always be at the same place
Change-Id: Ic3ac47d20e21c31a37fe0c69e5ad5ac9ba2f2575
GitLab: #611
2021-12-07 15:34:56 -05:00