Bug 144948 - Copy/paste doesn't overwrite the page style on the first page
Summary: Copy/paste doesn't overwrite the page style on the first page
Status: RESOLVED DUPLICATE of bug 139629
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Page
  Show dependency treegraph
 
Reported: 2021-10-05 15:09 UTC by Telesto
Modified: 2021-11-11 16:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.63 KB, application/vnd.oasis.opendocument.text)
2021-10-05 15:09 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-10-05 15:09:31 UTC
Description:
Copy/paste doesn't include the page style (landscape mode) for the first page

Steps to Reproduce:
1. Open the attached file
2. CTRL+A
3. CTRL+C
4. CTRL+N
5. CTRL+V

Actual Results:
First page orientated portrait

Expected Results:
Landscape (as source)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b60b6bfaafa1315e07108dba50f016975b619c59
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-10-05 15:09:44 UTC
Created attachment 175547 [details]
Example file
Comment 2 Dieter 2021-10-29 08:05:13 UTC
I confirm this with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 273a25c796fca9afa0dfadac57dc3f336831221c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

But you can reduce the problem:
1. Open a new document and set page style to landscape
2. CTRL+A
3. CTRL+C
4. CTRL+N
5. CTRL+V

Actual Results:
Page orientated portrait

Expected Results:
Landscape (as source)

So question is, if it is expected to copy page style (of the first page)

I would sa yes, but let's also ask design team
Comment 3 Heiko Tietze 2021-11-08 10:38:10 UTC
Not a question for UX since the page style is copied except for the first page. Change it to some other PgS such as Envelope on the target document; the issue is not a question of orientation.
Comment 4 Justin L 2021-11-11 16:01:51 UTC
Please tread carefully when changing this. The fact that it is different from normal should be a good indicator that doing it would tend to be problematic. Likely it is very intentional - but the code should indicate that.
Comment 5 Telesto 2021-11-11 16:27:42 UTC

*** This bug has been marked as a duplicate of bug 139629 ***