View Issue Details

IDProjectCategoryView StatusLast Update
0002343ScribusStory Editor / Text Framespublic2015-04-30 02:58
Reporterjo-hannes Assigned Tocbradney  
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Summary0002343: [PATCH] inconsistent handling of locked status with changing text
Descriptiondeleting content is not possible but changing the text is. my preference: make it an option to lock either everything or everything but text.
TagsNo tags attached.
PatchYes

Relationships

related to 0009588 new Missing error message when pasting on locked background shape 
related to 0003606 closedcbradney group/ungroup unavailable on context menu for locked items 

Activities

mhanski

2006-04-08 17:13

developer   ~0009705

deleting of the text frame content is possible, you've probably meant deleting the frame itself?

jo-hannes

2006-04-21 17:09

developer   ~0010248

how can you? i cannot. clear content is disabled here in 1.3.3.1

mhanski

2006-04-21 17:41

developer   ~0010251

Last edited: 2006-04-21 17:49

Edit/Select All/DEL

Now I see, what you've meant with "deleting": Edit/Contents/Clear, right?

mkoren

2006-11-03 22:17

reporter   ~0013265

I agree, you can edit text or replace it using get text or sample text when frame is locked, so you should be able to delete it.

FirasH

2015-04-29 12:43

reporter  

2343-TestedPatch.diff (663 bytes)   

diff --git a/scribus/appmodehelper.cpp b/scribus/appmodehelper.cpp
--- a/scribus/appmodehelper.cpp
+++ b/scribus/appmodehelper.cpp
@@ -908,8 +908,8 @@
 			(*a_scrActions)["itemSendToPattern"]->setEnabled(!inAnEditMode);
 			(*a_scrActions)["itemSendToInline"]->setEnabled(!inAnEditMode);
 			(*a_scrActions)["editCut"]->setEnabled(false);
-			(*a_scrActions)["editClearContents"]->setEnabled(false);
-			(*a_scrActions)["editTruncateContents"]->setEnabled(false);
+			//(*a_scrActions)["editClearContents"]->setEnabled(false);
+			//(*a_scrActions)["editTruncateContents"]->setEnabled(false);
 			(*a_scrActions)["toolsRotate"]->setEnabled(false);
 		}
 		else
2343-TestedPatch.diff (663 bytes)   

FirasH

2015-04-29 12:44

reporter   ~0034990

Uploaded tested .diff against 1.5.0 (20035).

Kunda

2015-04-29 12:46

updater   ~0034991

added to patch status

FirasH

2015-04-29 13:05

reporter  

2343-Backport(1.4.6.svn).diff (560 bytes)   

diff --git a/scribus/scribus.cpp b/scribus/scribus.cpp
--- a/scribus/scribus.cpp
+++ b/scribus/scribus.cpp
@@ -3342,7 +3342,7 @@
 			scrMenuMgr->setMenuEnabled("itemSendToScrapbook", !(currItem->isTableItem && currItem->isSingleSel));
 			scrActions["itemSendToPattern"]->setEnabled(!(currItem->isTableItem && currItem->isSingleSel));
 			scrActions["editCut"]->setEnabled(false);
-			scrActions["editClearContents"]->setEnabled(false);
+			//scrActions["editClearContents"]->setEnabled(false);
 			scrActions["toolsRotate"]->setEnabled(false);
 		}
 		else

Issue History

Date Modified Username Field Change
2005-08-01 11:02 jo-hannes New Issue
2006-04-08 17:12 mhanski Severity minor => feature
2006-04-08 17:13 mhanski Note Added: 0009705
2006-04-21 14:13 mhanski Status new => feedback
2006-04-21 17:09 jo-hannes Note Added: 0010248
2006-04-21 17:41 mhanski Note Added: 0010251
2006-04-21 17:49 mhanski Note Edited: 0010251
2006-04-21 17:52 mhanski Status feedback => confirmed
2006-04-24 13:37 mhanski Relationship added related to 0003606
2006-11-03 22:17 mkoren Note Added: 0013265
2015-04-29 12:43 FirasH Assigned To => FirasH
2015-04-29 12:43 FirasH Status confirmed => assigned
2015-04-29 12:43 FirasH File Added: 2343-TestedPatch.diff
2015-04-29 12:44 FirasH Note Added: 0034990
2015-04-29 12:46 Kunda Patch => Yes
2015-04-29 12:46 Kunda Note Added: 0034991
2015-04-29 12:46 Kunda Summary inconsistent handling of locked status with changing text => [PATCH] inconsistent handling of locked status with changing text
2015-04-29 13:05 FirasH File Added: 2343-Backport(1.4.6.svn).diff
2015-04-30 00:40 Kunda Assigned To FirasH => cbradney
2015-04-30 02:58 Kunda Relationship added related to 0009588
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames