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

Key: IDEADEV-6029
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Maxim Shafirov
Reporter: Vincent Mallet
Votes: 16
Watchers: 5
Operations

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

Random Undo confirmation dialogs get in the way.

Created: 06 May 05 07:58   Updated: 09 Dec 06 22:05
Component/s: User Interface
Fix Version/s: 5.1.2, Demetra 5321

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Java Source File PleaseFixUndo.java (0.2 kb)

Image Attachments:

1. BrokenUndo.jpg
(7 kb)

2. UndoWhat.jpg
(4 kb)
Environment: Windows 2000SP3 jdk1.5.0_03
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-5003 Undo prompts "Undo Page Up ?" and fails Resolved
IDEA-4302 Editor "Undo Quick Documentation Look... Resolved
IDEA-4022 nonsensical "Undo Down?" dialog when ... Resolved
IDEA-5125 Undo command show dialog "Undo Undo?" Resolved
IDEA-3060 "Undo Quick Documentation Lookup?" af... Resolved
IDEADEV-3342 Strange Undo message dialog Normal Resolved
IDEADEV-3651 Can't undo changes in Properties mult... Normal Resolved

Build: 3,316
Fixed in build: 5,296


 Description  « Hide
From times to times when editing java files, pressing Ctrl-Z brings up some really random confirmation dialogs, such as "Undo Left?" or "Undo Down?".

Today I just got that one: "Undo?" Of course, undo! Why do you think I pressed Ctrl-Z in the first place!

See attachment.



 All   Comments   Work Log   Change History      Sort Order:
Steve Swing - 10 Aug 05 05:58
See also IDEA-4302 & IDEA-4022

Fabrice Carnet - 15 Sep 05 13:47
It is the third time that the described problem occurs for me. The real problem is that in my case the undo DOES NOT WORK (after selecting OK, nothing happens, no undo is done). So you can't undo, you have just to restart from scratch with your last version in the repository !

Vincent Mallet - 18 May 06 01:47
This issue is really annoying and I'm getting it more often these days. I'm running build #4222 on jdk1.6.0-84 on winxpsp2.

This is such a fundamental editor feature that is so plainly broken. If you can't reproduce it, can't you guys instrument the code so we could report more helpful data when this happens on random occasions?

For example, I just got a "Undo Quick Documentation Lookup?" dialog. This should basically never happen (what is there to undo for a read-only action, really?). You should add an assert somewhere that would fail when such an action gets added to the undo stack. At least, you would have something to start looking at.

This is such a frustrating little detail as it prevents to undo any further.


Vincent Mallet - 18 May 06 02:02
A REPRODUCIBLE TESTCASE! On both Windows & Linux, if that makes any difference.

Given the attached source:

public class PleaseFixUndo {
public static void main(String[] args) { String myUndo = "Please Fix The Undo"; int pos = myUndo.indexOf("Fix"); int x = my<CURSOR>ndo; }
}

(Note that the source is broken on purpose; "myndo" should be red)

o Place cursor where <CURSOR> is
o Move cursor up one line, it should land on "myUndo"
o Ctrl-Shift-I to see quick implementation, ESC to dismiss
o Move cursor down one line, back to original position
o Insert a character (for example, "z")
o Press Ctrl-Z ==> "Undo Up?"

Finally!
Now please fix this.


Vincent Mallet - 23 May 06 19:46
This is reproducible in #5289.