Bug 410943 - QtQuick scenes inside a QQuickWidget inside a QTabBar have a background color that slightly differs from the tab frame's background color
Summary: QtQuick scenes inside a QQuickWidget inside a QTabBar have a background color...
Status: CONFIRMED
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: usability
: 414330 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-15 15:31 UTC by Nate Graham
Modified: 2019-11-20 16:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen Locking KCM (with D23184) (24.53 KB, image/png)
2019-08-15 15:31 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2019-08-15 15:31:44 UTC
Created attachment 122142 [details]
Screen Locking KCM (with D23184)

When a QQuickWidget is placed inside a QTabBar, the background color of the QtQuick parts differ slightly from the background color of the area inside the QTabWidget. This appears to be because the Breeze theme slightly lightens the background color of the TabWidget's frame, but this does not happen for QtQuick components.

Perhaps we could detect when a QtQuick scene is placed inside a QtQuickWidget that's inside a QTabBar, and then perform the same background color adjustment. Basically we need to do this: https://cgit.kde.org/sddm-kcm.git/tree/src/qml/main.qml#n27

...but only conditionally, when it's inside a QTabBar.
Comment 1 Nate Graham 2019-11-20 16:03:40 UTC
*** Bug 414330 has been marked as a duplicate of this bug. ***