| Summary: | Two find dialogs appear at once when hitting Ctrl+F on Preview tab | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Nicolas Bros <nicolas.bros> | ||||||
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> | ||||||
| Status: | RESOLVED WONTFIX | QA Contact: | David Green <greensopinion> | ||||||
| Severity: | trivial | ||||||||
| Priority: | P3 | ||||||||
| Version: | 1.5 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Thanks for the bug! Looks like we should probably change the editor context when switching to the preview tab. Created attachment 204978 [details]
mylyn/context/zip
I've tried deactivating the editor context and it's a dead-end: the underlying text editor context is still active. Thinking that activating a new context when on the preview tab might be the way to go: that way we could register our own find command handler. Alternatively, we could try capturing the CTRL+F key event and setting @doit=false@. Closed as part of backlog clean-up. Please re-open if you'd like to see this revisited, perhaps with a contribution. |
Created attachment 204946 [details] screenshot - I open a .mediawiki file - I switch to the Preview tab - I hit Ctrl+F I get two "find" dialogs : the browser's native find dialog (I believe it's Internet Explorer's in my case) and the Eclipse editor find dialog : see the attached screenshot The native dialog works, and the Eclipse find dialog doesn't work on the preview tab since it doesn't know how to search in a SWT Browser. Instead, it searches text in the "source" tab, which is not visible at that time (resulting in a confusing user experience). So, I think the Eclipse find dialog should be prevented from appearing when the editor receives Ctrl+F while on the preview tab.