Bug 213246 - khtml selecting half letters
Summary: khtml selecting half letters
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.3.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-05 13:53 UTC by esigra
Modified: 2009-11-30 11:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot. (24.44 KB, image/png)
2009-11-05 13:54 UTC, esigra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esigra 2009-11-05 13:53:52 UTC
Version:           4.3.1 (using KDE 4.3.1)
OS:                Linux
Installed from:    Gentoo Packages

Go to [http://techbase.kde.org/Getting_Started/Sources/Anonymous_SVN] and select text as shown in the attached screenshot. (It may require the same screen DPI and font setting as I have to reproduce.)
Comment 1 esigra 2009-11-05 13:54:42 UTC
Created attachment 38112 [details]
Screenshot.
Comment 2 FiNeX 2009-11-29 22:51:24 UTC
Is bug #216092 a duplicate of this bug?
Comment 3 Germain Garand 2009-11-30 05:36:17 UTC
@FiNeX no, this bug is independent, I'll commit a fix for this in a moment.
Comment 4 Germain Garand 2009-11-30 06:06:26 UTC
SVN commit 1056420 by ggarand:

. convert the Selection's DOM offsets to Rendered offsets before using them
  on the rendered string (#166241, #216092)
. use slow font width algorithm when drawing selection for more accurate
  placement (#213246)

BUG: 166241
BUG: 216092
BUG: 213246

 M  +10 -7     khtml_part.cpp  
 M  +3 -3      rendering/render_text.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1056420
Comment 5 FiNeX 2009-11-30 11:58:48 UTC
Ok, thanks :)