Version: unspecified (using KDE 4.6.2) OS: Linux It would be great to have something like this. Moreover, kwin style has the possibility to make window decorations flat. Reproducible: Didn't try
Sorry, forgot to mark this report as a wish.
Hello Alexander You can go to system-settings->applications appearance->colors then click the "Options" tab, and set the "shading" slider to 0. This does exactly what you want, I think. So ... closing as invalid, but feel free to reopen if I misunderstood. Hugo
Created attachment 60073 [details] Example No, it's not what I meant. Even when slider on the 0 point oxygen still adds some gradient. Also, I want to have some shading in widgets but fully flat windows at the same time. So, it just should be an option above shading slider, that allows me to disable windows gradient for whole window but leave it for widjets (as shading settings).
Alexander: ok correct. There is still some remaining gradient, and yes I understand your wish better. re-oppening as "wish" then. but can't guaranty when I'll find time to actually implement.
Ok, thx. I hope someday it will happen :)
Reopening, see comment #4.
It's a great idea for low end PC or for those who wants speed over appareance. The only way I know to do that is to use another widget style, like QtCurve but It's not as beautiful as Oxygen…
@eichi
@eichi From the measurement I have made (using callgrind) you will not get much improvements by disabling window background gradient. A very small amount of time is spent there. Oxygen spends much more time rendering button gradients, glows, arrows, etc, than the actual window background. Everything that makes the style good looking, pretty much ...
> From the measurement I have made (using callgrind) you will not get much improvements by disabling window background gradient. A very small amount of time is spent there. Oxygen spends much more time rendering button gradients, glows, arrows, etc, than the actual window background. Everything that makes the style good looking, pretty much ... Button gradients and glows are disabled in my conf, but arrows are allowed. So maybe It can gives a slight speed improvement on heavy loads — it’s not bad to offer ways to slow computers and/or laptops. However, I can’t disable some effects like many shadows because with that colors, contrast is very bad. So, it isn’t worth it?
Git commit 3df4f12933bcef941effc4270b1763410c6914c9 by Hugo Pereira Da Costa. Committed on 15/12/2013 at 11:33. Pushed by hpereiradacosta into branch 'KDE/4.11'. Removed background blend style option. Background gradient is now always decided based on window flag. Added option in oxygenrc to disable window background: [Common] UseBackgroundGradient=true Option is hidden (no UI element) because of string freeze Also removed decoration blend style option. Background gradient is now always decided based on window flag. M +6 -1 kstyles/oxygen/oxygen.kcfg M +3 -0 kstyles/oxygen/oxygenstyle.cpp M +33 -1 kstyles/oxygen/oxygenstylehelper.cpp M +11 -5 kstyles/oxygen/oxygenstylehelper.h M +0 -4 kwin/clients/oxygen/config/oxygenconfigwidget.cpp M +0 -5 kwin/clients/oxygen/config/oxygenexceptiondialog.cpp M +33 -66 kwin/clients/oxygen/config/ui/oxygenconfigurationui.ui M +17 -64 kwin/clients/oxygen/config/ui/oxygenexceptiondialog.ui M +5 -9 kwin/clients/oxygen/oxygenclient.cpp M +0 -9 kwin/clients/oxygen/oxygenconfigdata.kcfg M +0 -1 kwin/clients/oxygen/oxygendecorationdefines.h M +0 -1 kwin/clients/oxygen/oxygenexceptionlist.cpp http://commits.kde.org/kde-workspace/3df4f12933bcef941effc4270b1763410c6914c9
Git commit 0725ddb42271b6c16e14bc80c663f25613a25ce8 by Hugo Pereira Da Costa. Committed on 15/12/2013 at 11:33. Pushed by hpereiradacosta into branch 'master'. Added option in oxygenrc to disable window background: [Common] UseBackgroundGradient=true Option is hidden (no UI element) because of string freeze Also removed decoration blend style option. Background gradient is now always decided based on window flag. M +6 -1 kstyles/oxygen/oxygen.kcfg M +3 -0 kstyles/oxygen/oxygenstyle.cpp M +33 -1 kstyles/oxygen/oxygenstylehelper.cpp M +11 -5 kstyles/oxygen/oxygenstylehelper.h M +0 -4 kwin/clients/oxygen/config/oxygenconfigwidget.cpp M +0 -5 kwin/clients/oxygen/config/oxygenexceptiondialog.cpp M +15 -66 kwin/clients/oxygen/config/ui/oxygenconfigurationui.ui M +44 -89 kwin/clients/oxygen/config/ui/oxygenexceptiondialog.ui M +5 -9 kwin/clients/oxygen/oxygenclient.cpp M +0 -9 kwin/clients/oxygen/oxygenconfigdata.kcfg M +0 -1 kwin/clients/oxygen/oxygendecorationdefines.h M +0 -1 kwin/clients/oxygen/oxygenexceptionlist.cpp http://commits.kde.org/kde-workspace/0725ddb42271b6c16e14bc80c663f25613a25ce8
Git commit f371688e093b8d0be281c246d3e296eff6cf85ec by Hugo Pereira Da Costa. Committed on 17/12/2013 at 17:37. Pushed by hpereiradacosta into branch 'master'. added UI option for UseBackgroundGradient M +4 -0 kstyles/oxygen/config/oxygenstyleconfig.cpp M +7 -0 kstyles/oxygen/config/ui/oxygenstyleconfig.ui http://commits.kde.org/kde-workspace/f371688e093b8d0be281c246d3e296eff6cf85ec
Closing. For KDE4, add "UseBackgroundGradient=false" in .kde/share/config/oxygenrc (in [common] section) in KF5 there is a gui option for this.