| Summary: | [JFace] StatusDialog should escape ampersand in status message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | UI | Assignee: | Paul Webster <pwebster> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, pwebster, ruediger.herrmann | ||||
| Version: | 3.8 | Keywords: | helpwanted | ||||
| Target Milestone: | 4.3 M4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
There's org.eclipse.jface.action.LegacyActionTools.escapeMnemonics(String) used by org.eclipse.jface.action.StatusLineContributionItem PW Created attachment 224182 [details] Proposed solution These changes escape ampersand characters as suggested in comment #1. The accompanying test case relies on the fact that there exists a single CLabel within the dialog which displays the status message. I'm happy to change that if there is another way to obtain the message when shown. Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7147bbedd962edf38b8e43ff47bd45c4412b2fe3 Thanx Rüdiger. PW Verified in I20121210-2000. |