| Summary: | Pixmap widget style engine is broken on TDE | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Alex Couture <ac586133> |
| Component: | tdelibs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | 20kth2013.95, ac586133, bugwatch, darrella, fatzer2, kb9vqf |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
Pixmaps pictures not loaded
Kde 3.3.2 with RiscOS pixmap theme working |
||
|
Description
Alex Couture
2013-08-03 21:24:23 CDT
Is this a bug report or whish list/enhancement request? Hi, It is a bug report because it is something that worked well on older KDE releases. I guess that it has probably not been tested enough and since not everybody wanted to use pixmaps-based themes, it has not been seen. The pixmaps aren't loaded. This is probably not something hard to resolve because the structure loads itself, as you can see in the screenshot. -Alexandre Funny, but in the theme description/configuration file, it says that it needs basicstyle.la (and probably basicstyle.so, as the other themes) to work, but I tried back my old KNOPPIX livecd where pixmap themes works and the file basicstyle.la is not present... Does someone have this file somewhere? -Alexandre The only reference I find online is to something called KThemeCreator. Hi, I'm pretty sure that the reason why it doesn't work is because the path where TDE expects the pixmaps to be is not the right one. I tried to put the complete path to the pixmaps files, but it looks like it doesn't work! Maybe pixmaps are expected to be in the standard place for kde : /usr/... It is probably just that either TDE has a bug which makes it unable to load and display the pixmaps, or it doesn't look at the right place. Since QTCurve probably won't work on R14 because of much bigger issues, it would be nice to have this theme engine in a working state. Look at bug report no 1489 Thanks! -Alexandre Most packages found at kde-look.org that were designed for KDE3 need to have the sources updated or "massaged" into the TQt3 system. That includes fixing various path issues during the configuration and compilation. I don't know to what extent that applies to themes. Probably not much if at all.
Then again, possibly pixmap theme support fell by the proverbial wayside because nobody was using them. So perhaps original code needs to be tweaked for Trinity and perhaps some pixmap related bugs exist too. Possibly pixmap support no longer exists in Trinity. I posted a related query in the developer's mail list.
Now that I wrote those weasel word disclaimers :-), I downloaded the referenced theme archive. The README says to run the install.sh script to install the theme package. I looked at the install.sh script. I see some things that need to change. The install.sh should be updated to at least the following:
==================
#!/bin/bash
if [ "$TDEHOME" = "" ]; then
TDEHOME=`find ${HOME} -name ".trinity" -type d -maxdepth 1`
fi
if [ "$TDEHOME" = "" ]; then
echo "Unable to find your \$TDEHOME profile directory (usually \$HOME/.trinity)."
else
for i in ${TDEHOME}; do
mkdir -p ${TDEHOME}/share/apps/kstyle/pixmaps/acqua
mkdir -p ${TDEHOME}/share/apps/kstyle/themes
mkdir -p ${TDEHOME}/share/apps/twin/icewm-themes/Acqua
mkdir -p ${TDEHOME}/share/wallpapers
cp -rf pixmaps/acqua/* ${TDEHOME}/share/apps/kstyle/pixmaps/acqua/
cp -rf themes/* ${TDEHOME}/share/apps/kstyle/themes/
cp -rf icewm-themes/Acqua/* ${TDEHOME}/share/apps/twin/icewm-themes/Acqua/
cp -rf wallpapers/* ${TDEHOME}/share/wallpapers/
kinstalltheme
done
echo "Acqua for TDE installed."
fi
==================
I ran the updated script with no errors. At this point though I don't know what I'm supposed to see that you did not in your original report. I am able to select the theme Risc OS. The widget buttons change. The toolbar icons remains crystalsvg. Just about everything has a black border surrounding widgets, such as toolbars and buttons. What else should I see or not see?
Something is broken in Trinity. The tdelibs package installs a set of riscos files in the kstyle/pixmaps directory. Yet the riscos option does not appear in the list of kcontrol styles until after I install the acqua-3.2 files. Then both options finally appear in the drop-down list. I tested this on my 3.5.10 virtual machine and saw the same results. Neither option appeared in kcontrol until after installing the acqua-3.2 files. The pixmaps were broken in 3.5.10 too. Something does not get initialized correctly when installing tdelibs or creating a new profile. That tdelibs still installs those files means at least that much should function correctly. I opened konsole and manually ran kinstalltheme. Then the riscos option appeared in kcontrol (although the pixmaps still did not load). I tested this with a new profile and accepted all the defaults of kpersonalizer. Once again riscos does not appear in the list until manually running the kinstalltheme command. Looks like two problems here: 1. The original report: the pixmaps never appear. 2. kinstalltheme does not get run at any time during installation or new user profile setup. Yes, I adapted too the install script before I ran it on my computer,so that the files could go at the right place. By looking at the configuration file of the theme, I can see that it probably does not need modification. If what you see when you select ''Riscos'' theme is like what you you can see in the screenshot I provided, then you get the same result as me. The Riscos has a more marble-like background and buttons, you can look at the pixmaps to get an idea of what it is supposed to be. Just a little detail on something that has been written on the dev. mailing list: Keramik is not a pixmap-based theme. Actually, the themes that are working on TDE are all programmed theme. -Alexandre Created attachment 1459 [details]
Kde 3.3.2 with RiscOS pixmap theme working
I have a KNOPPIX 3.8 live CD at home. Possibly my first linux cd...
It runs KDE 3.3.2 and pixmaps themes works on it.
Do you want me to upload it on filefactory, so that testing could be done on it?
-Alexandre
Upload a CD if you wish. Posting some screen shots here in the bug report would help. Hi, Here is the link to the KNOPPIX CD: http://www.filefactory.com/file/5qzedtzxfte3/knoppix.iso The 2 attachments to the bug report are screenshots. The first one is on PCLinuxOS with 3.5.13.2 and the second one is on KNOPPIX with 3.3.2 Thanks! -Alexandre I'm not one of the project code gurus, but hopefully that additional information helps. :-) Maybe one day this one will get some attention! Have a nice day! -Alexandre (In reply to Alex Couture from comment #13) > Maybe one day this one will get some attention! > > Have a nice day! > -Alexandre I would like to work on this but as it isn't a regression in TDE from KDE 3.5.10 it's pretty much been pushed to the bottom of the list until all the regressions are fixed and some of the more recent breakage (think compressed PPDs, logind, etc.) has been fixed. Hi, There is no problem with that. I understand that it is not even an issue and it certainly don't need to be present in R14. Only if one day someone really has a lot of time to loose :) -Alexandre Hi, Do you think that on of the actual theme engine could be modified to get its widgets ''parts'' from png files in a folder? By this, I'm talking about maybe the gtk2 or the new gtk3 theme engine. Thank you! -Alexandre |