Bug 103780 - context menu "delete" entry should apply for the currently selected text only
Summary: context menu "delete" entry should apply for the currently selected text only
Status: RESOLVED FIXED
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Brade
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-13 10:36 UTC by Wolfram R. Sieber
Modified: 2006-01-07 17:18 UTC (History)
0 users

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 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"/>