| Summary: | [dialogs] No "Refresh project" button in the "Out of sync with file system" window. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Vitaly "_Vi" Shukela <_vi> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | daniel_megert, eclipse, martinae, remy.suen |
| Version: | 3.3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
|
Description
Vitaly "_Vi" Shukela
>The pop up window "Resource is out of sync with file system" There is no single such dialog. You have to tell us what exactly you did to get this dialog. See also: http://www.eclipse.org/eclipse/platform-text/development/bug-incomplete.htm Please reopen after providing the needed information. 1. Create some project. (Example: Java project, "qqq") 2. Create new file in it (Example: File->New->Class, "Main"). 3. rm qqq/src/Main.java 4. (Eclipse offers to save absend file, refuse). 5. Remove qqq->src->(default package)->Main.java in Package manager. 6. The dialog pops up: Title: Confirm Delete Text: Resource '/qqq/src/Main.java/ is out of sync with file system. Button: OK. 7. When user press "OK", it returns to Package Manager and the Main.java is still in the list. What expected: "Refresh project" button in this message box, selected by default. The action is the same as F5 (refresh) in Package manager. Inexperienced users don't know what do to when they receive "Out of sync" message. Build id: M20080221-1800 java version "1.6.0_02" Java(TM) SE Runtime Environment (build 1.6.0_02-b05) Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing) No interesting entries in .log file >Package Manager
You probably meant Project Explorer or Package Explorer as there is no 'Package Manager' in Eclipse SDK.
The problem is that many actions can trigger an out of sync and if we start to add this button we need to have it everywhere.
Martin: suggest to close or move to Platform UI for general advice.
As Dani said, this is difficult to implement. The error is created a place that doesn't know how it was invoked. The dialog shows errors without being able to know how to fix it or what to suggest how to fix it. No plans for this at the moment. May be then write about Project->Refresh in the message text? Something like "Resource '/qqq/src/Main.java/ is out of sync with file system. You should refresh your project (Project context menu -> Refresh)" The problem is generated in core.resources, so they don't know about menus and actions and in which context the error occurred. *** Bug 325104 has been marked as a duplicate of this bug. *** |