| Summary: | wrong task submitted on Alt+s when editor area is split | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Sam Davis <sam.davis> |
| Component: | Mylyn | Assignee: | Sam Davis <sam.davis> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Sam Davis
What I wanted to say was: when two task editors are active in different editor stacks, the selection is not correctly set, so pushing alt+s always submits the same task, regardless of which editor is actually active. I can not reproduce the submit problem. For me submit is triggered on the active task editor. Can you provide steps to reproduce? Handling of editor restore for split layout is tracked on bug 166644. It works in some cases but here's a way to reliably reproduce: # open 2 tasks # drag the second task below the first # activate the first task # push alt+s # the second task is submitted. Thanks for the bug report. Sam, let me know if you are interested in looking into this. Sure, I will look into this. The reason this happens is that the label on the 2 submit buttons starts with '&' so (on Windows at least) pushing Alt+Shift+S is *sometimes* interpreted as Alt+S and therefore pushes one of those buttons instead of triggering the command via the keybinding. Boy was I confused when I saw it firing selection events on the button when it should have been firing the command! Alt+S always seems to submit the most recently opened task editor, when more than one is visible. The fact that Alt+S has this behaviour seems like a platform bug, but it may be that editors just shouldn't define accelerators this way because it is ambigious when mulitple editors are visible at the same time. I wonder what e4 does in this case. I am not able to reproduce the original bug at this moment, so I wonder if the problem was actually my wireless keyboard failing to send all three keys. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |