Skip to content

fix(tray): match menu icons to palette - #10703

Open
Rello wants to merge 7 commits into
masterfrom
codex/fix-windows-tray-dark-icons
Open

fix(tray): match menu icons to palette#10703
Rello wants to merge 7 commits into
masterfrom
codex/fix-windows-tray-dark-icons

Conversation

@Rello

@Rello Rello commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Use the menu's effective palette when tinting template icons so root and account submenu actions follow dark mode.

Assisted-by: Codex:GPT-5

@mgallien

mgallien commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

works fine apart from the pause icon
that one was broken before
image

@mgallien
mgallien force-pushed the codex/fix-windows-tray-dark-icons branch from 9d2e353 to e24d4bf Compare September 1, 2026 07:17
@mgallien
mgallien marked this pull request as ready for review September 1, 2026 07:18
@mgallien
mgallien enabled auto-merge September 1, 2026 07:18
@Rello

Rello commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author
image

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

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

Digest: sha256:547a323f6bdad7cd5c8d739b3768f8a4cd37abe4cdaad0ff7adccfdad0e875c1

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.

@mgallien
mgallien force-pushed the codex/fix-windows-tray-dark-icons branch from 386044d to 2655cf5 Compare September 2, 2026 12:36
Use the menu's effective palette when tinting template icons so root and account submenu actions follow dark mode.

Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
Use the template-compatible pause and sync glyphs so palette tinting preserves their shapes.

Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
Register the statically linked resource collections before constructing the tray menu in SystraySyncControlQtTest.

Signed-off-by: Rello <github@scherello.de>

Assisted-by: Codex:GPT-5
Add unbranded pause and play action glyphs and tint them through the same menu-palette path as the other tray actions.

Signed-off-by: Rello <github@scherello.de>

Assisted-by: Codex:GPT-5
Treat multiple uninitialized sync folders as waiting to start so the global tray icon and Windows tooltip agree with the account indicators.

Signed-off-by: Rello <github@scherello.de>

Assisted-by: Codex:GPT-5
Check that tray icons contain the requested menu-palette color without requiring every opaque platform-rendered pixel to match it.

Signed-off-by: Rello <github@scherello.de>

Assisted-by: Codex:GPT-5
Expose the native tray icon palette selector and test its returned active text color without depending on platform QIcon rasterization.

Signed-off-by: Rello <github@scherello.de>

Assisted-by: Codex:GPT-5
@mgallien
mgallien force-pushed the codex/fix-windows-tray-dark-icons branch from 2655cf5 to 7abbb6f Compare September 7, 2026 07:21
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

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

@Rello

Rello commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

/backport to stable-34.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants