Issue 87025 - Ctrl+DragDrop does not work anymore
Summary: Ctrl+DragDrop does not work anymore
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4 RC4
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 84957
  Show dependency tree
 
Reported: 2008-03-14 10:15 UTC by bmarcelly
Modified: 2013-08-07 14:42 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch to solve this issue (692 bytes, patch)
2008-03-14 15:05 UTC, Oliver-Rainer Wittmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2008-03-14 10:15:21 UTC
Open a Writer document, write some words.
Select one word.
With the mouse Control + drag and drop elsewhere in the document.
The mouse cursor says it will make a copy. But nothing happens at drop!

Used to work in previous versions... regression.
Found on 2.4.0 RC2 today, still buggy on 2.4.0 RC5.
Comment 1 bmarcelly 2008-03-14 10:16:45 UTC
Adding keyword regression
Comment 2 michael.ruess 2008-03-14 11:01:56 UTC
Cannot reproduce, works fine her in RC4. Maybe a corrupted/old configuration?
Try with deleting c:\documents and settings\[username]\application
data\OpenOffice.org2 before starting OOo next time.
Comment 3 stefan.baltzer 2008-03-14 11:30:19 UTC
SBA: Declared as showstopper for OOo 2.4 after discussion with MH.
Set target OOo 2.4. Reassigned to OD.
Comment 4 michael.ruess 2008-03-14 11:31:56 UTC
When pressing Ctrl first and then dragging, copy will fail. When pressing Ctrl
while dragging, copy process will work.
Comment 5 merschmann 2008-03-14 12:04:43 UTC
The help file says that you have to push CTRL or SHIFT+CTRL before releasing the
mousebutton.
So for me this works as designed, as described by mru.
Comment 6 Oliver-Rainer Wittmann 2008-03-14 12:07:27 UTC
Investigation reveals that the in SRC680m238 the behavior has changed.
Comment 7 bmarcelly 2008-03-14 12:34:14 UTC
--> volkerme
Help on Dragging and Dropping Within a OpenOffice.org Document
"If you press Ctrl or Shift+Ctrl while releasing the mouse button, you can control 
whether the object is copied, moved, or a link is created."
That's what I do: 
a)press Ctrl
b)press mouse button
c)move mouse -> the mouse cursor displays with a +
d)release mouse button. Nothing happens.

It is not said that you press Ctrl during the move.

My method works in many applications, it should continue to work in OpenOffice.
Comment 8 jolatt 2008-03-14 13:12:36 UTC
bmarcelly: Are you sure that's a regression?

It works as described in the help.

Help says: If you press Ctrl or Shift+Ctrl while releasing the mouse button ...
What you are doing is not according to the help.

The behaviour can/should be changed, so that the moment pressing Ctrl is irrelevant.

As it works as described in the help -> NO SHOWSTOPPER 
Comment 9 bmarcelly 2008-03-14 13:40:34 UTC
-> jolatt
"It works as described in the help."

No. You are playing on words. Read again the help and my last description.

- The Ctrl key _is_ pressed when I release the mouse button. This way is included in 
the help phrase.
- Moreover, the mouse cursor has changed to "copying" while dragging, so OOo has 
recognized the situation. It's a regression.
 
Comment 10 Oliver-Rainer Wittmann 2008-03-14 14:37:06 UTC
fix in progress.

defect cause:
The selection, containing the dragged text, is by accident destroyed on
performing drop. Introduced by a code snippet, which is introduced for the block
selection/copy-and-paste/drag-and-drop

Comment 11 Oliver-Rainer Wittmann 2008-03-14 15:03:51 UTC
fixed - changed file:
/sw/source/ui/dochdl/swdtflvr.cxx

patch will be attached.
Comment 12 Oliver-Rainer Wittmann 2008-03-14 15:05:17 UTC
Created attachment 52100 [details]
patch to solve this issue
Comment 13 Oliver-Rainer Wittmann 2008-03-14 15:06:25 UTC
OD->MRU:
Please check fix with internally provided libraries
Comment 14 Oliver-Rainer Wittmann 2008-03-14 15:51:45 UTC
ES took over the testing
Comment 15 kurt.zenker 2008-03-14 15:59:44 UTC
Does this also affect the OOo 3.0?
Comment 16 eric.savary 2008-03-14 16:28:49 UTC
Verified on Master OOH_m11 with libraries.
Comment 17 michael.ruess 2008-03-14 16:46:14 UTC
MRU->KZ: yes, I just tested the DEV300m3 and the bug also occurs there.
Comment 18 michael.ruess 2008-03-17 15:08:12 UTC
Checked fix n 680m12.