Summary: | GtkLayout as the main GtkWindow widget does not use standard Oxygen window background | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | Pietro Gagliardi <pietro10> |
Component: | gtk3-engine | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b7.10110111, hugo.pereira.da.costa, web, yyc1992 |
Priority: | NOR | ||
Version: | 4.13.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The expected output with GtkLayout; this shows up with all other controls and layouts.
The background that GtkLayout shows instead; note that it is a solid color. |
Description
Pietro Gagliardi
2014-04-27 23:33:03 UTC
Created attachment 86304 [details]
The background that GtkLayout shows instead; note that it is a solid color.
Forgot to say that the CSS there was what the person who answered my quesiton suggested, rather than my own; it just happens to be the one that works. Hi, Thanks for reporting. So to make sure I understand right, if you explicitly set gtklayout as transparent in your CSS, you get the background you expect. Correct ? If so, I believe I am just missing this line in the oxygen-gtk3 defaults :) Will add, hoping for no regressions in other applications. PS: can you report the gtk3 version you are using ? these things tend to change a lot (sadly) from one gtk version to the other ... Thanks for reporting, Hugo Patch: diff --git a/src/oxygenqtsettings.cpp b/src/oxygenqtsettings.cpp index e02aa28..bd79d36 100644 --- a/src/oxygenqtsettings.cpp +++ b/src/oxygenqtsettings.cpp @@ -725,6 +725,7 @@ namespace Oxygen "GtkImage, " "GtkInfoBar, " "GtkLabel, " + "GtkLayout, " "GtkMenuItem, " "GtkOverlay, " "GtkRevealer, " Can you try apply it ? Confirm that it fixes the issue ? if yes I'll commit and close the report. Very sorry for the delay; had issues figuring out how to apply package patches. Yes, this fixes the bug. Thanks! Git commit 76ff7ce3a5cd97b7fb43cb1ee5288c0cde725c53 by Hugo Pereira Da Costa. Committed on 28/04/2014 at 16:09. Pushed by hpereiradacosta into branch 'gtk3'. Added GtkLayout to the list of transparent widgets. M +1 -0 src/oxygenqtsettings.cpp http://commits.kde.org/oxygen-gtk/76ff7ce3a5cd97b7fb43cb1ee5288c0cde725c53 this has been pushed to gtk3 branch, will land into some release soon, so closing. |