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

Bug 191129

Summary: [misc] Class File Editor cuts off header text
Product: [Eclipse Project] JDT Reporter: Stephan Herrmann <stephan.herrmann>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P5 CC: markus.kell.r
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot 1 of Class File Editor
none
screenshot 2 of Class File Editor none

Description Stephan Herrmann CLA 2007-06-05 17:50:52 EDT
This is Eclipse 3.3RC1 with gtk 2.10.6-0ubuntu3.1

Opening a class from a plug-in dependency without
source code attachment opens the Class File Editor.
The header of this editor has a fixed width as to show
the sentence: "The JAR of this class file belongs to ..."

If the window size is insufficient for this header, the
editor is clipped off at the right. As a result the 
vertical scrollbar is invisible. The horizontal scrollbar
is does not work (as if 100% of the window were visible).

Mouse wheel still works, though.
Comment 1 Stephan Herrmann CLA 2007-06-05 17:53:36 EDT
Created attachment 70232 [details]
screenshot 1 of Class File Editor

Screenshot shows a Class File Editor unable to scroll
(except by mouse wheel).
Comment 2 Stephan Herrmann CLA 2007-06-05 17:56:18 EDT
Created attachment 70234 [details]
screenshot 2 of Class File Editor

When enlarging the editor the vertical scrollbar appears 
exactly at the end of the text in the header (fixed position).
Comment 3 Dani Megert CLA 2007-06-06 03:02:54 EDT
This has been improved for RC3 (see bug 189931) but is still not perfect as it now wraps at a fixed size.

No more work currently planned on this.
Comment 4 Dani Megert CLA 2007-06-22 09:59:11 EDT
Get rid of deprecated state.
Comment 5 Stephan Herrmann CLA 2011-06-28 13:02:55 EDT
Using 3.7 on Linux/KDE I don't see a problem any more.

In addition to the one hard wrap between sentences (which doesn't hurt)
if the editor gets narrow additional line wraps are inserted as needed.
The disassembled code does not wrap but I assume that's intended
and doesn't conflict with showing the vertical scrollbar anyway.

From this I'm fine with closing WORKSFORME or DUPLICATE of bug 189931
Comment 6 Markus Keller CLA 2011-06-28 14:19:35 EDT

*** This bug has been marked as a duplicate of bug 189931 ***