Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323838 - "Run on Dirty" only works on editor in focus
Summary: "Run on Dirty" only works on editor in focus
Status: RESOLVED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 10:54 EDT by Ashwani Kr Sharma CLA
Modified: 2011-05-17 17:55 EDT (History)
1 user (show)

See Also:


Attachments
Patch for this bug (3.77 KB, patch)
2010-08-27 10:55 EDT, Ashwani Kr Sharma CLA
wayne.beaton: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!