nextcloud-desktop/src/gui
Kevin Ottens 6b8d2270c6 Make sure the tray icon point is in screen coordinates
Previously we were using QCursor::pos() in the Linux case, which is a
fair heuristic except it will always be relative to the primary screen
and not the current screen. This explains why we had to adjust with the
virtual geometry.

In the Windows and Mac case we got the position out of QSystemTrayIcon
and that one was already relative to the current screen.

So now we use QCursor::pos(currentScreen()) which ensures we give the
coordinates relatively to the current screen also in the Linux case.

Since all platforms are now having that point in the same coordinate
system we don't need to mess around with the virtual geometry to
compensate.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-07-15 12:22:54 +02:00
..
cloudproviders Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
creds Cleanup auto pointers and qobject casts, refactor KeychainChunk 2020-07-06 21:51:40 +02:00
tray Set maximum height of account and app menu 2020-07-07 17:35:09 +02:00
updater Add missing auto opportunities 2020-06-03 16:02:43 +02:00
wizard Make sure all our logging categories start with nextcloud. 2020-07-01 15:39:52 +02:00
accountmanager.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
accountmanager.h Minor preps for c++ ActivityListModel impl. in QML 2019-12-04 13:10:28 +01:00
accountsettings.cpp Don't display quota information when the user has no quota. 2020-07-02 20:06:12 +02:00
accountsettings.h Don't display quota information when the user has no quota. 2020-07-02 20:06:12 +02:00
accountsettings.ui Triple dot to ellipsis 2020-02-05 06:52:17 +01:00
accountstate.cpp Use = default for trivial ctors and dtors 2020-05-25 21:33:24 +02:00
accountstate.h AccountState: Add helper to find navigation App 2020-01-17 20:21:42 +01:00
addcertificatedialog.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
addcertificatedialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
addcertificatedialog.ui l10n: Removed blank before colon 2020-02-24 11:10:05 +01:00
application.cpp Allow to control logFlush from the config file 2020-07-01 16:10:56 +02:00
application.h Bring forward the main systray dialog on second execution 2020-06-17 16:01:49 +00:00
authenticationdialog.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
authenticationdialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
CMakeLists.txt Move KeychainChunk class from gui to libsync 2020-07-06 21:51:39 +02:00
cocoainitializer_mac.mm License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
cocoainitializer.h Apply clang-format 2017-05-17 12:26:27 +02:00
connectionvalidator.cpp Fix libsync exports for proxy changes in #1886 2020-06-18 21:05:11 +02:00
connectionvalidator.h Add UserInfo class and fetch quota via API instead of PropfindJob 2020-02-14 02:10:01 +01:00
elidedlabel.cpp Remove redundant initialization of ElidedLabel::_elideMode 2020-07-08 14:08:41 +02:00
elidedlabel.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
folder.cpp fixed bad spelling of word 'retreive' except in sqlite dependancy 2020-07-06 09:46:14 +02:00
folder.h fixed bad spelling of word 'retreive' except in sqlite dependancy 2020-07-06 09:46:14 +02:00
folderman.cpp Fix typo, use compound assignment op 2020-07-13 17:47:19 +02:00
folderman.h Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
folderstatusdelegate.cpp Use more auto in folderstatusdelegate.cpp 2020-07-08 14:08:41 +02:00
folderstatusdelegate.h Make AccountSettings and ActivitySettings background-aware (Dark-/Light-Mode switching) 2019-12-19 22:07:30 +01:00
folderstatusmodel.cpp Properly display encryption status for non root folder connection 2020-07-01 16:58:29 +00:00
folderstatusmodel.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
folderstatusview.cpp Use the return braced init list pattern 2020-05-27 14:36:07 +02:00
folderstatusview.h Make the "Add Folder Sync Connection" button act like a button 2018-10-31 20:05:14 +01:00
folderwatcher_linux.cpp Simplify nullptr comparisons where appropriate 2020-06-11 00:27:30 +02:00
folderwatcher_linux.h Apply clang-format 2017-05-17 12:26:27 +02:00
folderwatcher_mac.cpp Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
folderwatcher_mac.h Apply clang-format 2017-05-17 12:26:27 +02:00
folderwatcher_win.cpp Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
folderwatcher_win.h FolderWatcher: reliability and data-loss signal 2017-10-24 10:00:20 +02:00
folderwatcher.cpp Use = default for trivial ctors and dtors 2020-05-25 21:33:24 +02:00
folderwatcher.h Fixed Issue #1000 - Subfolders of moved folders not synced 2019-05-09 04:12:33 -07:00
folderwizard.cpp Reduce interaction with e2ee folders when in the wizard 2020-07-01 16:58:29 +00:00
folderwizard.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
folderwizardsourcepage.ui l10n: Triple dot to ellipsis 2020-02-05 06:50:27 +01:00
folderwizardtargetpage.ui l10n: Change case of one word 2020-02-24 11:08:56 +01:00
generalsettings.cpp Use default member init when applicable 2020-06-03 16:10:39 +02:00
generalsettings.h Use default member init when applicable 2020-06-03 16:10:39 +02:00
generalsettings.ui Updater UI: Implement auto-update option and update button 2020-03-09 02:34:55 +01:00
gui.md
guiutility.cpp Prepend "nextcloud" for all logging categories 2017-12-28 17:33:10 -02:00
guiutility.h Introduce private link sharing #5023 2017-07-07 10:49:51 +02:00
headerbanner.cpp Use nullptr when appropriate 2020-05-20 02:21:26 +02:00
headerbanner.h Add new HeaderBanner class for WebFlowCredentialsDialog 2019-12-24 07:46:57 +01:00
iconjob.cpp Qt 5.5 compatibility ifdef 2020-01-19 13:16:17 +01:00
iconjob.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
ignorelisteditor.cpp Never ignore .sync-exclude, even if excludeHidden 2019-08-15 03:00:26 +01:00
ignorelisteditor.h Extract IgnoreListTableWidget to be reused 2019-08-15 03:00:26 +01:00
ignorelisteditor.ui Extract IgnoreListTableWidget to be reused 2019-08-15 03:00:26 +01:00
ignorelisttablewidget.cpp Do not declare local variables without an initial value. 2020-06-03 07:50:40 +00:00
ignorelisttablewidget.h Extract IgnoreListTableWidget to be reused 2019-08-15 03:00:26 +01:00
ignorelisttablewidget.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
legalnotice.cpp Settings dialog: Move detailed version info from About section to Legal notice dialog 2020-03-07 06:45:41 +01:00
legalnotice.h Settings dialog: Move detailed version info from About section to Legal notice dialog 2020-03-07 06:45:41 +01:00
legalnotice.ui Fix Legal notice dialog: Correct title and header font 2020-03-09 00:41:59 +01:00
lockwatcher.cpp Prepend "nextcloud" for all logging categories 2017-12-28 17:33:10 -02:00
lockwatcher.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
logbrowser.cpp Use = default for trivial ctors and dtors 2020-05-25 21:33:24 +02:00
logbrowser.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
main.cpp Bring forward the main systray dialog on second execution 2020-06-17 16:01:49 +00:00
manifest-mingw.rc Add manifest file on Windows to make the application UAC aware. 2016-11-14 12:16:58 +01:00
mnemonicdialog.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
navigationpanehelper.cpp Use raw string literals when appropriate 2020-05-26 20:13:51 +02:00
navigationpanehelper.h Windows: Add a setting to enable/disable the explorer navigation pane integration 2017-10-24 16:10:53 +02:00
networksettings.cpp Use the return braced init list pattern 2020-05-27 14:36:07 +02:00
networksettings.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
networksettings.ui l10n: Removed colon from translation 2020-02-24 11:13:34 +01:00
notificationconfirmjob.cpp Removes unused NotificationWidget class. 2018-08-13 15:17:40 +02:00
notificationconfirmjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
ocsjob.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
ocsjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
ocsnavigationappsjob.cpp Adds function to add raw header to the request. 2018-05-07 18:03:42 +02:00
ocsnavigationappsjob.h Adds function to add raw header to the request. 2018-05-07 18:03:42 +02:00
ocsshareejob.cpp Adds parameter to retrieve shares with its reshares. 2019-05-27 19:46:38 +02:00
ocsshareejob.h Apply clang-format 2017-05-17 12:26:27 +02:00
ocssharejob.cpp Display the correct default permissions when creating a share. 2020-07-08 18:15:36 +02:00
ocssharejob.h Finishing PR #1154 adding note when sharing 2019-09-18 13:37:49 +02:00
openfilemanager.cpp Use raw string literals when appropriate 2020-05-26 20:13:51 +02:00
openfilemanager.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
owncloud.exe.manifest-mingw Add manifest file on Windows to make the application UAC aware. 2016-11-14 12:16:58 +01:00
owncloudgui.cpp Fix #2085 new tray menu. 2020-07-02 19:21:10 +02:00
owncloudgui.h Bring forward the main systray dialog on second execution 2020-06-17 16:01:49 +00:00
owncloudsetupwizard.cpp Fix libsync exports for proxy changes in #1886 2020-06-18 21:05:11 +02:00
owncloudsetupwizard.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
proxyauthdialog.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
proxyauthdialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
proxyauthdialog.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
proxyauthhandler.cpp Cleanup auto pointers and qobject casts, refactor KeychainChunk 2020-07-06 21:51:40 +02:00
proxyauthhandler.h ProxyAuthHandler: Add template member function execAwait to avoid code duplication 2020-07-06 21:51:40 +02:00
remotewipe.cpp Remote Wipe: Implement hack to allow deleting all keychain entries (SSL certs & keys) 2019-12-08 02:47:22 +01:00
remotewipe.h Once client gets 401/403 from the server, check if remote wipe was requested. 2019-10-17 20:11:31 +02:00
selectivesyncdialog.cpp Reduce interaction with e2ee folders when in the wizard 2020-07-01 16:58:29 +00:00
selectivesyncdialog.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
settingsdialog.cpp Do not declare local variables without an initial value. 2020-06-03 07:50:40 +00:00
settingsdialog.h Gigantic ton of changes and deletions: ActivityListModel, tray GUI, Account logic. 2020-01-03 13:09:29 +01:00
settingsdialog.ui Gigantic ton of changes and deletions: ActivityListModel, tray GUI, Account logic. 2020-01-03 13:09:29 +01:00
settingsdialogcommon.cpp Fix typo 2019-10-01 08:25:24 +02:00
sharedialog.cpp Do not declare local variables without an initial value. 2020-06-03 07:50:40 +00:00
sharedialog.h ShareDialog: Pointer cosmetics 2020-05-29 20:57:52 +02:00
sharedialog.ui resolving conflict with current master 2019-10-29 14:07:26 +01:00
sharee.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sharee.h Allow sharing to circles 2020-03-05 10:44:06 +01:00
sharelinkwidget.cpp Fix text in the permissions menu for share link. 2020-07-09 03:21:04 +00:00
sharelinkwidget.h Code cleanup 2020-02-14 03:00:20 +01:00
sharelinkwidget.ui Cleanup/Removal/Adaption/Update to resource files and crresponding code, esp. regarding svg usage 2020-01-18 17:47:17 +01:00
sharemanager.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sharemanager.h Allow sharing to circles 2020-03-05 10:44:06 +01:00
sharepermissions.h Display the correct default permissions when creating a share. 2020-07-08 18:15:36 +02:00
shareusergroupwidget.cpp Display the correct default permissions when creating a share. 2020-07-08 18:15:36 +02:00
shareusergroupwidget.h Code cleanup 2020-02-14 03:00:20 +01:00
shareusergroupwidget.ui Merge branch 'master' into resource-cleanup 2020-03-01 05:34:12 +01:00
shareuserline.ui Merge branch 'master' into resource-cleanup 2020-03-01 05:34:12 +01:00
socketapi.cpp Make sure all our logging categories start with nextcloud. 2020-07-01 15:39:52 +02:00
socketapi.h Fix Explorer pinning: Add fallbacks for Shell commands (fixes #1599) 2020-03-03 18:45:58 +01:00
socketapisocket_mac.h
socketapisocket_mac.mm
sslbutton.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sslbutton.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
sslerrordialog.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sslerrordialog.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
sslerrordialog.ui Marking unused strings as unstranslatable 2019-05-14 20:07:08 +02:00
synclogdialog.cpp Use = default for trivial ctors and dtors 2020-05-25 21:33:24 +02:00
synclogdialog.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
synclogdialog.ui
syncrunfilelog.cpp Merge pull request #2024 from nextcloud/use_raw_string_literals 2020-05-27 05:54:54 +02:00
syncrunfilelog.h changed paths of logfiles 2018-04-17 15:54:05 +02:00
systray.cpp Make sure the tray icon point is in screen coordinates 2020-07-15 12:22:54 +02:00
systray.h Fix #2085 new tray menu. 2020-07-02 19:21:10 +02:00
systray.mm Use Qt logging categories for logging 2017-05-11 17:22:59 +02:00
thumbnailjob.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
thumbnailjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
tooltipupdater.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
tooltipupdater.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
userinfo.cpp Don't display quota information when the user has no quota. 2020-07-02 20:06:12 +02:00
userinfo.h Add UserInfo class and fetch quota via API instead of PropfindJob 2020-02-14 02:10:01 +01:00
version.rc.in Use correct values for items in version.rc 2016-02-17 14:16:29 +01:00