Bug 103780

Summary: context menu "delete" entry should apply for the currently selected text only
Product: [Applications] knotes Reporter: Wolfram R. Sieber <Wolfram.R.Sieber>
Component: generalAssignee: Michael Brade <brade>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wolfram R. Sieber 2005-04-13 10:36:01 UTC
Version:           Unbekannt (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8)
OS:                Linux (i686) release 2.6.8-2-k7

In the knotes context menu there are three sections of available actions. One of them is: cut / copy / paste / delete.

Since the delete action is listed together with cut, copy and paste, it persuades it behaves similar. But under KDE 3.3.2 / knotes 3.4 it does not: If you select a piece of text and then use the cut action, only the selected part will be cut off. On the other hand, if you use Delete it erases all text of the whole note. That's a bit unexpectedly.

Therefore the delete action should be visually separated from the three others (i.e. by placing Delete into another section) or it should behave like Cut, Copy, and Paste. (Paste behvaes similiar to Cut and Copy, too, since it doesn't overwrite the whole note but inserts chunks of text.)
Comment 1 Michael Brade 2006-01-07 17:18:47 UTC
SVN commit 495279 by brade:

Fixed #103780: Separate "Clear" action visually from Cut/Copy/Paste
since it's not doing anything with the clipboard.

BUG: 103780



 M  +5 -0      ChangeLog  
 M  +2 -1      knotesui.rc  


--- branches/KDE/3.5/kdepim/knotes/ChangeLog #495278:495279
@@ -3,6 +3,11 @@
 
 2006/01/06  Michael Brade <brade@kde.org>
 
+    * fixed #103780: Separate "Clear" action visually from Cut/Copy/Paste
+      since it's not doing anything with the clipboard.
+
+2006/01/06  Michael Brade <brade@kde.org>
+
     * fix enabling/disabling of font and font size combos. Needed especially
       for Kontact where the toolbar is not hidden for non-RichText notes.
 
--- branches/KDE/3.5/kdepim/knotes/knotesui.rc #495278:495279
@@ -1,6 +1,6 @@
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
 
-<kpartgui name="KNotes" version="8">
+<kpartgui name="KNotes" version="9">
 
 <Menu name="note_context" noMerge="1">
     <Action name="insert_date"/>
@@ -50,6 +50,7 @@
     <Action name="edit_cut"/>
     <Action name="edit_copy"/>
     <Action name="edit_paste"/>
+    <Separator/>
     <Action name="edit_clear"/>
     <Separator/>
     <Action name="edit_select_all"/>