| Summary: | Kaffeine DVB OSD displays incorrect colors | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | bugwatch, darrella |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | Kaffeine | |
| Attachments: | Fixes an inadvertent "tqt" conversion. | ||
|
Description
Darrell
2011-12-06 20:54:13 CST
Correction: kaffeine/src/player-parts/xine-part/kxinewidget.cpp. Start at line 1522, void KXineWidget::initDvbPalette(). The OSD text and rule/line colors are set at several places depending upon how the code flows. For the text, look for xine_osd_draw_text and notice the DVB_TEXT_BLUE parameter. For the rule/line color look for xine_osd_draw_line and the DVB_COLOR_MAGENTA parameter. I don't where the OSD box color is set but in KDE3 the color is a transparent dark gray. On my system the OSD font text is cyan rather than blue. If the colors are somehow being scrambled, then why not in KDE3 too? Why only TDE? Possibly an indavertent "tqt" conversion? Could be any number of things. Are you using the exact same version of Qt3 for KDE3 and TDE? Using Qt3 3.3.b in KDE3 and 3.3.d in TDE. Created attachment 215 [details]
Fixes an inadvertent "tqt" conversion.
This is not the cause, but I found an inadvertent tqt conversion:
'signalXineStatus' is converted to 'signalXinetqStatus' while none of the other signalXine[] declarations were converted.
I created and tested a patch.
(In reply to comment #3) > Using Qt3 3.3.b in KDE3 and 3.3.d in TDE. This is a possible source of the problem. Something may have changed in Qt 3.3.8d related to color handling, as quite a few patches were rolled in. Can you test KDE3 with Qt 3.3.8d? Yes, you could be on to the cause. I can. I'll need to set this up on my testing partitions. Hmm. Wait a minute. I have to build new KDE3 packages against qt3 3.3.8.d to test that.... It appears that the accidental tqt conversions were already fixed in R14.0 during the renaming project. Did recompiling under Qt 3.3.8d resolve the incorrect color problem? I haven't yet built a special 3.3.8.d package for KDE3. On my to-do list. :) My KDE3 environment is installed to /usr and my current 3.3.8.d package installs to /opt/trinity. Even after I build a special 3.3.8.d package, I would have to rebuild special KDE3 packages against that version of Qt3. So there is some considerable thinking and planning required to test correctly. With that said, I am in the process of rebuilding 3.5.13 packages with some build tweaks. My last 3.5.13 gasp before I start trying to build from GIT. When all of those new 3.5.13 packages are built, I will reinstall on the affected machine and look again at this green OSD problem. This bug report is on my hit list, so sooner or later I'll dig deeper. :) Per a discussion inthe developr's list, the problem seems to be in the way libxinepart.so is built. Comment on attachment 215 [details]
Fixes an inadvertent "tqt" conversion.
This was fixed some time ago dirung automated repairs for R14.0.0
The problem is right here: #if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN TQ_LITTLE_ENDIAN is not defined. Fixed in GIT hash 458e74a. The fix applies to tqtinterface, which needs to be rebuilt and reinstalled before kaffeine is rebuilt and reinstalled. Thanks for reporting! A little quick onthe draw to tag this as resolved without actually testing.... ;) I just back ported the two patches to my 3.5.13 install and tested Kaffeine. Colors look good. :) Nice! |