Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323838

Summary: "Run on Dirty" only works on editor in focus
Product: [Modeling] EMF Reporter: Ashwani Kr Sharma <ashw.kumar>
Component: Query2Assignee: Project Inbox <emf.query2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ashw.kumar
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch for this bug wayne.beaton: iplog+

Description Ashwani Kr Sharma CLA 2010-08-27 10:54:11 EDT
Build Identifier: 

The query returns incorrect results, if editor having dirty resource is not in focus.
It is only based on editors in focus.

Reproducible: Always

Steps to Reproduce:
1. Make a Resource dirty using Editor
2. Keep the editor in focus
3. Run "Run Query with Dirty State" in Query View
It runs fine

Now focus on some other editor and repeat step3. The query returns incorrect results.
It is only based on editors in focus
Comment 1 Ashwani Kr Sharma CLA 2010-08-27 10:55:30 EDT
Created attachment 177620 [details]
Patch for this bug
Comment 2 Bernd Kolb CLA 2010-09-07 06:08:02 EDT
Looks good. Patch applied
Thx!