summaryrefslogtreecommitdiff
path: root/sc/uiconfig
AgeCommit message (Collapse)Author
2022-01-27toggle no-show-all on so the widgets don't appear despite visible offCaolán McNamara
Change-Id: I9426c8d9e0149072c2318aff31b01227edd8149c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128989 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-26warning is a dialog not a popupCaolán McNamara
with the wrong setting it appears misplaced on a multi-monitor setup Change-Id: I43faeb72f6678a653feef82e0f0deaf87c039e9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128994 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-01-26split two paragraph warning into primary and secondary messagesCaolán McNamara
Change-Id: Ie3bd9205a549ac55a0e5c7b9a444928b0fd80174 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128935 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-25tdf#146970 use a textview to show the proposed replacement formulaCaolán McNamara
so it can scroll and keep the text area to some finite size no strings changes or new translations, so this is a backportable change. Change-Id: Ibc36812c6aa7fff8e035c06d0dad885909f057ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128933 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-25Related: tdf#146971 remove %PRODUCTNAME from accessible-descriptionCaolán McNamara
Change-Id: I83ff18c8b5e95fa172de950eb351cbfd855c9d5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128919 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-24remove explicit can-focus of False from GtkToolButtonsCaolán McNamara
Change-Id: I60ce3a7c1e83e99f396ff61166a6ba4912b9f82e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128861 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-21gtk4: set homogeneous to true to get two equal width buttonsCaolán McNamara
Change-Id: Iff8c9579bbb4758c2bb13b946fafcaf3b9433a84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128735 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-21tdf#141591 Add DevTools to the Tabbed interfacerafaelhlima
This patch adds the DevTools command to the Tabbed interface. It is located in the cotnext menu in the Tools tab. Change-Id: I5f323b1b5ffc6707fc4f8b3c6eca2db7b8b97adc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127973 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-01-18Resolve gtk3 crash of If1ffb50743292f3cc0c3271646d0538337977762Heiko Tietze
Change-Id: Id1080b71d1252bdcef804a4f8398a3c42073ee0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128522 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-01-17tdf#136362 Remove unnecessary blank area and option in some image toolbarJeff Huang
Only in Calc, Draw and Impress. Change-Id: I944aad875fedd1dd19657c49b059e33fd6e9d3f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127984 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-01-16tdf#146421 Calc Sidebar Alignment Section follow arrangement guidelineandreas kainz
Change-Id: If1ffb50743292f3cc0c3271646d0538337977762 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126688 Tested-by: Jenkins Reviewed-by: Andreas Kainz <kainz.a@gmail.com>
2022-01-15Change cursor -> pointer in spreadsheet option tipOlivier Hallot
Change-Id: I4fe40f321849846daaddd1c9374a0271689b5823 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128425 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-15Fix extended tip on printer options for speradsheetsOlivier Hallot
Change-Id: Iad153527e4ee4b74cb9d7bf6a57821a9f13f1f16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128426 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-12-28tdf#139602 Added all subtotal functions to autosumDhiraj Holden
For every function that is an option for SUBTOTAL that was not already an option in autosum (that is COUNTA, PRODUCT, STDEV, STDEVP, VAR, VARP), the option was added in the autosum menu. Change-Id: Ic560cd45df206dafaa2d960550aaf185a1806806 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127600 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2021-12-13Remove dubious code in ui fileXisco Fauli
Introduced in f773e7aa8c96e070085ece95889f02590ed65f89 < Resolves tdf#144227 - Default command to switch UI > Change-Id: I1975d6d61a2fd225e87dffe65708a1f5e531f106 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126735 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-10Related: tdf#146018 constrain submenu to window like toplevel menuCaolán McNamara
so under wayland it not go off-screen Change-Id: I69f4f71cffaf4e4ac4def87d71b947e2dd903a08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126643 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-10Related: tdf#146018 allow user to grow/shrink autofilter checklist by a rowCaolán McNamara
Change-Id: If337f62032a8db6d1d01c66ae851a1111ad8b0bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126636 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-08tdf#146018 merge autofilter color dropdowns into a single dropdownCaolán McNamara
Change-Id: Ie900ed2ebade82198928b3dc2e90ab7aa7f0edd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126475 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-02Resolves: tdf#144811 use the hover-style menu for color submenusCaolán McNamara
Change-Id: I8653c36d084f9df5a4d34baf7d88e2f2b5f1609b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126209 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-02Related: tdf#144410 submenu indicator misplaced under x11 gtkCaolán McNamara
so drop the GtkTreeViewColumn expand and go back to setting the size via the size-allocate, but for wayland launch it in a callback because setting the column widths during the size-allocate callback doesn't work as hoped for and the indicator is misplaced. Change-Id: I58a7a11cb1a1c065cee364f932cebddfb9ea453c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126203 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-30tdf#145901 constrain gtk autofilter within calc windowCaolán McNamara
so its all visible as much as possible under wayland Change-Id: Iad82f9ab63d57a93361e773a159c2716e13d59f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126120 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-29center vertically so if there is only one entry it doesn't looksCaolán McNamara
Change-Id: I97ae6145d0139bd33f33d298803c7e787fd717a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126061 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-28gtk[3|4] move the indicator to the edgeCaolán McNamara
Change-Id: I79e4f404f85846ef85886f8bdbe3d4ba3114a091 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125950 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-23tdf#139460 improve autofilter sub-menu interaction under gtkCaolán McNamara
so the submenu pops down when the mouse moves back into its parent. This removes layer of InterimItemWindow and for gtk (under wayland) the autofilter and its submenu can use native GtkPopovers Change-Id: I4c8c3d2087566f508d75eda72e272d9f7fba2f00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125428 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-19gtk3: use GtkPopover default for selected cases that are within a documentCaolán McNamara
and where inability to escape window under X11 hasn't been a problem to date Change-Id: I14aa5fe2cf443b6214aed48266d5bd32b8b9c700 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125541 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-19gtk3: default to an explicit constrain-to for PopoversCaolán McNamara
with the intent to do the same replacement with GtkWindow under X11 for gtk3 that we do in MenuButtons for the popover with direct popovers when the constraint is GTK_POPOVER_CONSTRAINT_NONE Change-Id: I629c30b44a9e362ba0d924bb229930b5f0dc7ed3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125540 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-18resave with latest gladeCaolán McNamara
Change-Id: I151ae11d722881b21aeb9b88716c8be963e43056 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125476 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-17weld colormenuCaolán McNamara
Change-Id: I6feef72cf924865e2407a96cdd0b6e60c835dbc3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125417 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-17SCSTR_FILTER_TEXT_COLOR is used in two different contextsCaolán McNamara
in the autofilter popup and the standard filter combobox. In the autofilter we want title case to match the other entries there, for the standard filter we need the same text as appears in the combobox list Change-Id: I693d3fa8a9fa1bac0803971be593f107d5817e74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125371 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-17revert "vlookup - optimize SC_EQUAL and NOT_EQUAL." (tdf#139612)Luboš Luňák
That commit breaks lookup when the "Search criteria = and <> must apply to whole cells" option is disabled, as it enforces whole cell checking regardless of the option. Given that the option is enabled by default in LO ('SearchCriteria' in Calc.xcs) and it's what MSOffice does as well, and this default gives good performance regardless of the option, I don't understand the purpose of the commit. Possibly it was based on a document where somebody disabled the option and then indeed got worse performance. Solution: Don't do that :). This reverts the code parts of a953fa1c0f6a40a08859570516c511f3a841 . The test I've kept but switched to ensure that partial matching does work if the option to match whole cells is disabled. I've also changed the tooltip for the option to mention performance and not suggest that off is the default. Change-Id: I56d7b6e7b8e9f0622f7ad6d447daf56c3b705a7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125267 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-11-15add a rule to enforce always-show-image of True if an image is usedCaolán McNamara
If not set, then gtk3 will show the image if there is no text, but only the text if there's an image. For simplicity sake just enforce it as true if an image is referenced. Change-Id: Id4bb9140ba83e7e07e0d8ec5e3c29aece49b9087 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125200 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31uniformly allow focus into GtkToolbarCaolán McNamara
Change-Id: I110daf882d9196cf7552e43a157ba4ae73fd670b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124458 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31gtk[3 vs 4]: remove can-focus from GtkToolButtonCaolán McNamara
so tab-cycling inside sidebar panel toolbars works as wanted It needs to be false for gtk3 and true for gtk4, leaving it unspecified gets a desired working default. Change-Id: I34869d5dcffc814f62ec2b717108f90c395a067b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124446 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-19tdf#144572 - fix incomplete labeling of Pivot Table UI elementsRoss Johnson
Created an additional alias of .uno:DataDataPilotRun, of which .uno:InsertPivotTable is already an alias, called .uno:InsertPivotTableNBLabel for use in the NoteBook UI styles. ContextLabel didn't appear to apply to these instances, they must be considered sub menus even though they appear not. Change-Id: Ic526adbf8ed4ad47524426430a47229c8ed919cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122911 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-10-14tdf#138842 Delete Default item from Calc Comment's context menuRoman Kuznetsov
Change-Id: I4f3b78bfdf479f96c9d8e2387c5c38446f2eaf72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123513 Tested-by: Jenkins Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
2021-10-14tdf#33749 - revised merge and unmerge cells UI controlsRoss Johnson
Revert the two changes made under this issue tdf#33749: 1) Cell context menu back to 7.2 2) Format - Merge Cells menu back to 7.2 3) Help pages to reflect this Moving forward with the following changes: 1) Rename "Split Cells" to "Unmerge Cells" (Calc only) which more accurately describes it's function in Calc (and for consistency with alternative office software). 2) Add "Merge Cells" and "Unmerge Cells" to Formatting toolbar alongside "Merge and Center Cells", including other available user interface schemes where possible. 3) Change the Format - Merge Cells menu icon to the "Merge Cells" icon as less confusing than the current "Merge and Center Cells" icon. Re-label the Format - Merge Cells menu to Format - Merge and Unmerge Cells. 4) Add TooltipLabel to .uno:ToggleMergeCells to clarify dual action. 5) Add Split Cells to Table context menu in Impress (as it is in Writer). 6) Help pages to reflect changes. 7) Remove two duplicate entries in the sUnoCommands array in init.cxx (one was ".uno:MergeCells" related to this change). This is untested but relates to status updates sent to the headless LOK clients. I assume duplicate entries would generate duplicate updates, which may be harmless but is probably not desirable. Change-Id: I3063f871707a7286d95108d3a34a5287401baa6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122811 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2021-10-07Add extended tooltips to new Paste Special dialogRafael Lima
The new Paste Special dialog in Calc has 4 new presets and a new checkbox. This patch adds extended tooltips for them. Change-Id: I7d4c5fdb140a49c50b733e50b23d2618127f2c63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121413 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-09-27Revert "tdf#33749 - rationalise several confusing cell merge controls"Ross Johnson
This reverts commit 8010a0a32c232f06534fdd56c2227c9c00798cfd. Reason for revert: The change introduced a regression. Change-Id: I59446c62e8798cf7a6a11d916da0c1f393c87dea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122450 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-09-27tdf#127543 add saveacopy to File dropdown menu tabs #2Justin Luth
Invisible menu items just don't cut it. This adds SaveACopy also to "Tabbed Compact" Change-Id: If6e2807467e8885ab494b291e98778c7626ebe54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122605 Tested-by: Jenkins Reviewed-by: Andreas Kainz <kainz.a@gmail.com>
2021-09-23tdf#143103 Fix hexpand of color buttonSamuel Mehrbrodt
Change-Id: I6bdeb1dbe0aaa7ff2d1b65486ad326079da40e7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122521 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2021-09-22tdf#144618: fix Standard Filter Dialog with gtk3Julien Nabet
See bts here: - https://bugs.documentfoundation.org/attachment.cgi?id=175150 - https://bugs.documentfoundation.org/attachment.cgi?id=175151 Change-Id: I4954d989a25fb228624d9b4660f357219d160ead Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122409 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-20tdf#33749 - rationalise several confusing cell merge controlsRoss Johnson
1) Replace the entire "Format > Merge Cells" submenu with the single "Format > Merge and Center Cells" button with all the same behaviour it has on the Formatting Bar. 2) Replace the "Split Cells" button from the context menu of a selected merged cell with the "Merge and Center Cells" button showing the current merge status, as it does elsewhere. 3) The "Merge Cells" checkbox in the Properties sidebar Alignment section is unchanged. Rationale: The current behaviour of the "Merge and Center Cells" button on the Formatting Bar is consistent with all other formatting buttons, eg, "Align Left" is still "Align Left" (but shown activated) when the text is currently already left aligned, and toggling it off reverts the alignment to a default alignment. It behaves correctly and intuitively IMO. The "Merge Cells" button in the "Format > Merge Cells" submenu should be removed as it appears to do the same as "Merge and Center Cells", that is, when it works correctly. It isn't helpful though as it has at least two problems: 1) it is greyed out if a merged cell is selected, unlike "Merge and Centre Cells"; 2) it becomes selectable when a range of cells is selected that includes a merged cell, but won't perform the merge. Removing both "Merge Cells" and "Split Cells" buttons from the Format > Merge Cells submenu leaves one entry, the "Merge and Center Cells" button, which should then be promoted to the top level menu. Change-Id: I2f592211f888427d5bba384c28c8c3c7d92d8de6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122293 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-09-16tdf#143103 Support Color Filter in "Standard Filter" dialogSamuel Mehrbrodt
Change-Id: Ie8ffc928315b742d5b445d5fdda62cb9c2aabc0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122089 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2021-09-16Resolves tdf#144442 - Rearrangement at paste special dialogHeiko Tietze
Change-Id: I935b67f2159f7a35e28ea2b7b7eb707f0a1548de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121507 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-09-15Fix some assorted mistakes in translatable stringsAdolfo Jayme Barrientos
Thanks Mihail Balabanov, Olivier Hallot and Tuomas Hietala for your keen eyes. Change-Id: Ibceeae6d82e39079c02140ac99729be1a1ab0407
2021-09-15Save with Glade 3.38Samuel Mehrbrodt
Change-Id: Ib32cd43d83828b6f28fc193fd77a9def742e0384 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122088 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2021-09-13CSV import dialog: fix tooltip for "Evaluate formulas" optionMing Hua
This option was added in commit 4c29c2bfab18b25229e0bc71014fd2ca42ec5bff with appropriate label and extended tooltip, but the (regular) tooltip seems to be just copy-and-pasted from "Skip empty cells" option and not changed to fit the new option. Change-Id: I2425f4dc67468f152a7180d98e2e48c15de351fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121987 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-09-02Resolves tdf#144227 - Default command to switch UIHeiko Tietze
Remaining .uno:ToolbarMode replaced by .uno:ToolbarModeUI Change-Id: Ie5afaa997dabaca0feafde41355945460f1292f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121417 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-08-31Resolves: tdf#114878 Add 'Evaluate formulas' option to CSV import and pasteEike Rathke
... and Text to Columns, defaulting to false for CSV import via dialog and stored as config item option similar to all other CSV/Text options. Change-Id: I742f447b905a07b05dcf5fc58796c46de212276b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121344 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-08-31Resave with glade 3.38.2 to convert property names with '_' to '-'Eike Rathke
Change-Id: I745fda9e2b61c15f281d7a2d8f21d8003253c6d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121343 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins