Bug 145077 - Workspace settings do not affect page breaks
Summary: Workspace settings do not affect page breaks
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major
Target Milestone: 1.0.1   Edit
Assignee: Syed Atif CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 146540 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-02 11:17 EDT by Syed Atif CLA
Modified: 2006-09-26 14:16 EDT (History)
1 user (show)

See Also:


Attachments
Here's a simple patch that fixes this. (1.11 KB, patch)
2006-06-02 11:20 EDT, Syed Atif CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Syed Atif CLA 2006-06-02 11:17:03 EDT
To reproduce:
1. Open/create any GMF editor example.
2. File > Page Setup
3. Select 'Use workspace settings'
4. Press 'Configure workspace settings'.
5. Enter arbitrary values for margin (and perhaps even select a different paper size, e.g. B4).
6. Press OK,OK and observe any changes.
7. goto File > Page Setup again.
8. Press 'Configure workspace settings'. Again, enter _different_ margin values this time.
9. Press OK,OK and observe any changes...there will be none.

When using workspace settings the page break edit part uses 'default' preferences.
Comment 1 Syed Atif CLA 2006-06-02 11:20:42 EDT
Created attachment 43357 [details]
Here's a simple patch that fixes this.

Classes affected:
1. org.eclipse.gmf.runtime.diagram.ui.internal.editparts.PageBreakEditPart
Comment 2 Steven R. Shaw CLA 2006-06-05 08:57:51 EDT
Upgrading severity..  candidate for RC or 3.2.1
Comment 3 Syed Atif CLA 2006-06-06 11:46:58 EDT
Code reviewed by Cherie Mahoney
Comment 4 Steven R. Shaw CLA 2006-06-13 11:38:59 EDT
targetting 1.0.1
Comment 5 Syed Atif CLA 2006-06-15 11:46:21 EDT
*** Bug 146540 has been marked as a duplicate of this bug. ***
Comment 6 Syed Atif CLA 2006-07-18 11:56:53 EDT
patch committed for 1.0.100
Comment 7 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug