Bug 549602 - Spurious local file in recreated folder
Summary: Spurious local file in recreated folder
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-27 12:10 EDT by Ed Willink CLA
Modified: 2021-07-17 08:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2019-07-27 12:10:22 EDT
Immediate symptom. Using 4.12 on Windows, I can refresh a project and see a file that does not actually exist in the file system. Examining the properties of the file location/size/last-modified shows each as file is not local.

The file in question is in an auto-generated project, so the sequence of events was

Auto-generate project.
Edit a (Java) file in the auto-generated project and keep the file open.
Run the auto-generator which
- deletes the auto-generated project
--- file system has no copy of file
--- editor is now editing a local-only file
-- refresh the package explorer
-- file is not shown
- recreate the project/folder hierarchy of the troublesome file
-- refresh the package explorer
-- file is shown

Surely the local-only file should not be shown in the Package Explorer, since surely a Package Explorer refresh should synchronize to match the file system?

(Eventually, if I choose to restore focus to the still-open editor, the normal pop-up should assist me in restoring/retaining/reverting content as normal.)
Comment 1 Eclipse Genie CLA 2021-07-17 08:02:04 EDT
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.
Comment 2 Ed Willink CLA 2021-07-17 08:10:39 EDT
Surely cannot be CLOSED until triaged by a relevant committer?