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

Fix broken tray GUI on Linux #6798

Merged
merged 11 commits into from
Jun 6, 2024
Merged

Fix broken tray GUI on Linux #6798

merged 11 commits into from
Jun 6, 2024

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Jun 6, 2024

A significant amount of our tray components are borked on Plasma. Not reproducible with AppImage, but can be reproduced when running the client non-containerised on Plasma. This PR fixes them

After fix:

Screenshot_20240606_181946

Before fix:

Screenshot_20240606_182227

Fixes #6729

@claucambra
Copy link
Collaborator Author

/backport to stable-3.13

@@ -640,7 +640,7 @@ ApplicationWindow {
id: trayWindowTalkButton

visible: UserModel.currentUser && UserModel.currentUser.serverHasTalk
icon.source: "qrc:///client/theme/white/talk-app.svg"
icon.source: "image://svgimage-custom-color/talk-app.svg" + "/" + Style.currentUserHeaderTextColor
Copy link
Member

Choose a reason for hiding this comment

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

why image instead of qrc?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We are using the svg image provider in order to be able to recolor the button icons however we want directly

… image provider

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
…ernal properties

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
…ult size

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-6798-d61a209e532c106712c1853f0c94e43482d3d750-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 merged commit 370be33 into master Jun 6, 2024
11 of 13 checks passed
@claucambra claucambra deleted the bugfix/kde-qml branch June 6, 2024 17:03
Copy link

sonarcloud bot commented Jun 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Code Smells (required ≤ 0)

See analysis details on SonarCloud

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

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.

[Bug]: Missing icons and functionality
3 participants