[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622597: marked as done (libreoffice-writer: Copy from a heading erroneously copies the (unselected) heading number also)



Your message dated Mon, 7 Mar 2016 16:06:36 +0100 (CET)
with message-id <1673410445.142789593.1457363196459.JavaMail.root@zimbra51-e8.priv.proxad.net>
and subject line Re : Bug #622597 - libreoffice-writer: Copy from a heading erroneously copies the (unselected) heading number also
has caused the Debian Bug report #622597,
regarding libreoffice-writer: Copy from a heading erroneously copies the (unselected) heading number also
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
622597: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622597
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---

Package: openoffice.org-writer
Version: 1:3.3.0-8
Severity: normal


This is a regression in copying, it wasn'tt like this before.

Example: I have a document with the heading
"1.2 Multiprotocol label switching"
and want to copy that in order to paste it into another editor (LyX).

I select the text only (Multiprotocol label switching), press ctrl+c,
switch to the other editor, does a paste.

I expect to paste: "Multiprotocol label switching"
but I get: "1.2 Multiprotocol label switching"

The problem is that now I have to remove the numbers for every
heading I copy like this. Even though I took care to *not* select
the number! Earlier versions of openoffice did not have this problem,
so it is a regression.

Pasting into openoffice itself works, apparently openoffice knows
how to "discard" the unwanted number. But that should not be necessary.

Note that the number gets copied even if I only select part of the
heading. I.e. "Label" becomes "1.2 Label" This does not make sense.

Suggested fix: Do not copy the heading number onto the clipboard
when it isn't selected. Because the user clearly don't want it in
that case. (It is selectable by selecting from the previous line)

Even better: Don't copy the number, not even when all of the heading
is selected. Because:
 * If the user pastes into openoffice, then OO will know that this
   is a heading. And so OO can number it corrrectly. The copied
   number is likely to be wrong.
 * If the user pastes into another editor, then it likely has its
   own scheme for numbering headers automatically. So the number from
   OO is not wanted as raw text, and it is probably wrong anyway.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openoffice.org-writer depends on:
ii libreoffice-writer 1:3.3.1-1 office productivity suite -- word

openoffice.org-writer recommends no packages.

openoffice.org-writer suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Hello Helge,

On Wed, 13 Apr 2011 11:12:55 +0200 Helge Hafting <helge.hafting@hist.no> wrote:
>
> Package: openoffice.org-writer
> Version: 1:3.3.0-8
> Severity: normal
>
> This is a regression in copying, it wasn'tt like this before.
>
> Example: I have a document with the heading
> "1.2 Multiprotocol label switching"
> and want to copy that in order to paste it into another editor (LyX).
>
> I select the text only (Multiprotocol label switching), press ctrl+c,
> switch to the other editor, does a paste.
>
> I expect to paste: "Multiprotocol label switching"
> but I get: "1.2 Multiprotocol label switching"
>
> The problem is that now I have to remove the numbers for every
> heading I copy like this. Even though I took care to *not* select
> the number! Earlier versions of openoffice did not have this problem,
> so it is a regression.

This bug has been already reported to LO devs and they responded that this is not a bug but a feature. I cite [1] :

> Michael Stahl 2013-04-23 15:58:06 CEST
> 
> this is not a bug but a feature.
> 
> if you copy the whole heading you also want the chapter numbering,
> because otherwise the only alternative is to type in the chapter numbering manually
> in the target application, which is a lot more annoying than deleting it
> in the rare case where you don't want it.

I close this bug after doing follow the link to the original report.

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=36322

Regards,

-- 
Stéphane Aulery

--- End Message ---

Reply to: