Can we* prettyplease do something about the KUrlNavigator?

Matthew Woehlke mw_triad at users.sourceforge.net
Sat Jun 20 01:21:12 BST 2009


Thomas Lübking wrote:
> Am Friday 19 June 2009 schrieb Matthew Woehlke:
>> To be clear, the point is I don't see this as useful unless I am able to
>> pre-position the caret with a single click. (And even then, not sure how
>> selection would work.)
> Ok. The only problem i see on this is to have the desired position in sight.

IMO it should just calculate it from the existing interface (seems to be 
what you say later). We both know the drawback to that, though...

>> The ideal would be to be able to switch from breadcrumb to edit mode
>> without the text moving...
> Because the current mouseposition mismatches the former clicktarget...
> 
> Do you know the saying about the prophet and the mountain? =D
> 
> One could simply on (modified...!) click:
> - calculate the proper text index to move the caret to (no big deal)
> - show up the lineedit
> - set the caret and...
> - warp the cursor to that position

Cursor warping is evil ;-). If nothing else, it breaks for tablet users. 
(Well, it has its uses, if used conditionally... but...)

Otherwise you're thinking the same thing I am. If there's a good way to 
do this /without/ cursor warping...

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
"The spiraling shape will make you go insane!" -- They Might Be Giants





More information about the kde-core-devel mailing list