Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set up tray context menu on macOS, even if not building app bundle #4988

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

claucambra
Copy link
Collaborator

This PR prevents the context menu from being opened when the tray icon is clicked, in situations where the desktop client is build without the macOS application bundle.

This prevents the following bug:

Screenshot 2022-09-29 at 20 03 42

Signed-off-by: Claudio Cambra claudio.cambra@gmail.com

@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Merging #4988 (7a1dbcf) into master (d740578) will decrease coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4988      +/-   ##
==========================================
- Coverage   57.13%   57.13%   -0.01%     
==========================================
  Files         138      138              
  Lines       17221    17221              
==========================================
- Hits         9840     9839       -1     
- Misses       7381     7382       +1     
Impacted Files Coverage Δ
src/libsync/propagateremotemkdir.cpp 63.82% <0.00%> (-0.71%) ⬇️
src/libsync/propagatedownload.cpp 64.61% <0.00%> (-0.15%) ⬇️
src/libsync/vfs/cfapi/cfapiwrapper.cpp 74.65% <0.00%> (+0.22%) ⬆️

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@mgallien mgallien force-pushed the bugfix/macos-no-context-menu branch from 219400d to 7a1dbcf Compare September 30, 2022 19:45
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-4988-7a1dbcf2fed930d5edd05f86bce81a373d6d6d7f-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Sep 30, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@claucambra claucambra merged commit a1d0684 into master Sep 30, 2022
@claucambra claucambra deleted the bugfix/macos-no-context-menu branch September 30, 2022 22:06
@mgallien mgallien added this to the 3.7.0 milestone Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants