[Libreoffice-bugs] [Bug 46250] EDITING: Paste and Paste Special not available for horizontally adjacent cells to horizontal cell selection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 13 17:04:17 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46250

--- Comment #21 from Noel Power <nopower at novell.com> 2012-08-13 15:04:17 UTC ---
ok, I think there are 2 issues going on here

a)
It appears that the paste-special ( edit menu ) and paste-special ( cell
context
menu ) sometimes appear to be out of sync. This only happens on linux and
despite
my best efforts to waste time ( I spent hours dumping printf(s) into the wrong 
class ) this appears to be intentional. 
http://opengrok.libreoffice.org/xref/core/framework/source/uielement/menubarmanager.cxx#505 
which afaict has been in the source code since libreoffice's code base was
populated from openoffice

b)
selecting some ranges of text renders makes paste special become unavailable.

As for a) I do notice that for calc we do actually appear to actively set/reset 
the state associated paste-special. I will commit a patch to ensure that for 
calc at least paste-special ( edit ) & the paste-special ( context ) will be 
synchonized. By that I mean if 'paste-special' is not available in the context 
menu it will not be available ( or disabled ) in the 'edit' menu from the 
application. I think this might at least ease the confusion

For b) firstly I was never able to reproduce the scenario in comment #3. That 
said there is a rule associated with the shape of the source and destination 
ranges that determines if the paste-special can be used. The rule is simply if 
the destination is a range then if the row or col of the destination range is 
not an exact multiple of the source range paste-special should be disabled.

In essence I think the root of this bug is confusion as to when exactly it is
possible to use paste-special.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list