Bug 509306 - Items in GlobalDrawer's topContent list don't get their color updated when switching color schemes
Summary: Items in GlobalDrawer's topContent list don't get their color updated when sw...
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.18.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-09 11:55 UTC by aronkvh
Modified: 2025-09-22 23:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
discover white sidebar text (197.80 KB, image/png)
2025-09-09 11:55 UTC, aronkvh
Details
discover dark sidebar text (108.26 KB, image/png)
2025-09-09 11:55 UTC, aronkvh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aronkvh 2025-09-09 11:55:28 UTC
Created attachment 184843 [details]
discover white sidebar text

SUMMARY
If I switch colors schemes, the text color in the sidebar stays the same until I reopen it, then it updates.
Happens both ways.

STEPS TO REPRODUCE
1.  Open Discover
2. Switch to Brezee Light/Dark


SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2025-09-03
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 aronkvh 2025-09-09 11:55:45 UTC
Created attachment 184844 [details]
discover dark sidebar text
Comment 2 aronkvh 2025-09-09 11:55:59 UTC
Seems related to 436596
Comment 3 Patrick Silva 2025-09-10 13:04:25 UTC
Can reproduce.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Graphics Platform: Wayland
Comment 4 Nate Graham 2025-09-18 22:28:26 UTC
I can reproduce this.
Comment 5 Nate Graham 2025-09-22 23:52:47 UTC
All affected items are in the topContent section of the drawer.

I put together a minimum reproducer test case for Kirigami:

import QtQuick
import QtQuick.Controls as QQC
import org.kde.kirigami as Kirigami

Kirigami.ApplicationWindow {
    width: 600
    height: 400

    globalDrawer: Kirigami.GlobalDrawer {
        topContent: [
            QQC.ItemDelegate {
                icon.name: "edit-bomb"
                text: "I become invisible when the color scheme changes"
            }
        ]
    }
}


So it looks like this is an issue in GlobalDrawer itself. Moving to Kirigami.