Bug 105297 - A small border / extra shadow appears around the page when pasting as RTF or DDE Link
Summary: A small border / extra shadow appears around the page when pasting as RTF or ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
: 126419 (view as bug list)
Depends on:
Blocks: Paste-Special
  Show dependency treegraph
 
Reported: 2017-01-12 20:06 UTC by Telesto
Modified: 2023-10-18 15:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.54 KB, application/vnd.oasis.opendocument.text)
2017-01-12 20:07 UTC, Telesto
Details
screenshot of issue in 5.4 (after some scrolling, to see the difference) (15.53 KB, image/png)
2023-10-18 15:25 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-01-12 20:06:44 UTC
Description:
When pasting text using Paste Special Formatted Text(RTF) for the first time, a small border will appear around the page.  The border will disappear after scrolling, and won't appear again.

Steps to Reproduce:
1. Open attached file.
2. Copy ABC
3. Paste it as RTF using CTRL+SHIFT+V or using the menu and take notice of the change in the page border


Actual Results:  
An addition border around the full page (in normal view)

Expected Results:
No change in the page border


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 5.4.0.0.alpha0+
Build ID: 88f561204d7cee25633df8117cc8d7e1ebd8e9ad
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-01-11_23:07:37
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

but not in
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2017-01-12 20:07:30 UTC
Created attachment 130376 [details]
Example file
Comment 2 Xisco Faulí 2017-01-13 11:58:54 UTC
Confirmed in

Version: 5.4.0.0.alpha0+
Build ID: 9a30cb2161506e003f14592d83075ab9d30516c1
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and 

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 3 Telesto 2017-01-14 08:10:50 UTC
@Xisco

Could you check it again. I'm not seeing any border in:
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

nor in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Comment 4 QA Administrators 2018-07-19 02:42:49 UTC Comment hidden (obsolete)
Comment 5 Aron Budea 2019-07-16 18:55:58 UTC
*** Bug 126419 has been marked as a duplicate of this bug. ***
Comment 6 Aron Budea 2019-07-16 18:59:38 UTC
Bibisected to the following range with repo bibisect-42max. Had to skip a lot of commits in between, and I gave up.
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=c2530b02311c46529eed53ee688bf6c83ce4b86e..4dccfe055e93fe86ee7604c9137ae189cbc74823
Comment 7 QA Administrators 2021-07-16 03:48:12 UTC Comment hidden (obsolete, spam)
Comment 8 QA Administrators 2023-07-17 03:13:22 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2023-10-18 15:25:16 UTC
Created attachment 190279 [details]
screenshot of issue in 5.4 (after some scrolling, to see the difference)

Reproduced in 5.4.0.3:

Version: 5.4.0.3
Build ID: 92c2794a7c181ba4c1c5053618179937228ed1fb
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group

See in screenshot the arrows pointing at the limit were the extra shadow was "cleaned up" after some scrolling.

However...
Comment 10 Stéphane Guillou (stragu) 2023-10-18 15:29:00 UTC
... works for me since 6.0:

Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group

(note it would also happen with Paste Special > DDE Link)