Bug 416101 - Undo confirmation dialog after rename opens in multiple windows
Summary: Undo confirmation dialog after rename opens in multiple windows
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 18:27 EDT by Nathan Ridge CLA
Modified: 2020-09-04 15:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Ridge CLA 2013-08-28 18:27:29 EDT
Steps to reproduce:

1. Create a project with a header file that declares a function and a source file that calls it.
2. Open a second eclipse window using Window -> New Window.
3. Open the header file in both windows.
4. Rename the function in one of the windows.
5. Undo the rename. A dialog comes up over the window where the undo was performed, saying
   "Undoing 'Rename method 'foo'' affects elements outside of  'test.hpp'. Continue?"
6. Press OK --> now the same dialog comes up over the second window!

I think the dialog coming up over the second window is strange and unnecessary.

Worse, while the dialog is over the second window, the first window is in a nonresponsive state, and if the second window was minimized or hidden by another window, one can easily fail to realize it's there and think that Eclipse is hanging.