View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012791 | Scribus | Undo/Redo | public | 2014-10-24 17:22 | 2014-11-26 22:04 |
Reporter | FirasH | Assigned To | cbradney | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | openSUSE | OS Version | 13.2 |
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0012791: [PATCH] Undo/Redo does not update layers level in Windows > Outline | ||||
Description | Undo/Redo does not update layers level in Windows > Outline. | ||||
Steps To Reproduce | 0) Create a new document 1) Open: Windows > Outline/Layers 2) Add a few layers from Windows > Layers Make sure to enable the visibility of "Page 1" layers/items list in Windows > Outline. 3) Raise/Lower the layers The level of the layers is correctly updated in Windows > Outline. 4) Undo/Redo step 2/3 The level of the layers is not updated in Windows > Outline. Applying a change, like adding a Shape, updates Outline palette. | ||||
Additional Information | 1.5.0.svn (19610) | ||||
Tags | No tags attached. | ||||
Patch | Yes | ||||
child of | 0012500 | acknowledged | Metabug: Undo/Redo (1.5.x.svn) |
|
12791-Patch.diff (481 bytes)
Index: scribus/scribusdoc.cpp =================================================================== --- scribus/scribusdoc.cpp (revisione 19636) +++ scribus/scribusdoc.cpp (copia locale) @@ -2308,6 +2308,8 @@ scMW()->layerPalette->setActiveLayer(layerLevelFromID(ss->getInt("ACTIVE")),0); m_ScMW->changeLayer(ss->getInt("ACTIVE")); m_ScMW->layerPalette->rebuildList(); + if (m_ScMW->outlinePalette->isVisible()) + m_ScMW->outlinePalette->BuildTree(); } } } |
|
The attached patch is tested and seems working correctly. |
|
Thanks cbradney! |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-24 17:22 | FirasH | New Issue | |
2014-10-24 17:22 | FirasH | Relationship added | child of 0012500 |
2014-11-22 20:33 | FirasH | Patch | => Yes |
2014-11-22 20:33 | FirasH | Steps to Reproduce Updated | |
2014-11-22 20:33 | FirasH | File Added: 12791-Patch.diff | |
2014-11-22 20:34 | FirasH | Note Added: 0034231 | |
2014-11-23 10:16 | FirasH | Summary | Undo/Redo does not update layers level in Windows > Outline => [PATCH] Undo/Redo does not update layers level in Windows > Outline |
2014-11-26 21:12 | cbradney | Status | new => resolved |
2014-11-26 21:12 | cbradney | Fixed in Version | => 1.5.0svn |
2014-11-26 21:12 | cbradney | Resolution | open => fixed |
2014-11-26 21:12 | cbradney | Assigned To | => cbradney |
2014-11-26 22:04 | FirasH | Note Added: 0034250 | |
2014-11-26 22:04 | FirasH | Status | resolved => closed |