Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351411

Summary: [modelexplorer] Invalid parent composite for papyrus model explorer
Product: [Modeling] Papyrus Reporter: Wojciech Trocki <wtrocki>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: cedric.dumoulin, vincent.lorenzo
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot
none
toolbar screenshot none

Description Wojciech Trocki CLA 2011-07-07 05:27:17 EDT
Build Identifier: Modeling Tools Indygo with Papyrus 0.8

See screenshot

Reproducible: Always
Comment 1 Wojciech Trocki CLA 2011-07-07 05:28:00 EDT
Created attachment 199236 [details]
Screenshot
Comment 2 Cedric Dumoulin CLA 2011-07-07 05:51:58 EDT
Can you explain a little bit more what is the problem, and how to reproduce it easily ?
Comment 3 Wojciech Trocki CLA 2011-07-07 06:07:12 EDT
Sometimes (this is hard to reproduce) Model explorer view element extends out of the view. I have this situation more than twice. In all this situations toolbar are also invalid ( Papyrus actions hides save as, print etc. Unfortunately i have removed screenshot for this bug. Is this problem known?

Going back to this bug. I think that DialogSettings for this view sometimes produce problem. There may be a collision of composite size in this view. For me this is very trivial but problems with toolbar are very uncomfortable. Especially when switching between perspectives all tollobar items are in different places.
Comment 4 Wojciech Trocki CLA 2011-07-09 08:04:17 EDT
Created attachment 199370 [details]
toolbar screenshot

When starting eclipse with opened papyrus editor, some actions are overridden by papyrus toolbar action set. See screenshot.
Comment 5 Vincent Lorenzo CLA 2011-09-29 11:52:48 EDT
(In reply to comment #4)
> Created attachment 199370 [details]
> toolbar screenshot
> 
> When starting eclipse with opened papyrus editor, some actions are overridden by
> papyrus toolbar action set. See screenshot.
Could you explain more? I don't understand this 2nd problem...
Comment 6 Wojciech Trocki CLA 2011-09-29 13:01:29 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > Created attachment 199370 [details]
> > toolbar screenshot
> > 
> > When starting eclipse with opened papyrus editor, some actions are overridden by
> > papyrus toolbar action set. See screenshot.
> Could you explain more? I don't understand this 2nd problem...

Hello, Thanks for considering this bug.
Look at toolbar in screenshot. Standard Papyrus actions for creating new diagrams hides eclipse actions like run..., save, open etc. This bug may be hard to reproduce, because it needs to run eclipse with active papyrus perspective and papyrus editor. This problem may happen when eclipse initializing toolbar. Papyrus actions are added dynamically and sometimes "additions" location uri, are invalid and hides other actions.
I try to fix this by myself and I link this action set to papyrus perspective, without adding/removing it when  papyrus diagram editor is active. This completely fix this problem.

Possibly user workaround: turn of papyrus action set (without name) in toolbar customization :)
Comment 7 Ansgar Radermacher CLA 2013-03-27 12:01:01 EDT
Last message on this bug is more than 1,5 years old. I can not reproduce that the model-explorer uses an extended screen area on my Linux machine (Papyrus 0.10.X). Thus, I propose to close this bug, unless you can confirm having seen that recently
Comment 8 Camille Letavernier CLA 2013-05-06 13:59:53 EDT
> Thus, I propose to close this bug, unless you can confirm having seen that recently

I close this task