Repository navigation
Conversation
The activities window is otherwise only reachable through several clicks in the tray popup. Middle click on the tray icon (delivered as StatusNotifierItem SecondaryActivate on Linux, mapped by Qt to QSystemTrayIcon::MiddleClick) now opens it directly, and hides it again if an activities window is already shown. A minimized window counts as not shown, so middle click brings it back instead. Left click (primary popup), double click (open local folder) and the right-click context menu are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assisted-by: ClaudeCode:claude-fable-5 Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: v3DJG6GL <72495210+v3DJG6GL@users.noreply.github.com>
v3DJG6GL
requested review from
camilasan,
claucambra,
i2h3,
mgallien and
nilsding
as code owners
October 30, 2026 16:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the option to open the Activities Window with just one mouse click instead of several clicks:
A middle click on the tray icon (
StatusNotifierItem SecondaryActivateon Linux, mapped by Qt toQSystemTrayIcon::MiddleClick) opens the Activities Window now directly. A middle click on the tray icon while the window is open hides it again. A minimized window is handled as not shown, a middle click therefore shows the window again.Other mouse actions are left unchanged.
This would likely be a sufficient compromise for users who were quite unhappy with the removal of the flyout/activity list.
While I also preferred the flyout Nextcloud Desktop had before the
v34release, I think this is a reasonable compromise. Maybe somewhere in the future might be a more UX-friendly implementation added to the codebase... :)LoC Changes
I can ofc remove some tests if you think that's too much for such a small feature...
Resolves (partially)
Some reports I've found which would be partially resolved by this PR:
#10475
#10515
#10688
Summary
TODO
TrayActivationPolicyTest) and the show/hide toggle (SystrayActivitiesWindowTest)Checklist
- [ ] Uploaded screenshots from before and after for UI changes.AI (if applicable)
LLM Disclosure
Developed with assistance from Claude Code (Opus 5.5). The LLM helped me identify the related files, code parts and proposed possible code modifications and fixes.
I've reviewed, cleaned, refactored and hardened the code the best I could.