History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-14866
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Anton Makeev
Reporter: Jonas Kvarnstrom
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

"Cannot Undo" dialog with empty file list after reformatting twice

Created: 19 Feb 07 20:26   Updated: 05 Aug 08 19:50
Component/s: Editor. Editing Text
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Relates
 
This issue is related to:
IDEADEV-14520 Undo issues Normal Open

Build: 6,708
Severity: Medium


 Description  « Hide
Press ctrl-alt-L + enter to reformat the current file. Press Ctrl-Z – you can undo.

Press ctrl-alt-L + enter to reformat the current file. Press ctrl-alt-L + enter again, which is a no-op action since the file is already reformatted. Press Ctrl-Z – you get a "cannot undo" dialog complaining about an empty list of problem files.

Related to http://jetbrains.net/jira/browse/IDEA-9528 but I don't know if it's the same issue since it happens under different circumstances.

(By the way, the message should probably be something like "The following files affected by this action have already been changed". And you should say which action you mean, or perhaps say something like "affected by the action you are trying to undo".)



 All   Comments   Work Log   Change History      Sort Order:
Jonas Kvarnstrom - 21 Aug 07 11:27
It seems I can't reproduce this in 7.0M2.

Sascha Weinreuter - 21 Aug 07 11:59
Still see this in #7230. Although it could be related to a plugin, especially the Copyright plugin likes to interfere with the Undo, though usually only when creating new files.

Jonas Kvarnstrom - 21 Aug 07 14:33
OK, I guess it is still there then. I've never used the Copyright plugin so there had to be something else responsible when I experienced the problem.