Bug 58678 - EDITING: paste special options incorrect after undo of paste after cut
Summary: EDITING: paste special options incorrect after undo of paste after cut
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 11:19 UTC by Winfried Donkers
Modified: 2013-04-03 11:01 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
sample document used in description. (7.68 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-12-23 11:19 UTC, Winfried Donkers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Winfried Donkers 2012-12-23 11:19:43 UTC
Created attachment 72020 [details]
sample document used in description.

Problem description: 
(based on sample document in attachment)
Steps to reproduce:
1. select row 2
2. cut
3. click on A4
4. open paste special dialog (ignore if shift down is disabled an shift right is enabled, this is patched under bug 56098)
5. select don't shift
6. selection is pasted 
7. undo 
8. click on A5
9. open paste special dialog; both shift-option are available, which is not correct. Shift right should be disabled (shift down in case of patch for bug 56098 not yet applied)

Analog for cutting columns or other ranges.

The cause for this behaviour is in /core/sc/source/ui/view/cellsh1.cxx on line 1266: pOwnClip->GetDocument()->IsCutMode() returns false when it ought to return true.

(I stumbled upon this bug whilst working on bug 56098, but the problem described here is unrelated to bug 56098.)

              
Operating System: All
Version: 3.6.4.3 release
Comment 1 Winfried Donkers 2013-04-03 11:01:23 UTC
Problem has been fixed with extended fix for bug #56098