Skip to content

Conversation

@claucambra
Copy link
Contributor

Since NavigationPaneHelper only includes functionality relevant to Windows and its introduction causes compile warnings on other platforms, this PR excludes the NPH from non-Windows builds

The ifdefs that cause warnings on other platforms have been modified to fix them if in the future NavigationPaneHelper is used on other platforms too

@codecov
Copy link

codecov bot commented Dec 19, 2022

Codecov Report

Merging #5288 (59940f6) into master (fb83518) will decrease coverage by 0.03%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5288      +/-   ##
==========================================
- Coverage   57.63%   57.59%   -0.04%     
==========================================
  Files         139      139              
  Lines       17596    17596              
==========================================
- Hits        10142    10135       -7     
- Misses       7454     7461       +7     
Impacted Files Coverage Δ
src/libsync/propagatedownload.cpp 63.72% <0.00%> (-1.18%) ⬇️
src/libsync/propagateremotemove.cpp 82.28% <0.00%> (+0.57%) ⬆️

@claucambra claucambra force-pushed the bugfix/navigationpanehelper-nonwindows branch from 98c1100 to 59940f6 Compare December 19, 2022 18:21
@sonarqubecloud
Copy link

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

@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-5288-59940f65dbc40f4823c794e096432faea24a451c-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.

@claucambra claucambra added this to the 3.13.1 milestone Jun 9, 2024
@mgallien mgallien modified the milestones: 3.13.1, 3.13.2 Jul 2, 2024
@camilasan camilasan modified the milestones: 3.13.2, 3.13.3 Jul 9, 2024
@mgallien mgallien modified the milestones: 3.13.3, 3.14.0 Aug 23, 2024
@claucambra claucambra modified the milestones: 3.14.0, 3.16.0 Dec 2, 2024
@claucambra claucambra modified the milestones: 3.16.0, 3.16.1 Feb 5, 2025
Copy link
Collaborator

@mgallien mgallien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@claucambra can you fix the conflicts ?

@mgallien mgallien modified the milestones: 3.16.1, 3.16.2 Mar 12, 2025
@claucambra claucambra force-pushed the bugfix/navigationpanehelper-nonwindows branch from 59940f6 to 036aa21 Compare March 13, 2025 03:24
@claucambra claucambra requested a review from nilsding as a code owner March 13, 2025 03:24
@claucambra
Copy link
Contributor Author

@claucambra can you fix the conflicts ?

Thanks, done

@claucambra claucambra force-pushed the bugfix/navigationpanehelper-nonwindows branch from 036aa21 to 6a365d0 Compare March 13, 2025 03:26
Copy link
Member

@nilsding nilsding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, but there is also another usage of navigationPaneHelper that breaks compilation:

src/gui/accountsetupfromcommandlinejob.cpp
179:    if (folderMan->navigationPaneHelper().showInExplorerNavigationPane()) {

@claucambra claucambra force-pushed the bugfix/navigationpanehelper-nonwindows branch from 6a365d0 to c18119f Compare March 14, 2025 03:06
@claucambra
Copy link
Contributor Author

looks good, but there is also another usage of navigationPaneHelper that breaks compilation:

src/gui/accountsetupfromcommandlinejob.cpp
179:    if (folderMan->navigationPaneHelper().showInExplorerNavigationPane()) {

Thanks, fixed

@claucambra claucambra requested a review from mgallien March 14, 2025 03:06
@claucambra claucambra requested a review from nilsding March 14, 2025 03:06
@mgallien mgallien force-pushed the bugfix/navigationpanehelper-nonwindows branch from c18119f to c9dc081 Compare March 14, 2025 14:00
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
75 New Code Smells (required ≤ 0)
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@mgallien mgallien modified the milestones: 3.16.2, 3.16.3 Mar 18, 2025
@claucambra claucambra force-pushed the bugfix/navigationpanehelper-nonwindows branch from c9dc081 to a0b702c Compare April 15, 2025 08:02
@claucambra claucambra force-pushed the bugfix/navigationpanehelper-nonwindows branch from a0b702c to 487855b Compare April 15, 2025 09:07
@claucambra claucambra merged commit 20361f0 into master Apr 15, 2025
13 of 15 checks passed
@claucambra claucambra deleted the bugfix/navigationpanehelper-nonwindows branch April 15, 2025 09:07
@claucambra
Copy link
Contributor Author

/backport to stable-3.16

@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-5288.zip

SHA256 checksum: cd975a45df650bf6ecf61f2e5f7e4795e763a769fef87dbdd7e69d7981f2036f

To test this change/fix you can download the above artifact file, unzip it, and run it.

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

@sonarqubecloud
Copy link

@nilsding nilsding modified the milestones: 3.16.3, 3.17.0 Apr 15, 2025
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.

6 participants