Review Request: Make Ctrl+L toggle between editable modes of KUrlNavigator

Andreas Pakulat apaku at gmx.de
Mon Jan 25 19:29:20 GMT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2729/#review3877
-----------------------------------------------------------


No way, at least not as default shortcut on an widely-used widget - IMHO. The choice wether that shortcut should be set on the widget belongs to the application hosting it, not the widget itself. So provide an API that allows setting a shortcut for toggling the editable modes, but please don't set a shortcut as default.

- Andreas


On 2010-01-25 16:22:18, Harsh J wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/2729/
> -----------------------------------------------------------
> 
> (Updated 2010-01-25 16:22:18)
> 
> 
> Review request for kdelibs and Shaun Reich.
> 
> 
> Summary
> -------
> 
> This patch proposes to make the Ctrl+L shortcut of the breadcrumb/edit bar toggle between the editable modes. Dolphin toggles its bar in the same way (using one single shortcut) so why not this - as sreich pointed out on #kde-devel :)
> 
> Ctrl+Return would still make it switch back to non-editable mode, no edits made with that behaviour.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdelibs/kfile/kfilewidget.cpp 1079650 
> 
> Diff: http://reviewboard.kde.org/r/2729/diff
> 
> 
> Testing
> -------
> 
> Hitting Ctrl+L (After a logout/login) makes it toggle between editable modes, just like the behavior is in Dolphin. Selection of the text upon edit mode remains unchanged, like before.
> 
> 
> Thanks,
> 
> Harsh
> 
>





More information about the kde-core-devel mailing list