Created attachment 148901 [details] Screenshot illustrating the problem. SUMMARY In continuation of https://bugs.kde.org/show_bug.cgi?id=453792. If an error occurs while getting the list of widgets available for download, the error is displayed in an incorrectly rendered window. The "close window" button is rendered black and the whole styling does not follow system theme. See the attached screenshot. STEPS TO REPRODUCE 1. Right-click on desktop and select Add Widgets. 2. Click Get New Widgets. 3. Make sure a connection error happens while accessing KDE store. In my case I had genuine connectivity issues. It may reproduce if network connection is down. OBSERVED RESULT An error is displayed. The error window is not rendered according to the system theme (see the screenshot, the "close window" button is rendered black). EXPECTED RESULT The window should be rendered according to the system theme. SOFTWARE/OS VERSIONS Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.15.0-30-lowlatency (64-bit) Graphics Platform: X11 Processors: 16 × 12th Gen Intel® Core™ i7-12700K Memory: 31.1 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
> The error window is not rendered according to the system theme This is intentional, because it's actually not a real window. It's just a little in-window popup. We don't want to confuse you into thinking that it is a real window, because it's not. > the "close window" button is rendered black That's a bug we can fix though. What icon theme are you using? Looks like Oxygen? If you temporarily switch to the Breeze icon theme, does the close button look better?
(In reply to Nate Graham from comment #1) > > The error window is not rendered according to the system theme > This is intentional, because it's actually not a real window. It's just a > little in-window popup. We don't want to confuse you into thinking that it > is a real window, because it's not. Is there a reason to make it a custom window though? Just make it a normal window, which should fix everything. > > the "close window" button is rendered black > That's a bug we can fix though. > > What icon theme are you using? Looks like Oxygen? Yes, it's Oxygen. > If you temporarily switch > to the Breeze icon theme, does the close button look better? Unfortunately, network problems don't reproduce for me today, so I can't get the error window to show up. Disconnecting network doesn't help, as there must be some cached content in the widget downloader - it just displays a list of widgets, only without images. I'm not sure how to trigger a network problem locally.
(In reply to Lastique from comment #2) > Is there a reason to make it a custom window though? Just make it a normal > window, which should fix everything. It's a design decision, sorry. For the moment we're sticking with this approach. > Unfortunately, network problems don't reproduce for me today, so I can't get > the error window to show up. Disconnecting network doesn't help, as there > must be some cached content in the widget downloader - it just displays a > list of widgets, only without images. I'm not sure how to trigger a network > problem locally. Maybe you could disconnect from the network and attempt to download something?
Created attachment 148918 [details] Screenshot illustrating the problem with Breeze icon theme. (In reply to Nate Graham from comment #3) > (In reply to Lastique from comment #2) > > > Unfortunately, network problems don't reproduce for me today, so I can't get > > the error window to show up. Disconnecting network doesn't help, as there > > must be some cached content in the widget downloader - it just displays a > > list of widgets, only without images. I'm not sure how to trigger a network > > problem locally. > Maybe you could disconnect from the network and attempt to download > something? Reproduced, thanks. See the attached screenshot. The window closing button is still black. Though I think icon theme is not the issue - it's the window decoration style that doesn't match the window closing button.
Created attachment 148919 [details] Screenshot with Breeze window decorations.
Comment on attachment 148919 [details] Screenshot with Breeze window decorations. And here's a screenshot with Breeze window decorations. The close button is still black and doesn't match the other window decorations style. I think, whatever system settings you try to adjust, this window will still look alien. You may try to change the close button to be not black, but then it will probably look ugly with dark themes.
I'm not asking you to try Breeze *window decorations* but rather Breeze *icons*. Can you try that?
(In reply to Nate Graham from comment #7) > I'm not asking you to try Breeze *window decorations* but rather Breeze > *icons*. Can you try that? I did, see comment 4.
Aha, thanks. Sorry for missing that. So this is the same root cause as Bug 451538. Hopefully that should be fixed soon, as there is an open merge request for it. *** This bug has been marked as a duplicate of bug 451538 ***