Claudio Cambra
d25ce28a1b
Show file details within the tray dialog, rather than in a separate dialog
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-09 15:06:35 +01:00
Claudio Cambra
4a42aee17e
Remove semicolons from Q_UNUSED macros
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-09 14:36:12 +01:00
Claudio Cambra
8913f88c50
Differentiate between normal normal and Talk notifications, invoke macOS text reply notifications
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-12-09 14:36:12 +01:00
Claudio Cambra
d79312b2f7
Change liveDialog to nullDialog
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31 18:06:13 +01:00
Claudio Cambra
fb4bb95b91
Perform inactive qquickwindow garbage collection when generating new file detail dialogs, raise existing dialog instead of always deleting
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31 18:06:08 +01:00
Claudio Cambra
685a0362fc
Refactor generation of dialogs, remove need for QSharedPointer and reduce use of pointers
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31 18:06:07 +01:00
Claudio Cambra
7971789112
Add a file details window/page, QMLify file sharing
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31 18:06:03 +01:00
alex-z
7672cb7903
Improve 'Handle local file editing' feature. Add loading popup. Add force sync before opening a file.'
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-10-10 17:13:06 +03:00
Claudio Cambra
7a1dbcf2fe
Don't set up tray context menu on macOS, even if not building app bundle
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-30 21:45:30 +02:00
Claudio Cambra
5a56584fba
Deallocate call notification dialog objects when closed
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-14 12:34:47 +02:00
Claudio Cambra
b1caa45929
Fix menu bar height calculation on macOS
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-10 11:52:29 +02:00
Claudio Cambra
e79ced22ae
Clean up QML registration
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-07 17:00:44 +02:00
Claudio Cambra
fc5e9db839
Prevent crashing when trying to create error-ing QML component in systray.cpp, output error to log
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-08-17 15:31:04 +02:00
Claudio Cambra
539ba93fd1
QMLify the UserModel, use properties rather than setter methods
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-15 16:47:17 +02:00
Claudio Cambra
ce9e4a99c0
Refactor tray window opening code for clarity and efficiency
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-12 22:54:00 +02:00
Claudio Cambra
b712eb95e2
Clean up systray methods, make more QML-friendly
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-06 11:26:53 +02:00
Claudio Cambra
22464f5005
Work around issues with window positioning on Linux DEs, hardcode tray window to screen center when new account added
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-04 14:11:19 +02:00
Claudio Cambra
a504dbf965
Close call notifications when the call has been joined by the user, or the call has ended
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-01 11:39:50 +02:00
Claudio Cambra
749f5dee82
Fix the system tray menu not being correctly replaced in setupContextMenu
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-24 18:22:54 +02:00
Claudio Cambra
9dd9c46493
Do not compile things that require the app bundle when building the client without the app bundle on macOS
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-10 10:43:36 +02:00
Claudio Cambra
a2cc2ace4a
Explicitly ask user for notification authorisation on launch
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-19 10:59:12 +02:00
Claudio Cambra
364d02a13f
Actually reset menu when user accounts are added or removed
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-16 16:42:20 +02:00
Claudio Cambra
c22d5959b8
Reimplement notifications for macOS and add support for actionable update notifications
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-11 17:33:33 +02:00
Claudio Cambra
cdae0a56d5
Stop dumping cache data in home dir, cache in default cache location
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-05 14:31:31 +02:00
Claudio Cambra
3f5243aaee
Add an incoming talk call notification to the desktop client
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
Co-authored-by: Camila <hello@camila.codes>
2022-04-28 09:13:13 +02:00
Claudio Cambra
3d086ae305
Fix dark mode stuff relating to unified search, fix macOS auto dark/light theme switching not always working, fix Windows detection of dark/light theme switching
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-28 09:21:35 +00:00
Claudio Cambra
bbd988d8c5
Fixes to UI issues
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-20 16:32:43 +00:00
Claudio Cambra
c342c304ac
Added dark mode
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-18 16:43:15 +00:00
Claudio Cambra
65f2bada3e
Add thumbnails for files in the activity view
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-17 10:46:09 +00:00
Camila
2c20f81a53
Add 'Help' action back.
...
I think it was a mistake that caused this.
Signed-off-by: Camila <hello@camila.codes>
2022-03-03 11:16:09 +00:00
Claudio Cambra
f6b377ab17
Simplify currentScreen
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-02 13:37:30 +00:00
Claudio Cambra
655a2e1c39
No longer assume status bar height, calculate, fixing notch borking
...
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-02 13:22:55 +01:00
Matthieu Gallien
12c6d6e3bd
add a network access factory to qml engine
...
ensure network access made via qml are using our user agent
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-11-22 12:21:58 +00:00
Carl Schwan
38ac585e7c
Add WheelHandler to the Search result list too
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-22 11:18:18 +00:00
Carl Schwan
892d289f38
[tray] Makes scrolling with a touchpad in activiy list more natural
...
This basically use the same method that is used in Kirigami and Plasma
Components3.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-22 11:18:18 +00:00
alex-z
0b8ab5c079
Use SvgRenderer for Unified Search input icons. Refactor IconUtils. Extend unit tests.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2021-11-04 20:50:51 +00:00
Matthieu Gallien
69d6f4acec
our source code files have lower case names
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-10-25 15:38:21 +02:00
alex-z
c1dab7e4cb
Unified Search via Tray window
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2021-10-25 14:45:05 +03:00
Felix Weilbach
036db9d22d
Position main dialog on at tray icon if not a regular window
...
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-07-14 18:27:50 +02:00
Felix Weilbach
efaccbd6fd
Show main dialog as normal window if tray icons not available
...
Fixes #3307
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-07-12 14:10:26 +00:00
Kevin Ottens
5ed397a430
Have the new account wizard open again
...
UserModel can't be connected to AccountSettings if the settings dialog
doesn't exist. This is the case now since we delay the creation of that
dialog and free it after use.
Instead it should be properly channeled through the Systray object all
the way up to OwncloudGui which knows how to handle this properly.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-12-14 15:58:52 +01:00
Brian Kendall
f9991e180c
Fix macOS bug where tray window causes spaces to switch
...
Signed-off-by: Brian Kendall <brian@briankendall.net>
2020-12-02 06:54:16 +00:00
Kevin Ottens
6c463442ef
Bring back the pause/resume action in the systray menu
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-11-10 17:29:51 +00:00
Kevin Ottens
1288ee0437
Move pause/unpause helpers to Systray
...
We had signals just to call those backs in ownCloudGui, they were
otherwise unused. So let's move them inside of Systray since it's
specific to it anyway.
Also fix the dangerous call to sender(). We can call this function
without going through a signal/slot connection and also it's never
connected to an AccountState.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-11-10 17:29:51 +00:00
Sergey Zolotarev
18c1bc0bd6
Misc fixes for Windows 7
...
Signed-off-by: Sergey Zolotarev <sryze@protonmail.com>
2020-10-28 06:24:53 +00:00
Kevin Ottens
24964e2b9b
Ensure we quickly show/hide the systray window on startup
...
This is quick enough that no flickering should appear in practice.
We end up doing this because for some reason on Windows (I dug up deep
into the Windows QPA without nailing it down) not showing that systray
window at least once prevents the app object to return from exec() when
the session ends.
It's as if that window would be in some limbo state (neither opened nor
closed) which would prevent quitting. Clearly what we're doing here is a
workaround...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-22 17:31:05 +00:00
Kevin Ottens
a2e3f9d63a
Expose Theme on the QML side
...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 13:46:38 +02:00
Kevin Ottens
7ccb016397
Use QGuiApplication::primaryScreen() as fallback for Systray::currentScreen()
...
Under Wayland QCursor::pos() is unlikely to give us anything meaningful,
so fallback to the primary screen information.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-09-15 07:17:03 +00:00
Michael Schuster
bc5888e8e4
Always show Settings in the context menu (amends #2164 )
...
The context menu should allow access to the Settings even when no accounts are configured.
Users may specify proxy / startup / update and other settings at any time.
This slipped through in #2164 .
Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-08-03 10:10:05 +02:00
Stephan Beyer
cd008ffe59
Let context menu open wizard if there are no accounts
...
The context menu offers to open the main dialog and the settings
even if no accounts are configured. In this case, the main dialog
is useless and the settings are probably confusing. Hence, this
commit replaces these actions in the context menu by an action
to open the wizard (which also opens on left click, so this is
the most natural thing to do).
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-07-23 21:08:53 +02:00