[Bug 255290] New: KDE apps running in GNOME and using QGtkStyle doesn't use gtk+ color scheme

Yao Ziyuan yaoziyuan at gmail.com
Tue Oct 26 08:57:45 BST 2010


https://bugs.kde.org/show_bug.cgi?id=255290

           Summary: KDE apps running in GNOME and using QGtkStyle doesn't
                    use gtk+ color scheme
           Product: kde
           Version: 4.5
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: yaoziyuan at gmail.com


Version:           4.5 (using KDE 4.5.2) 
OS:                Linux

A KDE app, e.g. KTorrent, when running in a GNOME environment and using the Qt
widget style "GTK+" (QGtkStyle), should use gtk+'s current color scheme
whenever applicable, but in reality, it doesn't. Most notably, Fedora 13's
default gtk+ window background color is #ECEBEB, while a KTorrent running in
Fedora 13's GNOME environment and using QGtkStyle uses KDE's window background
color (#E0DFDF) instead. This is because KDE overrides gtk+'s color palette
with KDE's own color palette even if KDE is not running as the current desktop
environment.

Possible solutions:
1. Don't override gtk+'s color palette with KDE's when a KDE app is running in
a non-KDE desktop environment (e.g. GNOME).
2. If the current KDE style is "GTK+" (QGtkStyle), don't override gtk+'s color
palette.


Reproducible: Always

Steps to Reproduce:
1. Log into a KDE environment. In systemsettings, set the current KDE style to
"GTK+" (QGtkStyle).
2. Log out and log into a GNOME environment. Run KTorrent in it. You will see
KTorrent using KDE's window background color rather than gtk+'s.

Actual Results:  
You will see KTorrent using KDE's window background color rather than gtk+'s.

Expected Results:  
KTorrent running in GNOME and using QGtkStyle should use gtk+'s colors, e.g.
window background color.

Possible solutions:
1. Don't override gtk+'s color palette with KDE's when a KDE app is running in
a non-KDE desktop environment (e.g. GNOME).
2. If the current KDE style is "GTK+" (QGtkStyle), don't override gtk+'s color
palette.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list