KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
100617
:
yahoo protocol shows huge fonts
P
roduct
:
kopete
Co
m
ponent
:
Yahoo Plugin
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
0.10
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
20
Description
:
Opened:
2005-03-02 03:24
Last Changed:
2005-05-13 06:40:13
Version: 0.10 (using KDE 3.4.0, Gentoo) Compiler: gcc version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7) OS: Linux (i686) release 2.6.11-rc5-bk2 huge fonts are from my GF. She says she is using a 12 point font. I've tried Settings->Configure Kopete->Appearance->Color & Fonts->Do not show user * options, but kopete still shows huge fonts for yahoo.
Comment
#1
Norberto Bensa 2005-03-02 03:28:46
Created an attachment (id=9913)
[details]
screenshot shows huge fonts
Comment
#2
Chris Gow 2005-03-02 03:57:03
I've seen this happen to me too. It appears to be yahoo client specific. For example, when a yahoo contact of mine switched to IM2 I started to experience the above scenerio. But when they switched back to trillian, the conversations were normal again.
Comment
#3
Andrei Slavoiu 2005-04-04 14:52:45
This used to happen before 0.10 when talking with someone using a weired Windows client that didn't even support unicode, now it got worse, it happened when talking with contacts using GAIM and Yahoo Messenger 6.
Comment
#4
Punit Agrawal 2005-04-07 12:40:45
I get this behaviour when somebody at the other end is using a beta version of the yahoo messenger client. I can get the exact version of the client if required
Comment
#5
Mrugesh Karnik 2005-04-11 17:24:03
I had the problem when the contact changed the font from Arial 10 black to Verdana 8 red. The contact uses the latest (Whatever version that might be) of the official Yahoo client on Windows.
Comment
#6
Norberto Bensa 2005-04-11 18:45:00
Mrugesh Karnik wrote:
> I had the problem when the contact changed the font from Arial 10 > black to Verdana 8 red.
In fact, anything on the other side not size 10 will produce huge fonts. Regards, Norberto
Comment
#7
Andre Duffeck 2005-05-10 19:25:25
Created an attachment (id=10983)
[details]
This patch should solve this problem. It at least does against the current gaim (1.2.1)
Comment
#8
Matt Rogers 2005-05-11 02:34:28
Does the patch breaking any of the other font handling? Please test with the official yahoo linux client if you can to test. Thanks
Comment
#9
Andre Duffeck 2005-05-11 08:19:34
Ok, i´ll try asap
Comment
#10
Andre Duffeck 2005-05-11 21:24:03
tested with the official yahoo linux client and everything's fine.
Comment
#11
Matt Rogers 2005-05-13 06:33:22
SVN commit 413011 by mattr: Fix the big fonts people are seeing in
bug 100617
. Patch by Andre Duffeck <andre at duffeck.de>. Thanks for the patch! :) CCBUG: 100617 M +2 -8 trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp --- trunk/KDE/kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp #413010:413011 @@ -639,14 +639,8 @@ kdDebug(14180) << "Message after stripping color codes '" << newMsgText << "'" << endl; - newMsgText.replace("<font","</font><font"); - // if message contained <font>, remove first </font> and add </font> to end - int index = newMsgText.find("</font>"); - if ( index != -1 ) - { - newMsgText.remove(index, 7); - newMsgText.append("</font>"); - } + newMsgText.replace( QRegExp("<font([^>]*)size=\"([^>]*)\"([^>]*)>"), + QString::fromLatin1("<font\\1style=\"font-size:\\2pt\">" ) ); kdDebug(14180) << "Message after fixing font tags '" << newMsgText << "'" << endl;
Comment
#12
Matt Rogers 2005-05-13 06:40:13
SVN commit 413014 by mattr: Fix the big fonts people are seeing in
bug 100617
. Patch by Andre Duffeck <andre at duffeck dot de>. Thanks for the patch! Backported from HEAD, should be in KDE 3.4.1 BUG: 100617 M +2 -8 branches/KDE/3.4/kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp --- branches/KDE/3.4/kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp #413013:413014 @@ -628,14 +628,8 @@ kdDebug(14180) << "Message after stripping color codes '" << newMsgText << "'" << endl; - newMsgText.replace("<font","</font><font"); - // if message contained <font>, remove first </font> and add </font> to end - int index = newMsgText.find("</font>"); - if ( index != -1 ) - { - newMsgText.remove(index, 7); - newMsgText.append("</font>"); - } + newMsgText.replace( QRegExp("<font([^>]*)size=\"([^>]*)\"([^>]*)>"), + QString::fromLatin1("<font\\1style=\"font-size:\\2pt\">" ) ); kdDebug(14180) << "Message after fixing font tags '" << newMsgText << "'" << endl;
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
People
Reporter
:
Norberto Bensa
Assigned To
:
Kopete Developers
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
screenshot shows huge fonts
(51.04 KB, image/png)
2005-03-02 03:28
,
Norberto Bensa
Details
This patch should solve this problem. It at least does against the current gaim (1.2.1)
(893 bytes, patch)
2005-05-10 19:25
,
Andre Duffeck
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In