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

zzz <pox_...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #6 from zzz <pox_...@yahoo.com> ---
Reopened as a problem distinctive from Bug 105066. All symptoms are same, but
reproduction procedures are different.
Bug 134042:
  Source: Most apps EXCEPT LibreCalc and LirbeDraw.
  Occuring conditions: Worse (more cases) than Bug 105066.
  This implies that it has an additional issue in intersoftware clipboard
handling.
Bug 105066:
  Source: Only about LibreCalc.
  Occuring conditions: Happens only when "Paste special".
Bug 107529:
  Source: direct Main Menu|Insert-Image into LibreCalc.
  Occuring conditions: Describes only about Main Menu|Insert-Image.

Retest environment:
Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL

I found that the behaviour depends on the source application software of the
second paste ("image2", hereafter). Here, "source" means the source of the
image in clipboard.
As a source, LibreCalc is a special case where the problem happens only under
limited conditions. For all other apps, the condition is broader.

First, a definition of paste procedure codes used later:
(a1) Ctrl+V method:
  1. Copy image1 from the source software.
  2. Switch to LibreCalc.
  3. Click a cell you want to paste the image to, say, A1.
  4. Paste image1 by Ctrl+V.
  5. Immediately paste it again by Ctrl+V.
(b1) Mouse Context menu Paste method:
  1. Paste image1 by Ctrl+V.
  2. Switch to the source software. Select all and Copy image2 from the source
software.
  3. Switch to LibreCalc.
  4. Click any cell that have no object over it, to switch LibreCalc's mode to
cell-keyboard-navigation-mode.
  5. Using the keyboard arrow key, move the cell focus to the top-left cell
that holds image1.
  6. Right-click on the pasted image1, to open the context menu.
     * Note that BOTH the cell-cursor and the mouse-cursor-at-click must be on
image1.
  7. Paste image2 by Context menu|"Paste".
     * No "Paste Special" appears in the context menu for this case.
(b2) Keyboard Context menu Paste method:
  1. Paste image1 by Ctrl+V.
  2. Switch to the source software. Select all and Copy image2 from the source
software.
  3. Switch to LibreCalc.
  4. Click any cell that have no object over it, to switch LibreCalc's mode to
cell-keyboard-navigation-mode.
  5. Using the keyboard arrow key, move the cell focus to the top-left cell
that holds image1.
  6. Press the context menu key, to open the context menu.
  7. Paste image2 by Context menu|"Paste".
(c1) Keyboard Context menu Paste Special method:
  1. Paste image1 by Ctrl+V.
  2. Switch to the source software. Select all and Copy image2 from the source
software.
  3. Switch to LibreCalc.
  4. Click any cell that have no object over it, to switch LibreCalc's mode to
cell-keyboard-navigation-mode.
  5. Using the keyboard arrow key, move the cell focus to the top-left cell
that holds image1.
  6. Press the context menu key, to open the context menu.
  7. Paste image2 by Context menu|Paste Special...|Bitmap Image (BMP)
(c2) Menubar Paste Special method:
  1. Paste image1 by Ctrl+V.
  2. Switch to the source software. Select all and Copy image2 from the source
software.
  3. Switch to LibreCalc.
  4. Click any cell that have no object over it, to switch LibreCalc's mode to
cell navigation mode.
  5. Using the keyboard arrow key, move the cell focus to the top-left cell
that holds image1.
  6. Click the Menubar.
  7. Paste image2 by Menubar Edit|Paste Special|Paste Special...|Bitmap Image
(BMP)

Experiment results:

- Source LibreCalc 7.3.2.2:
  (a1) Pastes correctly (two image objects overlayed)
  (b1) Pastes correctly (two image objects overlayed)
  (b2) Pastes correctly (two image objects overlayed)
  (c1) Problem reproduces
  (c2) Problem reproduces

- Source IrfanView 4.58 32 bit:
  (a1) Problem reproduces
  (b1) Problem reproduces
  (b2) Problem reproduces
  (c1) Problem reproduces
  (c2) Problem reproduces

- Source Microsoft Paint bundled with Windows 10 21H2:
  (a1) Problem reproduces
  (b1) Problem reproduces
  (b2) Problem reproduces
  (c1) Problem reproduces
  (c2) Problem reproduces
  * In Microsoft Paint, don't forget to "select all" before copying.

- Source GIMP 2.10.28:
  (a1) Problem reproduces
  (b1) Problem reproduces
  (b2) Problem reproduces
  (c1) Problem reproduces
  (c2) Problem reproduces
  * Sidenote: the size of image1 pasted from GIMP is slightly larger than the
original image1 in Bug_Test.ods

- Source LibreDraw 7.3.2.2:
  (a1) Pastes correctly (two image objects overlayed)
  (b1) Pastes correctly (two image objects overlayed)
  (b2) Pastes correctly (two image objects overlayed)
  (c1) Problem reproduces
  (c2) Problem reproduces

- Source Google Chrome 103.0.5060.134 (Official Build) (64 bit)
  https://www.libreoffice.org/themes/libreofficenew/img/logo.png in
https://www.libreoffice.org/
  (a1) Problem reproduces
  (b1) Problem reproduces
  (b2) Problem reproduces
  (c1) Problem reproduces
  (c2) Problem reproduces

- Source Firefox 98.0.2 (64-bit):
  https://www.libreoffice.org/themes/libreofficenew/img/logo.png in
https://www.libreoffice.org/
  * fail to paste from Firefox due to Bug 134031 - "[EDITING]Images copied from
Firefox won't paste" (which is marked RESOLVED but actually is an alive and
remaining problem)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to