By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1266 - Broken panels in Control Center and Akregator after upgrade to 3.5.13.1
Summary: Broken panels in Control Center and Akregator after upgrade to 3.5.13.1
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: amd64 Debian Squeeze
: P5 minor
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-10-13 05:51 CDT by Jan Stolarek
Modified: 2013-08-15 13:51 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Broken panel (75.24 KB, image/png)
2012-10-13 05:51 CDT, Jan Stolarek
Details
Control Center on my test machine (135.44 KB, image/png)
2012-10-13 06:23 CDT, Slávek Banko
Details
Broken Akregator (50.30 KB, image/png)
2012-10-24 01:13 CDT, Jan Stolarek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stolarek 2012-10-13 05:51:56 CDT
Created attachment 877 [details]
Broken panel

After upgrading Trinity from 3.5.13 to 3.5.13.1 side panels in Control Center and Akregator (the ones that display the summary) are broken: there are no icons and no decorations of any kind.
Comment 1 Slávek Banko 2012-10-13 06:23:08 CDT
Created attachment 879 [details]
Control Center on my test machine

I tried to install on my test machine Polish. I switched to the Polish and the classic icons and Control Center is displayed without problems.

Please try to switch to a different icons theme. And if different icons theme will be okay, so back to the classic icon.
Comment 2 Jan Stolarek 2012-10-13 06:30:44 CDT
(In reply to comment #1)
> Please try to switch to a different icons theme. And if different icons theme
> will be okay, so back to the classic icon.
Nope, this does not help. Note that icons are not the only problem - there is also no border around centre panel and no logo at the top.
Comment 3 Jan Stolarek 2012-10-20 02:30:54 CDT
I just checked on a clean profile and everything is fine. It seems that the problem is caused by configuration in ~. Any idea which part of the config could be causing this?
Comment 4 Darrell 2012-10-20 08:34:59 CDT
Just a hunch, in your old profile, before logging in, delete the ksycoca cache files:

$TDEHOME/cache-`uname -n`/ksycoca*

(Pre-R14, usually this is a sym link to /var/tmp/kdecache-$USER)
Comment 5 Darrell 2012-10-20 08:47:01 CDT
Another hunch. If you save sessions, then set your profile to start with an empty session:

KControl->KDE Components->Session Manager->On Login->Start with an empty session.

If your KControl is too difficult to read because of the problem, then before logging in, delete the files in $TDEHOME/share/config/session.
Comment 6 Jan Stolarek 2012-10-23 01:24:34 CDT
(In reply to comment #5)
> Another hunch. If you save sessions, then set your profile to start with an
> empty session:
> 
> KControl->KDE Components->Session Manager->On Login->Start with an empty
> session.
> 
> If your KControl is too difficult to read because of the problem, then before
> logging in, delete the files in $TDEHOME/share/config/session.
Nope, neither of your suggestions solves the problem.
Comment 7 Darrell 2012-10-23 10:13:50 CDT
Have you done any experimenting with R14? As you wrote that the problem disappears with a fresh profile, I wonder whether that happened along the way. If yes, then some profile config files were modified to accomodate certain R14 changes that are not compatible in 3.5.x.

Similarly, have you knowingly run either the migratekde3 or r14-xdg-update scripts?

I mention this because when we were first developing those two scripts, and when I was heavily testing the XDG conversions, the behavior you describe was common when trying to use the same profile between a 3.5.x and R14 environment.

Try the following:

grep -rn "X-TDE" $TDEHOME
grep -rn "share/applications/tde" $TDEHOME
grep "CommandURL=tde" $TDEHOME/share/config/khotkeysrc
grep "Application=tde" $TDEHOME/share/config/profilerc
grep "StorageId\[\$e\]=tde" $TDEHOME/share/config/kickerrc

If you receive positive hits then you have some R14 "contamination." Ignoring the fresh profile option, the solution will be to read the r14-xdg-update script and reverse the changes.
Comment 8 Jan Stolarek 2012-10-23 10:52:39 CDT
(In reply to comment #7)
> Have you done any experimenting with R14? 
No

> I wonder whether that happened along the way.
After upgrading from 3.5.13 to 3.5.13.1.

> Similarly, have you knowingly run either the migratekde3 or r14-xdg-update
> scripts?
No
Comment 9 Darrell 2012-10-23 13:04:02 CDT
Okay. Just looking for clues. :)

Did you try any of the grep commands I posted?
Comment 10 Darrell 2012-10-23 13:06:11 CDT
Do you have a screen grab of the broken akregator?
Comment 11 Jan Stolarek 2012-10-24 01:13:13 CDT
Created attachment 930 [details]
Broken Akregator
Comment 12 Jan Stolarek 2012-10-24 01:16:07 CDT
(In reply to comment #7)
> If you receive positive hits then you have some R14 "contamination." Ignoring
> the fresh profile option, the solution will be to read the r14-xdg-update
> script and reverse the changes.
Nope, I get no output from these commands.
Comment 13 Darrell 2012-10-24 14:22:33 CDT
Okay, that is good. Now we're pretty sure there is no R14 contamination.

Have you tried different languages other than Polish? How about the default English too?
Comment 14 Jan Stolarek 2012-10-25 02:23:18 CDT
(In reply to comment #13)
> Have you tried different languages other than Polish? How about the default
> English too?
Yes, it happens also when I switch to English.
Comment 15 Darrell 2012-10-25 13:18:03 CDT
Before logging into Trinity, try renaming the following (do only one at a time and in this order):

$TDEHOME/cache-`uname -n` -> $TDEHOME/cache-`uname -n`.bak

$TDEHOME/share/apps -> $TDEHOME/share/apps.bak

$TDEHOME/share/config -> $TDEHOME/share/config.bak

Renaming rather than deleting so as to preserve data that can be restored. :)

Bear in mind that if nothing changes we are nonetheless eliminating possible sources of corruption. If nothing changes then restore the original name and try the next step.
Comment 16 Jan Stolarek 2012-10-30 06:19:49 CDT
(In reply to comment #15)
> $TDEHOME/cache-`uname -n` -> $TDEHOME/cache-`uname -n`.bak
> 
> $TDEHOME/share/apps -> $TDEHOME/share/apps.bak
Neither of these two help.


> $TDEHOME/share/config -> $TDEHOME/share/config.bak
This works - both Control Center and Akregator display correctly. Nevertheless that's not a solution I would like to use - restoring all my configuration would be very tedious, so it would be good to pin the exact file responsible for the problem.
Comment 17 Darrell 2012-10-30 11:58:06 CDT
Not intended to be a solution, only a troubleshooting aid. :)

Okay, now we have narrowed the problem to config files.

First test: rename $TDEHOME/share/config/kcontrolrc and akregatorrc, then test those apps.

Second test: exit Trinity, rename $TDEHOME/share/config/kickerrc, then login. This will lose all of your kicker/panel settings, but we're only troubleshooting at this point. Hence renaming the files rather than deleting. :)

Repeat the second test with $TDEHOME/share/config/kwinrc.

Another suspect file is profilerc.

At this point we are looking for the proverbial needle in the haystack. We know the problem is confined to $TDEHOME/share/config. The game now is logout, rename a config file, login, test kcontrol/akregator. Repeat as necessary.

Once we discover the culprit file, we can evaulate possible long-term cures for all 3.5.13.1 users.
Comment 18 Jan Stolarek 2012-10-31 02:27:36 CDT
(In reply to comment #17)
I tried all files that you mentioned (one at a time) with no result. I noticed that profilerc seems unused - it was not recreated when I removed it.
Comment 19 Darrell 2012-10-31 11:37:58 CDT
The profilerc file is created/updated when making changes in KControl, often when changing file associations.

So those files made no difference. Start picking your way through the config files. Many are very app specific and can be ignored. I know this process will take time. :(

Eventually you'll find the culprit config file and then we can look into whether the problem is unique to you or something that needs attention for all users.
Comment 20 Jan Stolarek 2012-10-31 12:14:11 CDT
(In reply to comment #19)
> So those files made no difference. Start picking your way through the config
> files. Many are very app specific and can be ignored. I know this process will
> take time. :(
I will. The problem is that I have this machine at work, so I can't do it in my free time :/
Comment 21 Darrell 2012-12-08 16:56:59 CST
Jan, try running the migratekde3 script. 3.5.13.1 does not include this script (3.5.13.2 probably will), but you can find the script in the GIT repository:

http://git.trinitydesktop.org/cgit/tdebase/tree/migratekde3

Save a backup of your profile ($HOME/.trinity), log out of your Trinity session, and run the script from a console.
Comment 22 Darrell 2012-12-08 20:12:40 CST
Please check your profile kcontrolrc and akregatorrc for the following:

[HTML Settings]
AutoLoadImages=false

If the group and AutoLoadImages key is present, change the value to true. If the group is not present, create the group and AutoLoadImages key, set to true.

I can duplicate the original problem report by changing the respective values to false.
Comment 23 Darrell 2012-12-08 20:26:40 CST
The default for AutoLoadImages is true. Deleting the key should restore the images to both kcontrolrc and akregator.

Be forewarned that setting AutoLoadImages=true in akregatorrc will download all images in each feed article. To disable images in the feed articles requires AutoLoadImages=false. Yet doing that disables images in the akregator welcome page too. That bug is noted in bug report 1360.
Comment 24 Jan Stolarek 2012-12-11 05:54:12 CST
(In reply to comment #23)
> The default for AutoLoadImages is true. Deleting the key should restore the
> images to both kcontrolrc and akregator.
I had no such section in my kcontrolrc and akregatorrc files. After adding AutoLoadImages=true nothing changes :/ Should I try with the migration script?
 
> Be forewarned that setting AutoLoadImages=true in akregatorrc will download all
> images in each feed article. To disable images in the feed articles requires
> AutoLoadImages=false. Yet doing that disables images in the akregator welcome
> page too. That bug is noted in bug report 1360.
Well, in fact Akregator does not download images in the feeds (very annoying), but it didn't download them even when everything worked fine with panels (that is before update to 3.5.13.1)
Comment 25 Darrell 2012-12-11 11:52:21 CST
Akregator inherits the HTML settings of konqueror unless overridden in akregatorrc. Before trying migratekde3, check your konqueror settings:

Settings->Configure Konqueror->Web Behavior->Automatically load images
Comment 26 Jan Stolarek 2012-12-13 09:14:28 CST
Unbelievable. It turns out that panels were broken because I enabled AdBlock filters in Konqueror. If I turn off AdBlock filters everything works. I think I had filters enabled before the update.
Comment 27 Jan Stolarek 2012-12-14 01:23:20 CST
(In reply to comment #26)
> Unbelievable. It turns out that panels were broken because I enabled AdBlock
> filters in Konqueror. If I turn off AdBlock filters everything works. I think I
> had filters enabled before the update.

On my second machine with KDE 3.5.10 + OpenSUSE 11.4 I have AdBlock filters enabled in Konqueror and everything works correct: panels are displayed as they should, images are displayed in Akregator.
Comment 28 Darrell 2012-12-16 20:43:03 CST
Perhaps you could isolate which specific filter causes the problem? Split the filter list in half. If the blockage persists then split the remaining list in half again. If the problem disappears then the problematic filter is in the deleted filters. Split that list in half and continue the process until the problematic filter remains.

To correctly resolve this bug report we need to determine why the problem does not occur in 3.5.10.
Comment 29 Darrell 2013-08-14 23:47:23 CDT
Any progress with this report?
Comment 30 Jan Stolarek 2013-08-15 12:24:36 CDT
Sorry, I didn't have time to track this one down and I won't have access to the machine this problem originally appeared for the next 2 months, so I'm closing this report. If it ever happens again and I'll have the time to find the exact cause I'll post it here or on the list.
Comment 31 Darrell 2013-08-15 13:51:29 CDT
Okay, thanks. Bug reports can be reopened at any time. :-)