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

Bug 66889

Summary: [ViewMgmt] Package explorer message clipped
Product: [Eclipse Project] Platform Reporter: Thomas M??der <t.s.maeder>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: ob1.eclipse, semion
Version: 3.0Keywords: helpwanted
Target Milestone: 3.6 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Suggested changes ob1.eclipse: iplog+

Description Thomas M??der CLA 2004-06-14 05:17:11 EDT
3.0 RC2

1) set the package explorer to "hierarchical" mode.
2) "go into" org.eclipse.jdt.internal.core
3) observe: the package explorer shows the name of it's input in the title bar.
4) make the package explorer progressively narrower
5) observe: the package name shown in the title bar gets clipped without any
indication that it is clipped. I was mislead into thinking that I was in a
different context.
Comment 1 Dirk Baeumer CLA 2004-06-15 06:12:20 EDT
The text is presented by the view part infrastructure.
Comment 2 Semion Chichelnitsky CLA 2009-09-07 08:52:54 EDT
Created attachment 146600 [details]
Suggested changes

Package name appears in the label, which is topLeft control of the PaneFolder (ViewForm). Problem appears, when this label is clipped by topCenter control (tool bar) - in spite of fact, that layout knows to avoid it by lowering topCenter control below topLeft control. Note, that after first "go into" results of layout  are correct. As far as I understand, reason of the problem is in the missing of leftCache flushing, which should be done after each new setting of text into the topLeft  control.
Comment 3 Oleg Besedin CLA 2009-09-23 15:47:39 EDT
Thank you for the patch! It works very well.

Patch + changes to copyright headers are applied to CVS Head.
Comment 4 Oleg Besedin CLA 2009-10-27 14:04:38 EDT
Verified in I20091027-0100.