Bug 304554 - Kwin gradient often doesn't match application gradient
Summary: Kwin gradient often doesn't match application gradient
Status: RESOLVED WORKSFORME
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-04 13:47 UTC by Admc
Modified: 2023-01-20 05:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Kwin gradient that doesn't match (11.53 KB, image/png)
2012-08-04 13:48 UTC, Admc
Details
my kwinrc file (5.61 KB, text/plain)
2012-08-04 13:49 UTC, Admc
Details
my oxygenrc file (769 bytes, text/plain)
2012-08-04 13:51 UTC, Admc
Details
my kdeglobals file (7.64 KB, text/plain)
2012-08-04 14:52 UTC, Admc
Details
Nice gradient in non-wide windows (8.77 KB, image/png)
2012-08-04 15:00 UTC, Admc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Admc 2012-08-04 13:47:19 UTC
Kwin gradient often doesn't match application gradient (look on screenshot), it just doesn't look good.

Reproducible: Sometimes

Steps to Reproduce:
I don't know, maybe something it's wrong with my KDE config?
Actual Results:  
Gradient doesn't match

Expected Results:  
Gradient should be nice

This happens only to wide windows
Comment 1 Admc 2012-08-04 13:48:25 UTC
Created attachment 72946 [details]
Kwin gradient that doesn't match
Comment 2 Admc 2012-08-04 13:49:08 UTC
Created attachment 72947 [details]
my kwinrc file
Comment 3 Admc 2012-08-04 13:51:09 UTC
Created attachment 72948 [details]
my oxygenrc file
Comment 4 Hugo Pereira Da Costa 2012-08-04 14:46:50 UTC
Can't reproduce ...

could you post:
- your kde version
- your kdeglobals file (from the same directory as kwinrc)

Also, I have no idea where this "BlendTitlebarColors[$d]" line comes from in your oxygenrc file.
Nothing like this in oxygen's code. What version of oxygen are you actually using ? 
(both for the window decoration and the widget style ?)

(for the record, the said "gradient" is oxygen, not kwin)
Comment 5 Hugo Pereira Da Costa 2012-08-04 14:49:24 UTC
oh and in "system settings -> workspace appearance -> window decordation -> configure decoration", click the second tab (fine tuning), and select "follow style hint", rather than "radial gradient". That should help for some gtk applications.
Comment 6 Admc 2012-08-04 14:52:30 UTC
Created attachment 72949 [details]
my kdeglobals file
Comment 7 Admc 2012-08-04 14:59:44 UTC
My KDE version is 4.9
The problem occurs in KDE 4.9 and 4.7.x.
On 4.8.x there was other problem wit gradient but it could be easily fixed by entering workspace appearance every time after system reboot.

I'm using standard oxygen theme, but it occurs also on other color themes. I don't know where i can check oxygen version.

> Nothing like this in oxygen's code. What version of oxygen are you actually
> using ? 
> (both for the window decoration and the widget style ?)
> 
> (for the record, the said "gradient" is oxygen, not kwin)

> oh and in "system settings -> workspace appearance -> window decordation ->
> configure decoration", click the second tab (fine tuning), and select
> "follow style hint", rather than "radial gradient". That should help for
> some gtk applications.
I already changed that, i tried to resolve my problem by switching various options in workspace appreance like in 4.8.x but it didn't helped.
Comment 8 Admc 2012-08-04 15:00:41 UTC
Created attachment 72952 [details]
Nice gradient in non-wide windows
Comment 9 Admc 2012-08-04 15:01:23 UTC
Look at last attachment, on non-wide windows everything looks nice
Comment 10 Hugo Pereira Da Costa 2012-08-04 15:05:59 UTC
> I'm using standard oxygen theme, but it occurs also on other color themes. I don't know where i can check oxygen version.

I'm not talking about color theme. Rather window decoration style, and widget style. 
Also, how wide is wide (in numbers of pixels)
Comment 11 Admc 2012-08-04 16:01:43 UTC
Well, my window decoration style is just oxygen, it's default theme.
My widget style is also oxygen.
The only thing i changed is desktop style to slim glow.

I turned on kwin "window geometry" effect and noticed that when window is wider than 600 pixels, then gradient is messed up. When it's less than 600 pixels gradient looks nice.
Comment 12 Admc 2012-08-04 16:03:35 UTC
Probably temporary way to fix this is to kill plasma-desktop (run xkill and click on kde panel). After plasma auto-reload gradient looks nice again.
Comment 13 Hugo Pereira Da Costa 2012-08-04 16:09:24 UTC
ok. Thanks for the info.
That is weird, cause I definitely can have windows larger than 600 px without the bug you mention ... will see in my code what's special about this number :)
Comment 14 Hugo Pereira Da Costa 2012-08-04 16:11:13 UTC
oh
And I have zero clue what plasma has to do with this and how restarting it could change anything on the window decoration. (kwin and plasma are two different things and as a matter of fact, kwin can run without plasma).
What happens if you just *kill* plasma, and not restart it, but move existing windows around ? resizing them etc ?
Comment 15 Admc 2012-08-04 18:24:33 UTC
I was wrong, reloading plasma didn't help at all. It was just a coincidence.
Comment 16 Andrew Crouthamel 2018-11-09 00:55:20 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Andrew Crouthamel 2018-11-18 03:34:23 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 18 Justin Zobel 2022-12-21 23:58:13 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 19 Bug Janitor Service 2023-01-05 05:25:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 20 Bug Janitor Service 2023-01-20 05:09:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!