View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017033 | Scribus | Story Editor / Text Frames | public | 2023-10-19 07:55 | 2023-11-04 09:09 |
Reporter | ale | Assigned To | ale | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.7.0.svn | ||||
Fixed in Version | 1.6.0.svn | ||||
Summary | 0017033: 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 | ||||
Tags | patch | ||||
Patch | Yes | ||||
|
|
|
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"]); |
|
Applied, thanks! |
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 |