View Issue Details

IDProjectCategoryView StatusLast Update
0012791ScribusUndo/Redopublic2014-11-26 22:04
ReporterFirasH Assigned Tocbradney  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.2
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0012791: [PATCH] Undo/Redo does not update layers level in Windows > Outline
DescriptionUndo/Redo does not update layers level in Windows > Outline.
Steps To Reproduce0) 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 Information1.5.0.svn (19610)
TagsNo tags attached.
PatchYes

Relationships

child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

FirasH

2014-11-22 20:33

reporter  

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();
			}
		}
	}
12791-Patch.diff (481 bytes)   

FirasH

2014-11-22 20:34

reporter   ~0034231

The attached patch is tested and seems working correctly.

FirasH

2014-11-26 22:04

reporter   ~0034250

Thanks cbradney!

Issue History

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