View Issue Details

IDProjectCategoryView StatusLast Update
0017033ScribusStory Editor / Text Framespublic2023-11-04 09:09
Reporterale Assigned Toale  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.7.0.svn 
Fixed in Version1.6.0.svn 
Summary0017033: Copying a frame does not activate paste when editing inside of a frame
Description- copy a frame
- enter the edit mode in a different frame
- look into the edit context menu for paste the frame as an inline item
Tagspatch
PatchYes

Activities

ale

2023-10-19 07:55

manager  

copy-paste.gif (177,554 bytes)   
copy-paste.gif (177,554 bytes)   

ale

2023-10-19 10:52

manager   ~0050392

this enables it...
context-paste-item.diff (1,163 bytes)   
diff --git a/scribus/ui/contextmenu.cpp b/scribus/ui/contextmenu.cpp
index 879244b06..b61962bec 100644
--- a/scribus/ui/contextmenu.cpp
+++ b/scribus/ui/contextmenu.cpp
@@ -493,7 +493,7 @@ void ContextMenu::createMenuItems_Selection()
 		menuEdit->addAction(m_ScMW->scrActions["editCut"]);
 	if (!(currItem->isSingleSel))
 		menuEdit->addAction(m_ScMW->scrActions["editCopy"]);
-	if (((m_doc->appMode == modeEdit && currItem->itemType() == PageItem::TextFrame) || (m_doc->appMode == modeEditTable && currItem->itemType() == PageItem::Table)) && (ScMimeData::clipboardHasScribusText()||ScMimeData::clipboardHasPlainText()) )
+	if (((m_doc->appMode == modeEdit && currItem->itemType() == PageItem::TextFrame) || (m_doc->appMode == modeEditTable && currItem->itemType() == PageItem::Table)) && (ScMimeData::clipboardHasScribusText() || ScMimeData::clipboardHasScribusElem() || ScMimeData::clipboardHasPlainText()) )
 		menuEdit->addAction(m_ScMW->scrActions["editPaste"]);
 	if (!currItem->locked() && (m_doc->appMode != modeEdit)  && (m_doc->appMode != modeEditTable) && (!(currItem->isSingleSel)))
 		menuEdit->addAction(m_ScMW->scrActions["itemDelete"]);
context-paste-item.diff (1,163 bytes)   

jghali

2023-10-20 16:12

administrator   ~0050394

Applied, thanks!

Issue History

Date Modified Username Field Change
2023-10-19 07:55 ale New Issue
2023-10-19 07:55 ale File Added: copy-paste.gif
2023-10-19 10:52 ale Note Added: 0050392
2023-10-19 10:52 ale File Added: context-paste-item.diff
2023-10-19 10:53 ale Summary copying a frame does not activate paste when editing inside of a frame => [PATCH] copying a frame does not activate paste when editing inside of a frame
2023-10-19 10:53 ale Patch No => Yes
2023-10-19 10:54 ale Tag Attached: patch
2023-10-20 16:12 jghali Assigned To => ale
2023-10-20 16:12 jghali Status new => resolved
2023-10-20 16:12 jghali Resolution open => fixed
2023-10-20 16:12 jghali Note Added: 0050394
2023-10-20 16:13 jghali Fixed in Version => 1.6.0.svn
2023-10-20 16:13 jghali Summary [PATCH] copying a frame does not activate paste when editing inside of a frame => Copying a frame does not activate paste when editing inside of a frame
2023-11-04 09:09 cbradney Status resolved => closed