Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934960

Summary: kde-plasma/plasma-meta[gtk] should depend on sys-apps/xdg-desktop-portal-gtk, per upstream recommendations
Product: Gentoo Linux Reporter: Pavel Procopiuc <hyrurg>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 934478    

Description Pavel Procopiuc 2024-06-26 07:55:56 UTC
When using Plasma 6.1 with Wayland the GTK applications were not applying the KDE's Breeze theme until I installed sys-apps/xdg-desktop-portal-gtk and restarted. It looks like it should be a dependency of plasma-meta when it has "gtk" use flag enabled.

Reproducible: Always

Steps to Reproduce:
1. Install =kde-plasma/plasma-meta-6.1.0 with the "gtk" use flag enabled
2. Make sure that sys-apps/xdg-desktop-portal-gtk is not installed
3. Open Application Style section of System Settings, click Configure GNOME/GTK Application Style
4. Choose Breeze theme, click Preview
Actual Results:  
The preview window is shown using some default non-matching GTK theme

Expected Results:  
The preview window should have the Breeze theme

Installing sys-apps/xdg-desktop-portal-gtk and rebooting fixes the problem
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-26 08:01:33 UTC
Thanks. asturm and I were discussing this (although I don't remember the outcome).

It's mentioned at https://community.kde.org/Distributions/Packaging_Recommendations#3rd-party_packages, so I agree that we need to do something here.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-28 15:11:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=ccbcf374f45c2de861fe0429b3057f92553f4b88

commit ccbcf374f45c2de861fe0429b3057f92553f4b88
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-28 14:29:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-28 15:11:20 +0000

    kde-plasma/plasma-meta: Add sys-apps/xdg-desktop-portal-gtk to IUSE=gtk
    
    Bug: https://bugs.gentoo.org/934960
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-meta/plasma-meta-6.1.49.9999.ebuild | 1 +
 kde-plasma/plasma-meta/plasma-meta-9999.ebuild        | 1 +
 2 files changed, 2 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-06-28 15:18:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=013f614f78458bb4016d01bfd8926f0c25a671cf

commit 013f614f78458bb4016d01bfd8926f0c25a671cf
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-06-28 14:29:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-06-28 15:18:17 +0000

    kde-plasma/plasma-meta: Add sys-apps/xdg-desktop-portal-gtk to IUSE=gtk
    
    Closes: https://bugs.gentoo.org/934960
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../{plasma-meta-6.1.1.ebuild => plasma-meta-6.1.1-r1.ebuild}            | 1 +
 1 file changed, 1 insertion(+)