Bug 128759 - incorrect next/previous word jumps
Summary: incorrect next/previous word jumps
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 16:46 UTC by Maciej Pilichowski
Modified: 2008-04-21 12:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2006-06-07 16:46:01 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs

I think that Konqueror should utilize existing algorithm from Kate -- it would prevent bugs like this:

You can try it in the edit-box (location edit-box too), textarea, etc.

Test test "test

Konqueror jumps

|Test |test |"test

instead of

|Test |test "|test
Comment 1 Thiago Macieira 2006-06-11 12:37:53 UTC
Why is the current behaviour wrong?
Comment 2 Maciej Pilichowski 2006-06-11 13:34:57 UTC
Because 

"test

is not a word,

test

is.

Even if you don't agree I think the KDE apps should present uniformed sense of what common functions. Now for kate the word is
test
for Konqueror
"test

Kind of mess.
Comment 3 Thiago Macieira 2006-06-11 14:20:48 UTC
Considering Kate has just changed its word-stopping mechanism to stop before AND after the " (since it's what developers expect), I don't agree.

I find it much more useful to stop at non-whitespace characters than at what a word is or looks like. Should it stop at the @ in an email address? Or at all dots in it? Maybe in the slashes in an http:// URL?
Comment 4 Maciej Pilichowski 2006-06-11 15:14:49 UTC
Thiago, my main concern is this -- uniform behavior. 

The rest I can accept with no problem. In case if you are asking in my opinion it should stop only at the beginning of word plus/minus underscore. So for me such cases are very clear (| stops):
|http://|www.|kde.|org/
|devil666 |something
|and |now |quotation

As I said the only not so clear case (for me) is
word_with_underline

Comment 5 Jo Øiongen 2008-04-20 14:50:49 UTC
Still inconsistent behaviour,using Konqueror 4.0.3 in Kubuntu 8.04, but that might be the way we want it?
Comment 6 George Goldberg 2008-04-21 10:03:30 UTC
since the current behaviour seems to be intended (comment #3) I am changing this to a wish.
Comment 7 Maciej Pilichowski 2008-04-21 12:40:09 UTC
Once again -- there is no bug in behaviour per se, the bug (flaw) is if every app redefines next/previous word jump in its own way.

And I very doubt _this_ was intended.