Bug 147056 - Groupedbar Compact UI : add submenu for Print Ranges
Summary: Groupedbar Compact UI : add submenu for Print Ranges
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:24.2.0
Keywords: needsDevEval
Depends on:
Blocks: Notebookbar-Groupedbar
  Show dependency treegraph
 
Reported: 2022-01-29 13:27 UTC by Jérôme
Modified: 2023-06-24 15:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of the menu (8.87 KB, image/png)
2022-01-29 14:01 UTC, Jérôme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme 2022-01-29 13:27:42 UTC
Into the menu of the "Edit" group, there is a menu entry that is called "edit...". Clicking on this entry displays the form for print ranges edition.
Could we have a generic sub-menu instead (like "print ranges" of the standard "format" menu) ?
Comment 1 Jérôme 2022-01-29 14:01:05 UTC
Created attachment 177902 [details]
screenshot of the menu
Comment 2 Buovjaga 2022-12-12 14:34:56 UTC
Indeed, there are submenus for other items within Groupedbar Compact.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: baddc742c3fe260d20d7924ab134f0fbf179fd85
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 12 December 2022
Comment 3 Justin L 2023-06-16 23:40:00 UTC
Unfortunately, the PrintRangesMenu is not a UNO command.
      <menu:menu menu:id=".uno:PrintRangesMenu">
        <menu:menupopup>
          <menu:menuitem menu:id=".uno:DefinePrintArea"/>
          <menu:menuitem menu:id=".uno:AddPrintArea"/>
          <menu:menuitem menu:id=".uno:EditPrintArea"/>
          <menu:menuitem menu:id=".uno:DeletePrintArea"/>
        </menu:menupopup>
Comment 4 Justin L 2023-06-21 14:19:28 UTC
This should help: commit 0e7cd653ea90da388820220bf6a3eb140b57bbd6
Author: Maxim Monastirsky on Mon Jan 25 01:09:03 2016 +0200
    tdf#86567 Dropdown for conditional formatting
Comment 5 Commit Notification 2023-06-22 16:35:00 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1310ce65f18c0b03051c6f23e40b8b39b8053fec

tdf#147056 sc: convert xml menu to popupmenu .uno:PrintRangesMenu

It will be available in 24.2.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.