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

Double-clicking tray icon opens currently-selected user's local folder (if available) #4774

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

claucambra
Copy link
Collaborator

Closes #1184

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

@claucambra claucambra self-assigned this Jul 25, 2022
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.

can you add this to the user documentation ?
without that nobody will ever discover this hidden feature
I would have never known that systray icon can behave differently when double clicked

@claucambra claucambra force-pushed the feature/double-click-open-folder branch from 449569d to 58f9dfe Compare August 1, 2022 15:37
@claucambra
Copy link
Collaborator Author

can you add this to the user documentation ?
without that nobody will ever discover this hidden feature
I would have never known that systray icon can behave differently when double clicked

I added a line saying double-clicking will open the current user's locally synced folder

@claucambra claucambra requested a review from mgallien August 1, 2022 16:05
@allexzander
Copy link
Contributor

allexzander commented Aug 2, 2022

@claucambra The feature works well, however, I am surprised one of the test cases is in fact broken:

FAIL!  : TestFolderWatcher::testMove3LevelDirWithFile() 'waitForPathChanged(_rootPath + "/a/b/c/empty.txt")' returned FALSE. ()
..\..\..\test\testfolderwatcher.cpp(170) : failure location

Maybe, just try to rebase the branch first, and you might get lucky.

@allexzander
Copy link
Contributor

@claucambra My bad. It happened just 2 times and does not happen to me locally. Looks like random failure in unit tests :(

@claucambra
Copy link
Collaborator Author

@claucambra The feature works well, however, I am surprised one of the test cases is in fact broken:

FAIL!  : TestFolderWatcher::testMove3LevelDirWithFile() 'waitForPathChanged(_rootPath + "/a/b/c/empty.txt")' returned FALSE. ()
..\..\..\test\testfolderwatcher.cpp(170) : failure location

Maybe, just try to rebase the branch first, and you might get lucky.

TestFolderWatcher seems to fail pretty randomly :(

…r (if available)

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the feature/double-click-open-folder branch from 58f9dfe to 2b598d1 Compare August 2, 2022 17:06
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4774-2b598d1820b2a612cacc332424c72f72e2c42458-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

sonarqubecloud bot commented Aug 2, 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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@claucambra claucambra merged commit 63acfde into master Aug 2, 2022
@claucambra claucambra deleted the feature/double-click-open-folder branch August 2, 2022 17:37
@mgallien mgallien added this to the 3.6.0 milestone Sep 2, 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.

Feature Request: Allow double clicking the tray icon to open the 'nextcloud' folder
4 participants