[Libreoffice-bugs] [Bug 129890] New: FORMATTING: Paste into a cell using the middle mouse button destroys the pasted cell's textual formatting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 8 19:00:20 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=129890

            Bug ID: 129890
           Summary: FORMATTING: Paste into a cell using the middle mouse
                    button destroys the pasted cell's textual formatting
           Product: LibreOffice
           Version: 6.4.0.0.beta1+
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kop at karlpinc.com

Description:
Hello,

Pasting into a libreoffice-calc cell with the middle mouse button on
Unix ruins the cell's formatting.


Steps to Reproduce:
0) Start libreoffice.

1) Open a new libreoffice calc window by clicking on "Calc Spreadsheet"
in the "pane" that's down the left hand side of the window.

2) Type something in a cell.  Note that the cell's font, and all
cell's fonts, are "Liberation Sans" with point size "10".  This
according to the little boxes in the left of the menus across the
top of the screen.

3) In the "input line" across the top of the screen use the mouse to
hilight/select the text in the cell.  (Hold down left hand mouse
button while moving mouse pointer over the text.  The selected text
should appear in reverse video.)

4) Use mouse to paste the selected text into another cell. (Move mouse
pointer over the cell and click on the middle mouse button.)



Actual Results:
The pasted text shows up in teeny-weeny font.  The font name shown in
the "font box" in the left hand side of the menus says, in italics:

Segoe UI;Tahoma;Arial Unicode MS;Lucida Sans Unicode;DejaVuSans;Albany
AMT;Albany;Arial;Nimbus Sans
L;InterfaceUser;Geneva;Dialog;Lucida;Helvetica;Helmet;Interface System;Sans
Seri

The neighboring "font size" box says 4.6.

Hovering over the font box with the mouse pointer says: Font Name: The
current font is not available and will be substituted.

The font formatting (and I don't know what else) becomes a permanent
attribute of the cell.  Undo (using ctrl-Z) does not revert the
formatting, although it does empty the cell of the pasted text.



Expected Results:
The selected text should paste without changing the formatting of the
cell pasted into.


Reproducible: Always


User Profile Reset: No



Additional Info:
The problem did not occur in libreoffice 5.2.7 (1:5.2.7-1+deb9u11) on
Debian stretch (9, and subsequent point releases) using the stock
debian packages and a stock debian system.

The problem does occur on Debian buster (10.2) using the stock debian
libreoffice 6.1.5 (1:6.1.5-3+deb10u5).  (And of course with the reported
libreoffice version, 6.4.0.0.beta1.)

If, while typing into the "input line" (the text cursor is in the
input line) you move the mouse over the cell you are typing into and
hilight/select with the mouse and then paste with the mouse into
another cell, the problem does not occur.

If you first click on the cell you want to paste into and then paste
(with the mouse) into the "input line" of that cell, the problem does
not occur.

There does not seem to be a problem when mouse-pasting text selected
from other applications, the terminal, firefox, etc.  (Pasting from firefox
bring with it some text formatting into the pasted cell.  This seems
sane.)


More information:

OS: Debian buster (10.2)
Kernel: Linux box 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)
x86_64 GNU/Linux
Desktop: xfce4 (v4.12.5)

Libreoffce "about" info:
Version: 6.4.0.0.beta1
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11;
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

I did not try resetting my user profile but I did all testing in a fresh
install in a debootstrap chroot using an empty home directory.  So if
there is a user profile problem then it is one that happens with
a new install.

I don't know if openGL is enabled.  I would guess that it is not.

Thanks for the help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200108/08a30f49/attachment.htm>


More information about the Libreoffice-bugs mailing list