| Summary: | [Menu] Menu is activated if a mnemonic is used to create a shell | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tbuschto | ||||
| Version: | 2.2 | ||||||
| Target Milestone: | 2.2 M3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fixed with commit 2f61b1248a1d5cf2ea9b8f853b957758c5c8f5ec. Basically because I registered the MnemonicHandler#deactivate method directly as a listener for changes in the activate state of the shell it interpreted the event object as a boolean that allowed the method to active the menu. Confusing, I know... :-) |
Created attachment 236200 [details] Snippet 1. Run attached Snippet 2. Press "CTRL+ALT+B" 3. Menu gets activated even though a non-menu mnemonic was triggered.