Modify

Opened 16 years ago

Closed 16 years ago

#3389 closed defect (fixed)

[PATCH] "delete confirmation" message dialogue

Reported by: vsandre Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: delete Cc: igor.podolskiy@…

Description

Using the delete mode and moving (not clicking) the mouse over an element which goes outside of the downloaded area causes the delete confirmation message dialogue. This is very annoying.

Using r2044 probably since r2026.

Attachments (1)

check_outlying_deletes.patch (592 bytes ) - added by podolsir 16 years ago.
Make the dialog appear iff we're not simulating the delete

Download all attachments as: .zip

Change History (6)

comment:1 by vsandre, 16 years ago

Summary: deleting outside of the downloaded area"delete confirmation" message dialogue

comment:2 by Gubaer, 16 years ago

Priority: criticalnormal

Can't reproduce.

What do you mean with "moving"? In can click and "move" or "drag" and I don't get a delete confirmation message.

Lowering priority to normal.

comment:3 by podolsir, 16 years ago

Cc: igor.podolskiy@… added

I could reproduce it with r2026 with r2049. The dialog was shown in response to a mouse hover event over a node. The code in DeleteCommand.delete() is checking whether the delete is real or simulated but does this in the wrong order:

   if (!checkAndConfirmOutlyingDeletes(...) && !simulate)
      return null;

The check and confirm part shows the confirmation dialog which it clearly should do only if we're not simulating (i.e. on clicks only, not on hovers). I'll upload a patch in a second.

by podolsir, 16 years ago

Make the dialog appear iff we're not simulating the delete

comment:4 by podolsir, 16 years ago

Summary: "delete confirmation" message dialogue[PATCH] "delete confirmation" message dialogue

comment:5 by Gubaer, 16 years ago

Resolution: fixed
Status: newclosed

(In [2054]) applied #3389: patch by podolsir: "delete confirmation" message dialogue
cleanup of ExtendedDialog in DeleteCommand

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.