Skip to content

Refactor tray window opening code for clarity and efficiency#4688

Merged
claucambra merged 1 commit into
masterfrom
bugfix/refactor-tray-window-open
Jul 12, 2022
Merged

Refactor tray window opening code for clarity and efficiency#4688
claucambra merged 1 commit into
masterfrom
bugfix/refactor-tray-window-open

Conversation

@claucambra

Copy link
Copy Markdown
Collaborator

We now hold a reference to the QML tray window in Systray and handle window positioning, showing, and hiding within Systray

This makes what is going on much clearer

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

@claucambra claucambra force-pushed the bugfix/refactor-tray-window-open branch from 53711d4 to 61c63cb Compare June 30, 2022 15:56
@codecov

codecov Bot commented Jun 30, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4688 (724a570) into master (b707aef) will decrease coverage by 0.09%.
The diff coverage is n/a.

❗ Current head 724a570 differs from pull request most recent head ce9e4a9. Consider uploading reports for the commit ce9e4a9 to get more accurate results

@@            Coverage Diff             @@
##           master    #4688      +/-   ##
==========================================
- Coverage   56.51%   56.41%   -0.10%     
==========================================
  Files         138      138              
  Lines       17068    17068              
==========================================
- Hits         9646     9629      -17     
- Misses       7422     7439      +17     
Impacted Files Coverage Δ
src/libsync/vfs/cfapi/hydrationjob.cpp 52.68% <0.00%> (-3.77%) ⬇️
src/libsync/vfs/cfapi/vfs_cfapi.cpp 83.84% <0.00%> (-2.63%) ⬇️
src/libsync/vfs/cfapi/cfapiwrapper.cpp 75.42% <0.00%> (-1.93%) ⬇️
src/libsync/syncengine.cpp 85.19% <0.00%> (-0.55%) ⬇️
src/libsync/propagatedownload.cpp 65.18% <0.00%> (+1.03%) ⬆️

@claucambra claucambra self-assigned this Jun 30, 2022
Comment thread src/gui/systray.cpp Outdated
Comment thread src/gui/systray.cpp Outdated
@claucambra claucambra force-pushed the bugfix/refactor-tray-window-open branch from 61c63cb to acd65c0 Compare July 6, 2022 09:49
@claucambra

Copy link
Copy Markdown
Collaborator Author

Rebased and resolved conflicts

@claucambra claucambra force-pushed the bugfix/refactor-tray-window-open branch 2 times, most recently from 724a570 to 689f441 Compare July 8, 2022 10:47
@nextcloud-desktop-bot

Copy link
Copy Markdown

AppImage file: Nextcloud-PR-4688-689f441e5873222f9f686357b86c4b6a16e44580-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.

@camilasan

Copy link
Copy Markdown
Member

/backport to stable-3.5

@camilasan camilasan force-pushed the bugfix/refactor-tray-window-open branch from 689f441 to f6de377 Compare July 12, 2022 18:22
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the bugfix/refactor-tray-window-open branch from f6de377 to ce9e4a9 Compare July 12, 2022 20:54
@nextcloud-desktop-bot

Copy link
Copy Markdown

AppImage file: Nextcloud-PR-4688-ce9e4a99c0467617bfcecea0c7639a9ed7018198-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.

@sonarqubecloud

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

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.

4 participants