Bug 394403 - File content not always shown
Summary: File content not always shown
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2012-11-15 11:09 EST by Achim Gehrke CLA
Modified: 2020-02-16 09:12 EST (History)
2 users (show)

See Also:


Attachments
damage view of a Java class : This is painted to explain the problem, this is not a "real screenshot". (41.17 KB, image/pjpeg)
2012-11-20 04:06 EST, Achim Gehrke CLA
no flags Details
damaged list of methods : This is a real screenshot made yesterday. (128.93 KB, image/pjpeg)
2012-11-20 04:08 EST, Achim Gehrke CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Gehrke CLA 2012-11-15 11:09:29 EST
When I try to open a Java-Class, that has not been opend in that project before, I type Ctrl-T, type the beginning of the class-name an select the class. A card with the filename is shown, the methods of the class are listed, but SOMETIMES the content of the class is NOT shown on that card.
So I click on one of the listed methods to update the content of the class ... and the content of the class is still not displayed.
I still try to find the conditions to reproduce this problem...
Comment 1 Achim Gehrke CLA 2012-11-19 07:14:27 EST
Today I had the same with the list of methods:
I swiched to a card with a priviously opend file.
The text of the file was shown, but only the previously selected method was shown in the list of methods.
By clicking in the list of methods in "blank lines" the "unseen selected" methods were shown "click by click" in the list.
Perhaps switching to another application and back "solves" the problem by full redraw.
Comment 2 Dani Megert CLA 2012-11-19 07:55:06 EST
What do you mean by "card"? The tab or the Java editor?
Comment 3 Achim Gehrke CLA 2012-11-19 12:37:39 EST
"A card with the filename is shown, ..." (from my comment from 2012-11-15).

I meant with that "card" a "tab" with the Java file on it.
To me the difference between the tab and the Java editor is hard to see, because the list of methods has to be provided by the Java editor. And this list is not on the "tab" (or "card").

Do you need some screenshots?
Comment 4 Dani Megert CLA 2012-11-20 03:20:50 EST
(In reply to comment #3)
> "A card with the filename is shown, ..." (from my comment from 2012-11-15).
> 
> I meant with that "card" a "tab" with the Java file on it.
> To me the difference between the tab and the Java editor is hard to see,
> because the list of methods has to be provided by the Java editor. And this
> list is not on the "tab" (or "card").
> 
> Do you need some screenshots?

Yes, please. I have no clue what you're talking about - sorry ;-)
Comment 5 Achim Gehrke CLA 2012-11-20 04:06:45 EST
Created attachment 223742 [details]
damage view of a Java class : This is painted to explain the problem, this is not a "real screenshot".
Comment 6 Achim Gehrke CLA 2012-11-20 04:08:30 EST
Created attachment 223743 [details]
damaged list of methods : This is a real screenshot made yesterday.
Comment 7 Dani Megert CLA 2012-11-20 09:52:45 EST
(In reply to comment #6)
> Created attachment 223743 [details]
> damaged list of methods : This is a real screenshot made yesterday.

And the yellow instead of the methods is real? Strange.

Is there anything in the .metadata/.log file?

Does the problem also happen on 3.8.1?
http://download.eclipse.org/eclipse/downloads/drops/R-3.8.1-201209141540/
Comment 8 Achim Gehrke CLA 2012-11-20 11:15:21 EST
> And the yellow instead of the methods is real? Strange.

Yes, it is real.
But the yellow is my "normal color" of selected frame.
According to http://www.eclipse.org/forums/index.php/t/329928/ I have adapted in \eclipse\plugins\org.eclipse.platform_4.2.1.v201209141800\css\e4_default_winxp_blu.css to

.MPartStack.active {
	swt-unselected-tabs-color: #00FF00 #FFFF00 100%;
    swt-outer-keyline-color: #B8C7E5;
}

So the problem is, that most methods are not shown. But the yellow "arround" is o.k.

> Is there anything in the .metadata/.log file?

Yes, there are some items listed, but nothing about the problem with the list of methods:
I made the screenshot at 2012-11-19 12:01.
In .metadata/.log the next item after start on 2012-11-19 is from 12:33.

> Does the problem also happen on 3.8.1?

I've not tested this until now.
Probably it might be hard to reproduce even on 4.2.1...
Comment 9 Thomas Schindl CLA 2012-11-20 11:47:17 EST
I have seen this happening also on 4.2.1 but no errors are in the log - but I only saw them in the editor area but probably the reason was that I've not opened new views by then (BTW this is happend to me on Mac). 

The editor was shown when I forced a relayout e.g. dragging the sash, ... . On the next start I have not seen this anymore so. So this looks to me like a layout problem
Comment 10 Eclipse Genie CLA 2020-02-16 09:12:05 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.