-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh option only available for projects #1904
Comments
Please try with 4.32 RC2: https://download.eclipse.org/eclipse/downloads/drops4/I20240529-1800 |
@iloveeclipse : unfortunately still an issue :-( |
OK, a very kind & intelligent coworker spotted where the change was introduced: eclipse-platform/eclipse.platform#876 ... this change means that the 'refresh' option is now only shown for open projects (prior to this change refresh was shown unless one of the selections was a closed project). So if refresh was indeed intended to be project-only, then this change results in the 'correct' behavior. If however the Eclipse project would rather continue to allow the refresh menu item for all resources (which is how the JDT plugin des things in the 'Package Explorer' view, and is super-helpful when you have a massive project & you're only looking to refresh a small section) then further changes to bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/ResourceMgmtActionProvider.java would be appreciated, perhaps the following:
... thoughts? I've not got an environment over here that's convenient to test this, but to me it makes sense & largely allows for the old behavior whilst simultaneously retaining the fix introduced by @vogella via the aforementioned ticket. |
Please provide a PR |
It's really easy to set up a development environment automatically via the link there: |
Thanks @merks for the link; I'm just checking with my manager as to what legal hoops I need to jump through before I'm allowed to attempt to contribute here. |
Returns functionality whereby open projects _and_ non-project resources get the 'refresh' contextual menu (option was removed for non-project resources via the fix @ eclipse-platform/eclipse.platform#876 ).
Returns functionality whereby open projects _and_ non-project resources get the 'refresh' contextual menu (option was removed for non-project resources via the fix @ eclipse-platform/eclipse.platform#876 ).
Is this fixed via #2003? Please close if that is the case. |
Hello, the problem is still present for me. |
@c-delanneau : no - the fix I submitted was partial. I'm currently getting approval from my org to submit a revised fix. Apologies for the impact on this. |
As mentioned above, the fix initially checked in was a partial fix. Further changes are needed to resolve this issue. |
Further fixes, since the initial change didn't cover all cases
Closing, since I've opened #2492 as a new issue so that it gets picked up my project admins. |
Reporting this against Eclipse IDE for Java Developers, Version: 2024-03 (4.31.0), Build id: 20240307-1437 ( https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2024-03/R/eclipse-java-2024-03-R-win32-x86_64.zip )
This situation is NOT seen in the previous quarterly release (Version: 2023-12 (4.30.0), Build id: 20231201-2043), and I don't see anything mentioned regarding this functionality @ https://eclipse.dev/eclipse/news/4.31/ . As such I'm guessing this is a bug.
I'm using Eclipse on Windows.
Steps to reproduce
A plugin that I work on has a view that extends org.eclipse.ui.navigator.CommonNavigator . In previous versions this provided 'Refresh (F5)' in the contextual menu for any resource. However as of 2024-03 the mentu option only exists for projects, but not other resources.
Fairly easy to trigger / reproduce. Plug-in Spy tells me the following for the menu entry I'm talking about here:
... I tried to quickly look through things based on this, but I'm not smart enough to see what might be the cause of this.
Community
The text was updated successfully, but these errors were encountered: