Bug 152612

Summary: In Draw, missing "Duplicate page" menu item in Page Pane
Product: LibreOffice Reporter: Roland Baudin <roland65>
Component: DrawAssignee: Roman Kuznetsov <79045_79045>
Status: VERIFIED FIXED    
Severity: enhancement CC: 79045_79045, buzea.bogdan, heiko.tietze, mentoring, xiscofauli
Priority: medium Keywords: difficultyBeginner, easyHack, skillDesign, topicDesign
Version: 6.2 all versions   
Hardware: All   
OS: All   
Whiteboard: target:7.6.0 target:7.5.0.0.beta2
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 84909    
Attachments: Screenshot of the menu with missing item

Description Roland Baudin 2022-12-20 09:31:53 UTC
Description:
In Draw, there should be a "Duplicate page" menu item when right clicking on a page in the Page Pane.

This was probably forgotten?

Actual Results:
No "Duplicate page" menu item in Page Pane

Expected Results:
A "Duplicate page" menu item in Page Pane


Reproducible: Always


User Profile Reset: Yes

Additional Info:
--
Comment 1 Roland Baudin 2022-12-20 09:33:27 UTC
Created attachment 184261 [details]
Screenshot of the menu with missing item
Comment 2 Roland Baudin 2022-12-20 09:34:03 UTC
That should be very easy to fix!
Comment 3 Xisco FaulĂ­ 2022-12-20 09:58:21 UTC
Yep, it's been like this since forever.

The UX Team has to decide whether to add it or not
Comment 4 Heiko Tietze 2022-12-20 11:06:59 UTC
Reasonable request.

Code pointer: add .uno:DuplicatePage to sd/uiconfig/sdraw/popupmenu/pagepane.xml
Comment 5 Commit Notification 2022-12-21 10:11:18 UTC
Roman Kuznetsov committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/01249238dd9711aeec88721b9b24a390d2d0ac3f

tdf#152612 Add Duplicate page item to Pagepane context menu

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2022-12-21 12:31:45 UTC
Roman Kuznetsov committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/1d2b3fefd7828b8681915c4a278791f7cfbbadcf

tdf#152612 Add Duplicate page item to Pagepane context menu

It will be available in 7.5.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Stéphane Guillou (stragu) 2022-12-22 09:32:23 UTC
Fix verified in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 17a8cb1573c5b75e5b7a6c480e09c681edcc26c0
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Discrepancy between Impress and Draw already in 6.2.

Thanks Roman!