Bug 124050 - awkward text selection algorithm
Summary: awkward text selection algorithm
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 08:56 UTC by Maciej Pilichowski
Modified: 2008-05-19 16:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
opera selection with start&end marks (42.10 KB, image/jpeg)
2006-03-25 16:12 UTC, Maciej Pilichowski
Details
konqueror selection (42.32 KB, image/jpeg)
2006-03-25 16:13 UTC, Maciej Pilichowski
Details
Screenshot showing why (126.76 KB, image/png)
2006-03-25 19:23 UTC, Thiago Macieira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2006-03-22 08:56:13 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs

It looks like continuation of https://bugs.kde.org/show_bug.cgi?id=54395 but it closed now so I make a new report.

Go to http://bugs.kde.org/show_bug.cgi?id=124027. Look at the first comment, place mouse cursor just after ending word /"sort"/. The mouse cursor should change, press left-mouse button and move to the left. Correct selection, right? Ok.

Now unselect text, place mouse cursor a bit more to the right from "sort", the mouse cursor should be an arrow. Now try to select "word". You can't. And what is more surprising there are several paragraphs selected even those one which are above start and end point of selection!
Comment 1 Thiago Macieira 2006-03-25 15:10:31 UTC
Firefox and Opera behave the same, as far as I can tell. There's nothing weird about the algo.
Comment 2 Maciej Pilichowski 2006-03-25 16:11:20 UTC
You are really fast with closing reports :-( Take a closer look. At the opera screenshot I marked the start with the red line and the end with the blue one. 
Comment 3 Maciej Pilichowski 2006-03-25 16:12:17 UTC
Created attachment 15293 [details]
opera selection with start&end marks
Comment 4 Maciej Pilichowski 2006-03-25 16:13:11 UTC
Created attachment 15294 [details]
konqueror selection
Comment 5 Thiago Macieira 2006-03-25 19:23:25 UTC
Created attachment 15307 [details]
Screenshot showing why

Now I can see it. I was testing the wrong "sort" word.

The attached screenshot is what the DOM tree highlights as the <TT> block
containing text. I have no idea why it laid out like that.
Comment 6 Marijn Schouten 2006-04-18 14:48:45 UTC
confirmed on 3.5.2
I'm pretty sure that this is a duplicate of Bug 66583
Comment 7 Dirk Stoecker 2006-08-22 10:59:38 UTC

*** This bug has been marked as a duplicate of 66583 ***
Comment 8 Maciej Pilichowski 2008-04-16 10:57:02 UTC
Ok, reopening after discussion in the mentioned report.
Comment 9 Jaime Torres 2008-05-16 18:10:53 UTC
seems to select text as other browsers in trunk 20080507
Comment 10 FiNeX 2008-05-19 16:34:16 UTC
On 3.5.9 the bug is still present. On KDE 4 it has fixed :-)

Great!!! :-)