Reply to topic

[BUG FILED] Broken "customised" desktop theme

User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
I'm trying to make the panel background opaque, and have found some references to this in the forums.

Apparently, one way to do this is by going to System Settings > Workspace Appearance and Behaviour > Workspace Appearance > Desktop Theme > Details > Panel Background. Then, presumably, activate the new "Customised" theme in the "Theme" tab. The link says that an opaque panel background is /usr/share/apps/desktoptheme/default/opaque/widgets/panel-background.svgz , although in Kubuntu this does not exist, so as per another post, I tried /usr/share/kde4/apps/desktoptheme/default/opaque/widgets/panel-background.svgz instead.

The problem is that this seems to do nothing. To troubleshoot, I first activated the vanilla Oxygen theme, and noted the darker panel background (compared to Air). However, when I altered all of the settings in the "Customised" theme to Oxygen, the panel background remains as the lighter Air version. (N.B. some components do change, such as the white Oxygen font.) Is there a way to make the panel background setting of the "Customised" desktop theme stick?

--EDIT
I also found another option. I copied /usr/share/kde4/apps/desktoptheme/default/ to ~/.kde/share/apps/desktoptheme/default (I had to move the original default first, which only contained an empty "wallpapers" directory). Then I copied the new default/opaque/widgets/panel-background.svg to default/widgets/panel-background.svg , but this did not work either.

Last edited by sparhawk on Wed Mar 20, 2013 12:35 pm, edited 2 times in total.
User avatar einar
Administrator
Posts
2269
Karma
5
OS
What version of the KDE Workspaces are you using? I seem to recall a similar bug, but also that it was fixed.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
I'm using KDE 4.9.3. FWIW, I also tried downloading the "Helium" theme, then moving the Helium/opaque/widgets/panel-background.svg to Helium/widgets/panel-background.svg , and this did work.
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
Bump. I can't find this bug. Is this in my version?
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
If you are not able to reproduce a bug, it is likely that either your scenario does not match that of the person who originally encountered the bug - or the bug has since been solved.

As we are dealing with Plasma themes here, a clean cache could very well be the fix needed here.


System Settings and Device Actions KCM maintainer
Image
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
So I would do this by removing
Code: Select all
/home/sparhawk/.kde/cache-hostname/plasma_theme_oxygen.kcache
Or should I remove all
Code: Select all
/home/sparhawk/.kde/cache-hostname/plasma_theme*.kcache
And would I need to stop kde first, remove the files, then start kde again?

As for the bug, I was actually bumping to try and get the url from einar, to confirm if it were the same bug. (P.S. and thanks for all your multiple replies :))
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
I would suggest removing all the *.kcache files. This should definitely be done outside KDE however.


System Settings and Device Actions KCM maintainer
Image
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
bcooksley wrote:I would suggest removing all the *.kcache files. This should definitely be done outside KDE however.


That does not work. I logged out and into another user account and removed all these files. I then logged back in, and tried changing Panel Background to /usr/share/kde4/apps/desktoptheme/default/opaque/widgets/panel-background.svgz, but the panel was still transparent.

What's more, the dark Oxygen theme seems to be messed up now. When I navigate to the "Details" tab, and select "Oxygen", all the popups in the source column are blank.

I've also downloaded the Helium theme in the meantime, and tried selecting this as the panel background, but that also did not register.

--EDIT
I've since moved all the files back, but the Oxygen theme is still broken. FWIW there are some odd "half-blank" entries in the popup now. I've attached a screenshot.
Image
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
It looks like your custom theme is broken, which probably explains why your desktop theme is itself broken. It also appears that you have a number of now non-existant or inproperly registered themes on your system (or in your user account).

Please run "kbuildsycoca4 --noincremental" to purge any old themes from the system cache.
I would then advise setting your custom theme to elements whose names are correct and complete. Make sure you set all elements which are present.


System Settings and Device Actions KCM maintainer
Image
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
bcooksley wrote:It looks like your custom theme is broken


Sorry, I should have been more specific, perhaps. That screenshot was from the Details > Oxygen tab. Hence, I'm not sure if that suggests that the Oxygen theme is broken?

bcooksley wrote:Please run "kbuildsycoca4 --noincremental" to purge any old themes from the system cache.


I tried this, and them attempted to set the "Customised" theme to all Air, except the Helium panel background. The panels stayed as Air.
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
The Oxygen theme being broken would be quite serious, as it is the last-ditch default fallback theme for all other themes.
Does the custom area for Oxygen appear properly under a new user?


System Settings and Device Actions KCM maintainer
Image
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
Yes, it's all fine for other users.
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS
Please browse to ~/.kde4/share/apps/desktoptheme/ and delete any folders with the name "oxygen", "air" or "default".
Then logout and back in again.


System Settings and Device Actions KCM maintainer
Image
User avatar sparhawk
Registered Member
Posts
267
Karma
0
OS
That didn't help. In fact, the "Air" theme now looks even stranger, with each popup displaying "File…" When I click any of the popups, they have changed slightly to the previous screenshot. There is now no "Air Colour Scheme" and an additional "Application dashboard Colour Scheme".

Thank you again for persisting with me!


=====EDIT

I should note that I can select the Oxygen theme, and it looks fine; there's just nothing selected in the details tab.

 
Reply to topic

Bookmarks



Who is online

Registered users: 16777216, alake, Baidu [Spider], Bing [Bot], edmael, Exabot [Bot], garthecho, Google [Bot], Hans, joshaughnessy, koriun, Majestic-12 [Bot], north, raymondsarver, urgo, verbalshadow, Yahoo [Bot]

cron