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

Bug 323959

Summary: [KeyBindings] Shortcut for "Refresh" (default: F5) is not always associated
Product: [Eclipse Project] Platform Reporter: Philip Gillißen <philip.gillissen>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact: Paul Webster <pwebster>
Severity: minor    
Priority: P3 CC: h.klene, harawata, philip.gillissen, remy.suen
Version: 4.0   
Target Milestone: 3.8   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot when Refresh has no shortcut
none
Screenshot with Refresh having a shortcut none

Description Philip Gillißen CLA 2010-08-30 08:10:03 EDT
Build Identifier: 20090621-0832

If a file has changed on the hard disk and Eclipse should refresh the workspace, the shortcut for refresh is not always associated with the command from the context menu.

This inconsistency is very annoying because you don't know if Eclipse will refresh the folder.

Reproducible: Sometimes

Steps to Reproduce:
1. Project folder is out of sync with filesystem
2. Click in the Project Navigator on the current project folder
3. Right click on the folder and see if the shortcut (default: F5) is mentioned next to the command "Refresh"

Attached you can see a screenshot when the shortcut is not activated. I will try to attach a screenshot if it is associated.
I did _not_ change the shortcut preferences.
Comment 1 Philip Gillißen CLA 2010-08-30 08:14:06 EDT
Created attachment 177722 [details]
Screenshot when Refresh has no shortcut
Comment 2 Philip Gillißen CLA 2010-08-30 08:31:09 EDT
Created attachment 177724 [details]
Screenshot with Refresh having a shortcut
Comment 3 Eric Moffatt CLA 2010-08-31 15:33:59 EDT
philip, is it possible that some other component is over-riding the key binding (i.e. perhaps a specific editor also has a command bound to F5)?
Comment 4 Philip Gillißen CLA 2010-09-01 01:43:57 EDT
Eric wrote (comment3):
> is it possible that some other component is over-riding the key binding
> (i.e. perhaps a specific editor also has a command bound to F5)?

I don't think so but is there a possibility to log keybinding associations? So I could see if the key binding is "stolen" by another component.
Comment 5 Paul Webster CLA 2011-04-01 13:04:53 EDT
(In reply to comment #4)
> I don't think so but is there a possibility to log keybinding associations? So
> I could see if the key binding is "stolen" by another component.

Yes, sorry about responding to this late:

http://wiki.eclipse.org/Platform_Command_Framework#Tracing_Option

PW
Comment 6 Holger Klene CLA 2012-04-13 19:10:38 EDT
Is this a duplicate of bug 246483?
Comment 7 Paul Webster CLA 2012-04-16 07:34:53 EDT
Thanx Holger
PW

*** This bug has been marked as a duplicate of bug 246483 ***