Community
Participate
Working Groups
Created attachment 244616 [details] Screenshot
Please provide steps to reproduce. PW
Also, can you attach your .log file? http://wiki.eclipse.org/FAQ_Where_can_I_find_that_elusive_.log_file%3F
Steps to reproduce: This didn't use to happen, but now if I close my workspace while Package Explorer is open and then reopen Eclipse, when it loads my workspace back up the Package Explorer tab is duplicated. Also, clicking the X to close the tab behaves strangely: Clicking one of the X's does nothing, clicking the other one closes both tabs. When I go into the Views menu and open Package Explorer again, only one tab comes up. But again, if I close Eclipse and reopen it then I have two tabs again. I hope this helps, it's a very strange bug.
Created attachment 244617 [details] .log file (as requested)
Thanks Brandon. PW
*** Bug 438820 has been marked as a duplicate of this bug. ***
*** Bug 543432 has been marked as a duplicate of this bug. ***
*** Bug 481375 has been marked as a duplicate of this bug. ***
*** Bug 488568 has been marked as a duplicate of this bug. ***
Created attachment 277178 [details] Duplicate Console and Progress Views Duplicate Console and Progress Views
(In reply to Nanda Malve from comment #11) > Created attachment 277178 [details] > Duplicate Console and Progress Views Which Eclipse version is used, do you see any errors in the log, and do you have steps to reproduce?
This issue occurs in eclipse 2018-12 and earlier versions. The error log view does not show any errors. Which eclipse log files should I check for errors? I could check them tomorrow.
Error log view is enough. Better would be to have steps to reproduce.
This reminds me about bug 410164, but there we had errors in the log.
I don't know how this bug is triggered. But if I recall correctly if the workspace is opened with a brand-new eclipse (java version) the issue does not occur.
I'm seeing this frequently with 2018-12 (platform 4.10.0). It happens for instance when I open a view using the Quick Access, and I am not happy with the area initially selected for the view and move the tab and drop it in another area. Usually, two instances of the view are then created in that area, but sometimes the view remains in the previous location *and* appears in the new area. It seems to be a rendering problem (not actually two separate views), since when I close one the other disappears as well. No errors are logged when this happens, but I do have a couple of earlier "Widget is disposed" that seem to be caused by org.eclipse.e4.ui.* code. I will attach those. The platform I am testing on is Fedora 28 (x86_64), Oracle OpenJDK 11.0.2, GTK 3.22.30. There are a lot of "Gtk-CRITICAL" printouts on the console (occurrences of https://bugs.eclipse.org/bugs/show_bug.cgi?id=538000 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=491855). I was under the impression that these are relatively harmless, so I doubt that they are related to this problem. I also wonder if the recently reported bugs on this problem are really duplicates of this bug against 4.3.1. I have been using 4.3-4.5 extensively with none of these problems. With 4.10 it seems to happen "all the time".
Created attachment 277440 [details] .log entries showing Widget is disposed problems
Unfortunately, this also seems to happen when restarting Eclipse. Before restart I had a nicely laid out Java perspective (saved using Save Perspective As...), after File->Restart I got what is shown in the attached screenshot. Notice the duplicate Problems, Error Log, Type Hierarchy and Search (in two different areas) views. Nothing new in the Error log.
Created attachment 277443 [details] Screenshot showing duplicate views
(In reply to Mattias Bertilsson from comment #17) > It seems to be a rendering problem (not actually two separate views), since > when I close one the other disappears as well. Actually, this is not consistent. Closing one of the duplicates, right clicking on the tab and selecting Close, I am sometimes able to close just one of the duplicates. And then have it reappear when I click the other.
(In reply to Mattias Bertilsson from comment #18) > Created attachment 277440 [details] > .log entries showing Widget is disposed problems Unfortunately this looks like a follow-up issue. Are you on X11 or Wayland? Which GTK+ theme are you using? Matthias, do you use "pure" SDK or du you have extra plugins installed? If you can reproduce, can you please provide exact steps, ideally starting with a new workspace?
(In reply to Andrey Loskutov from comment #22) > Are you on X11 or Wayland? Which GTK+ theme are you using? System properties say: org.eclipse.swt.internal.gdk.backend=x11 org.eclipse.swt.internal.gtk.theme=Mint-X-Aqua This matches what "loginctl show-session c2 -p Type" says. The command "gsettings get org.gnome.desktop.interface gtk-theme" says Adwaita, but I think the system property is correct. I use the Cinnamon desktop and the System Settings/Themes tool says "Window Borders: Mint-X, Icons: Mint-X-Aqua, Controls: Mint-X-Aqua, Mouse Pointer: Adwaita, Desktop: Linux Mint" > Matthias, do you use "pure" SDK or du you have extra plugins installed? No, there are extra plugins. The additional top level features are: C/C++ Development Tools SDK 9.6.0.201812111211 EMF - Eclipse Modeling Framework SDK 2.16.0.v21801206-1055 GEF (MVC) SDK 3.11.0.201606061308 Git integration for Eclipse 5.2.0.201812061821-r TCF C/C++ Debugger SDK 1.5.0.201712121722 I see from the log that C/C++ Development tools have some broken contributions, I'll attach those separately. I suspect some incorrect menu contribution paths have nothing to do with duplicated views, though. > If you can reproduce, can you please provide exact steps, ideally starting > with a new workspace? I will try with a fresh workspace and see what happens.
Created attachment 277450 [details] Problematic CDT contributions
Created attachment 277453 [details] Other org.eclipse*.ui entries in .log There are a few other entries in the log. The first three are a few days old, and I think I was still installing / removing / reinstalling features then, so they are probably not relevant. The last one is current, though.
(In reply to Mattias Bertilsson from comment #23) (In reply to Andrey Loskutov from comment #22) No luck reproducing in a new workspace. So, I guess the "all the time" is "all the time, once the metadata has been corrupted". Any files from the old workspace I can attach that would help you pinpoint the problem?
(In reply to Mattias Bertilsson from comment #26) > (In reply to Mattias Bertilsson from comment #23) > (In reply to Andrey Loskutov from comment #22) > > No luck reproducing in a new workspace. > > So, I guess the "all the time" is "all the time, once the metadata has been > corrupted". > > Any files from the old workspace I can attach that would help you pinpoint > the problem? If so, it looks really like bug 410164. Was the workspace created with older Eclipse version? The bug was fixed with 4.9, so bogus metadata from earlier versions could explain why you saw some strange effects.
The problems did first occur when I dragged and dropped views, but this is a fresh new workspace created with a fresh new 4.10 installation.
(In reply to Mattias Bertilsson from comment #28) > The problems did first occur when I dragged and dropped views, but this is a > fresh new workspace created with a fresh new 4.10 installation. OK, in this case we need steps to reproduce. Once we have them, it will be easy to understand where the problem is.
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.