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

Bug 327981

Summary: [context] class files removed from context reappear when switching back to task
Product: z_Archived Reporter: David M. Karr <davidmichaelkarr>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: CLOSED MOVED QA Contact:
Severity: normal    
Priority: P3 CC: shawn.minto, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Exported "Task List and Context" none

Description David M. Karr CLA 2010-10-16 14:43:49 EDT
Build Identifier: 20100917-0705

I often am viewing ".class" files in Eclipse.  I view them with the JD-Eclipse plugin.  However, I find that trying to remove those files from a task context doesn't really work.  If I close the editor tab (and I have "Remove file from context when editor is closed" turned no) the tab goes away, but if I switch to another task and then back to this task, all the class files reappear in the editor.  In one test, I had only three files in my editor view.  I switched to another task and then back to this task, and I now have 50 files in the view, where the other 47 are class files.  I've seen this happen many times.

Reproducible: Always
Comment 1 Steffen Pingel CLA 2010-10-26 04:55:12 EDT
We'll need to investigate this. Would you be able to attach a context to this bug where you are seeing removed elements re-appear?
Comment 2 David M. Karr CLA 2011-04-21 21:34:18 EDT
Created attachment 193897 [details]
Exported "Task List and Context"

In this Eclipse installation, I imported the preferences from an Eclipse installation on another computer.  When I created the preferences, I did "export all".  I imagine something in that list had to do with task contexts.

Whenever I start up this new installation of Eclipse, it puts me in my active task with several files opened in the editor that don't actually exist.  They most likely existed in my Eclipse installation on the other computer.  Each time I start up this new instance, I close those editor windows.  I have the flag set in the preferences to remove files from the context when they are closed.  Nevertheless, every single time I open up this Eclipse instance, those editor tabs reappear.
Comment 3 David M. Karr CLA 2012-10-26 11:58:29 EDT
I reported this just over two years ago now, and I'm annoyed by it every day.
Comment 4 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn