Bug 147171

Summary: WISH: Select the text in the title of new pages
Product: [Applications] kjots Reporter: Stephen Kelly <steveire>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED FIXED    
Severity: wishlist CC: pradeepto
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Patch to implement wish.

Description Stephen Kelly 2007-06-24 17:36:45 UTC
Version:           svn (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Instead of using a dialog for the user to input names of new pages, select the title of the page, so that 'Page 1' etc is ready to be overwritten.

Similar could be done for books.

Patch attached.
Comment 1 Stephen Kelly 2007-06-24 17:38:14 UTC
Created attachment 20941 [details]
Patch to implement wish.
Comment 2 Stephen Kelly 2008-05-13 22:03:18 UTC
Wow, my first attempt at a patch.

Needs to be rewritten. The itemChanged signal is only emitted when the user actually changes the text, but not when she presses enter without changing the text.

Needs a delegate to implement apparently. Might be fixed in KDE 4.2.
Comment 3 Stephen Kelly 2008-07-03 02:11:29 UTC
SVN commit 827447 by skelly:

Select the text of newly created pages ready for editing.

This closes the first bug I tried to patch myself a year ago. :)

BUG: 147171



 M  +23 -2     kjotscomponent.cpp  
 M  +1 -0      kjotscomponent.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=827447