Bug 145530 - Text which should be pasted below the image ends up above the image (CF_OEMTEXT Paste?)
Summary: Text which should be pasted below the image ends up above the image (CF_OEMTE...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2021-11-03 16:45 UTC by Telesto
Modified: 2023-11-27 21:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Inside Clipboard file (1.49 KB, application/octet-stream)
2021-11-03 16:45 UTC, Telesto
Details
Example file (272.57 KB, application/vnd.oasis.opendocument.text)
2021-11-03 16:45 UTC, Telesto
Details
Inside Clipboard file 3.5.7.4 about window (398 bytes, application/octet-stream)
2021-11-03 16:55 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-11-03 16:45:10 UTC
Description:
Text which should be pasted below the image ends up above the image

Steps to Reproduce:
1. Open the attached file
2. Download the inside clipboard file
3. Open Inside clipboard -> File -> Load from CLP
4. Paste CTRL+V in the writer document -> Text above
5. CTRL+Z
6. CTRL+N
7. CTRL+V
8. CTRL+A
9. CTRL+C
10. Go to initial document
11. CTRL+V again -> Now it's OK

Actual Results:
Text above image

Expected Results:
Below (at the cursor position)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 93115d2c54d645bcf2f80fde325e3ede39dee4d5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-11-03 16:45:25 UTC
Created attachment 176096 [details]
Inside Clipboard file
Comment 2 Telesto 2021-11-03 16:45:43 UTC
Created attachment 176097 [details]
Example file
Comment 3 Telesto 2021-11-03 16:54:50 UTC
Also in
4.4.7.2

and in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b

-- 
The sample pasting above did happen with the about text of 3.5.7.2 for until 4.4.7.2. So this might has something to do with file-format.

So got resolved for CF_UNICODETEXT type but not other paste format types?
Comment 4 Telesto 2021-11-03 16:55:17 UTC
Created attachment 176098 [details]
Inside Clipboard file 3.5.7.4 about window
Comment 5 Dieter 2021-11-19 07:37:22 UTC
Telesto, is it possible to reproduce the bug without using Inside Clipboard? Program has no update since 2017 [1]. I don't understand, why it is helpful here.

[1] https://www.nirsoft.net/utils/inside_clipboard.html
Comment 6 Telesto 2021-11-19 09:13:38 UTC
(In reply to Dieter from comment #5)
> Telesto, is it possible to reproduce the bug without using Inside Clipboard?
> Program has no update since 2017 [1]. I don't understand, why it is helpful
> here.
> 
> [1] https://www.nirsoft.net/utils/inside_clipboard.html

Well those a rather specific tools with really limited functionality. So no updates means also nothing to improve.. Nirsoft still alive an kicking, so main page; so not abandoned.
 
The reason why I use Inside clipboard because this based on websnippet.
* Browser engine matters (Firefox/Chromium) & maybe versioning
* Website can change or go down

But well.
1. Open attachment 176097 [details]
2. Go to https://www.beterbed.nl/seniorenbedden/bed-capri-47-cm-hoogte
3. Copy 'hoogte' from heading/ title ("bed Capri 47 cm hoogte")
4. Focus Writer (cursor being blow the image on file open)
5. CTRL+V
Comment 7 Dieter 2021-11-20 17:33:55 UTC
(In reply to Telesto from comment #6)
> But well.
> 1. Open attachment 176097 [details]
> 2. Go to https://www.beterbed.nl/seniorenbedden/bed-capri-47-cm-hoogte
> 3. Copy 'hoogte' from heading/ title ("bed Capri 47 cm hoogte")
> 4. Focus Writer (cursor being blow the image on file open)
> 5. CTRL+V

I confirm it with
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 7b8f630db30ee0066a9f4b6e540368d2fcad7fa8
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 8 QA Administrators 2023-11-21 03:12:22 UTC Comment hidden (obsolete)
Comment 9 Dieter 2023-11-27 21:09:56 UTC
Still present in

Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (de_DE); UI: en-GB
Calc: CL threaded

Perhaps variant of bug 146445