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

Bug 206874

Summary: The Java Stack Trace Console view gets messed up visually when editing
Product: [Eclipse Project] Platform Reporter: Jonas Berlin <eclipse.bugs>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, eclipse.felipe, ericwill, martinae, snorthov
Version: 3.3.1Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug
Attachments:
Description Flags
The text to copypaste in step 6 none

Description Jonas Berlin CLA 2007-10-19 07:42:48 EDT
Build ID: M20070921-1145

Steps To Reproduce:
1. Start up eclipse with a new workspace (not used before)

2. Close the Welcome screen

3. From the menu choose "Window -> Shov View -> Console"

4. From the Console view toolbar pull down the "Open Console" menu and choose "Java Stack Trace Console"

5. From the Console view toolbar click the "Clear Console" button

6. Paste the following six lines of text into the console (including the line feed after the "Third." line):

bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla bla bla blablabla
foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo foo foo foofoofoo
bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar bar bar barbarbar
 This is the first line after "bla", "foo" and "bar".
 This is the second line.
 Third.

7. Click inside the console to focus it

8. Enter the following keys/key combinations:  "Ctrl-Home", "End", "Delete", "End", "Delete", "Home"

9. Notice how the "foo foo ..." and "bar bar ..." lines are now present both separately AND at the end of the "bla bla ..." line (i.e. appear twice) by scrolling the console horizontally using the bottom scroll bar

10. Also notice that the "Third." line is not visible

11. If you select the entire text region (Ctrl-A) and copy-paste it to another application, the text turns up in the other application as it was expected to appear in the Console view.

12. From the Console view toolbar click the "Close Console" button

13. From the Console view toolbar pull down the "Open Console" menu and choose "Java Stack Trace Console"

14. Notice how the contents now show up properly, i.e. the duplicate "foo foo ..." and "bar bar ..." lines have disappeared and only appear at the end of the "bla bla ..." line.

More information:
Comment 1 Jonas Berlin CLA 2007-10-19 07:46:34 EDT
Created attachment 80759 [details]
The text to copypaste in step 6

Bugzilla word-wrapped the text to copy-paste in step 6, so I attached the text in its original format (unix linefeeds).
Comment 2 Martin Aeschlimann CLA 2007-10-19 09:27:21 EDT
Probably a styled text widget problem.
Comment 3 Steve Northover CLA 2007-10-30 02:51:59 EDT
The "long line" driver bug (again)?
Comment 4 Eric Williams CLA 2016-08-17 14:01:31 EDT
I can actually still reproduce this, tossing back into the pool.
Comment 5 Eclipse Genie CLA 2021-01-22 06:54:49 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.