| Summary: | Allow to copy commit hash via context menu > Copy | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Dani Megert <daniel_megert> |
| Component: | UI | Assignee: | Dani Megert <daniel_megert> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r, matthias.sohn, remy.suen |
| Version: | 1.1 | ||
| Target Milestone: | 1.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dani Megert
Pushed http://egit.eclipse.org/r/4669 for review. Re enablement problems discussed in http://egit.eclipse.org/r/#change,4669 : This is not Mac-specific. Steps to reproduce are: - select the SHA => Copy is enabled (good) - click into Message field - right-click the title field => Copy enabled (should be disabled) The problem is that HeaderText(Form, String) contains titleLabel.addFocusListener(new FocusAdapter() { public void focusLost(FocusEvent e) { titleLabel.setSelection(0); } }); This changes the selection without notifying selection listeners. (In reply to comment #2) > Re enablement problems discussed in http://egit.eclipse.org/r/#change,4669 : > This is not Mac-specific. > > Steps to reproduce are: > - select the SHA > => Copy is enabled (good) > - click into Message field > - right-click the title field > => Copy enabled (should be disabled) > > The problem is that HeaderText(Form, String) contains > titleLabel.addFocusListener(new FocusAdapter() { > public void focusLost(FocusEvent e) { > titleLabel.setSelection(0); > } > }); > > This changes the selection without notifying selection listeners. Thanks for checking. merged as 5922341006cdaffcf83f034cb6bbb063ae499ee6 Verified in org.eclipse.egit.ui_1.3.0.201201221914. |