343 Commits
Author SHA1 Message Date
Michael Weghorn 28cc8883eb chart2, sc: Enforce UI rules
Commit the results of running

    for a in `git ls-files "*.ui"`; do bin/ui-rules-enforcer.py $a; done

Change-Id: I7a97f75773b9e5750dcce848d730960a8561916b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211850
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-10-07 17:44:57 +02:00
Michael Weghorn dbc1b391de chart2: Port "Chart Type" sidebar section from ValueSet to weld::IconView
In the same way that

    Change-Id: I188f812f2d03fa8cbd97ffaaab3081094809887e
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Oct 1 10:29:15 2026 +0200

        chart2: Port "Chart Type" dialog from ValueSet to weld::IconView

had done for the "Chart Type" dialog, also port the chart
sidebar from using the custom ValueSet widget to weld::IconView.

This helps to be more consistent with other platform/toolkit
widgets and reduces custom logic.

It can be triggered like this:

* start Writer
* insert a chart using "Insert" -> "Chart..."
* while the chart is still selected, open the "Properties"
  sidebar deck

Change-Id: I858dda4b9d5bf62291ee3b0c76b13ee92221f9e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211660
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-10-02 12:11:10 +02:00
Michael Weghorn da60cd7b89 tdf#130857 Define widgets in "Chart Type" dialog in order
Switch the order in which the widgets in the .ui file
are defined so that the order better matches the visual appearance
and logical order, which makes sure that tab focus order with the
Qt-based VCL plugins is correct as well when using native Qt
widgets (SAL_VCL_QT_USE_WELDED_WIDGETS=1), where
focus order is (by default) based on widget creation order.

See

    commit 02692566ad
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Oct 24 17:43:35 2024 +0200

        tdf#130857 optnewdictionarydialog.ui: Define focusable widgets in order

for more background.

The dialog can e.g. be triggered like this:

* start Writer
* insert a chart using "Insert" -> "Chart..."
* right-click on one of the bars in the chart to open
  the context menu
* activate the "Chart Type..." menu item

The Python script mentioned in the commit message of

    commit 327679b2fb
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 8 15:50:59 2026 +0200

        tdf#130857 Define widgets in Calc "General" options page in order

was used to reorder the GtkGrid children automatically.

Change-Id: Iafe15ceba9e7c8b7651114e538b9ca20915c2367
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211659
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-10-02 12:11:04 +02:00
Michael Weghorn e011f74436 chart2: Port "Chart Type" dialog from ValueSet to weld::IconView
Port the widget to select the chart subtype in the "Chart Type"
dialog from using a ValueSet widget to using weld::IconView.

This helps to be more consistent with other platform/toolkit
widgets and reduces custom logic.

Adjust indices used to account for the fact that
weld::IconView indices are 0-based while the ValueSet ones
are 1-based.

The dialog can be triggered like this:

* start Writer
* insert a chart using "Insert" -> "Chart..."
* right-click on one of the bars in the chart to open
  the context menu
* activate the "Chart Type..." menu item

The chart sidebar (ChartTypePanel) will also be ported
in an upcoming commit.

Change-Id: I188f812f2d03fa8cbd97ffaaab3081094809887e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211658
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-10-02 12:10:59 +02:00
Neil Roberts 643aab12aa tdf#173575 Don’t display “%VALUETYPE” if range is too small
If the selected range is too small when Insert->Chart is used then most
of the controls in the “Data Series” tab are disabled. Additionally,
nothing was updating the “Range for %VALUETYPE” label defined in the UI
file so it would be left with this stub visible in the UI. This patch
makes the default label instead just be “Range”. The previous string is
now defined in strings.hrc instead of reading from the label value when
creating the dialog so that it can be updated when a valid range is
selected.

Change-Id: Ib926383825f32042dc0c6d33a115d139a50c5aa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211102
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-09-18 14:42:31 +02:00
jan 95e804b637 tdf#171892:Icons in menus only on most important items
This removes icons for many menu entries to only have icons
for the most important commands, as suggested in the design guidelines
(See: https://wiki.documentfoundation.org/Design/Guidelines/MenuBar)

Change-Id: I687aa79333ab9f391e8b51c4900a348622f7ab3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210342
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2026-09-15 10:59:51 +02:00
Dan Williams e4e60f2769 vcl: standardize Reset dialog button response code
Qt plugin automatically orders buttons for each platform based on
the button's role, which we derive from the Gtk .ui file's
action-widget response code. But to do that conversion from response
code to Qt button role, we need a standard response.

Without a standard response, the button has no role, and gets ordered
to the right of OK/Cancel buttons on Mac. With the correct role, it
is correctly placed far-left along with the Help button.

Change-Id: I16d3126d4999649e7aa6e72ec5e7b1a25f48c2a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210223
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Tested-by: Jenkins
2026-09-08 13:42:17 +02:00
Dennis Francis ce823e1cc7 chart2: say on the Data Range page which columns hold the dimensions
A correlation circle plot reads the ends of its range differently from every
other chart type: the last two columns are the dimensions its points are placed
against and the columns before them are the features. One range holds the lot,
so nothing about the entry gives that away, and a reader who does not already
know it has no way to work it out.

Display a information label under the range input saying the last two
columns of it are component dimensions and the columns before that are
features.

Change-Id: Ib7d27aad189f12be188f61b1fc317dd1e718b803
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/8105
Tested-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
Reviewed-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
(cherry picked from commit 2cbf62e18df956ed23c77932cd5e38424e7baa1f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210470
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-04 15:05:11 +02:00
Heiko Tietze c3844e912e Resolve tdf#171925 - Remove uno:SendFeedback / SID_SEND_FEEDBACK
Change-Id: I0a65e7a4ba1cd37fb28299c324027b31c41daacf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210340
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-09-02 06:05:11 +02:00
Devansh Varshney eac1e807cc chart2: expose histogram bin settings in axis sidebar
Add histogram binning controls to the axis properties sidebar.

Expose automatic, fixed-width, and fixed-count modes together with
optional underflow and overflow bins. Read the current settings from
the histogram chart type and update the corresponding model properties
when the controls change.

Signed-off-by: Devansh Varshney <varshney.devansh614@gmail.com>
Change-Id: Ia252499454a0715b1de094de05158966769ec912
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/9284
Reviewed-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
Tested-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
(cherry picked from commit dc0a6a31ff7719cd697220eb173f5c15935096ad)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209220
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-01 15:41:57 +02:00
Devansh Varshney ad77e91af6 chart2: expose histogram bin settings in axis dialog
Add histogram binning controls to the Scale page of the primary
X-axis dialog.

Allow selecting automatic binning, fixed bin width, or a fixed
number of bins, together with optional underflow and overflow bins
and validate invalid combinations.

Signed-off-by: Devansh Varshney <varshney.devansh614@gmail.com>
Change-Id: Ia1efb0ea64249f0297f00c29f0bee8a4803ca803
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7984
Reviewed-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
Tested-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
(cherry picked from commit f55a6867e1c2b67069d85611dcf25dbed25b85bd)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209216
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-01 14:00:30 +02:00
Neil Roberts 9dd7345159 tdf#173043 Add translator comments to strings containing “outline”
The word “outline” in LibreOffice can refer to either the lines of the
shape of something or an overview of something. When the string is quite
short it’s difficult for translators to know which meaning is intended.
There seems to be quite a lot of cases where the translators have got
this wrong. In order to help them this patch adds translator comments to
a bunch of the strings to explain which meaning should be used.

Change-Id: I4b75cc829128633bc9382817fc574d55a09af8a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209037
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-08-09 12:12:44 +02:00
Neil Roberts 6685fe38e0 Use “allows X-ing” instead of “allows to X” in UI
“Allows to X” sounds wrong if it doesn’t also have the person it is
allowing as the object of the sentence. See this:

https://english.stackexchange.com/questions/60271/grammatical-complements-for-allow

For the text in the tooltip it is describing what the widget does rather
than giving a command so it should have an “s”, like “[this widget]
allows selecting…”.

Change-Id: I39883bfcd7b8f8e3392b3bf564130720fa6daaf2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208986
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Tested-by: Jenkins
2026-08-06 16:24:00 +02:00
Michael Weghorn 2474789f2d chart: Resave steppedlinesdlg.ui with glade 3.40
The dialog can be triggered like this:

* start Calc
* "Insert" -> "Chart..."
* for "Choose a Chart Type", choose "Line"
* for "Line type", select "Stepped"
* press the "Properties..." button

Change-Id: I0bbef11445f7cf184e46b955dd32fcd8fbb474f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208548
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-07-25 11:07:17 +02:00
Michael Weghorn 27e98cdbe8 tdf#119931 tdf#130857 chart a11y: Set mnemonic widget in "Smooth Lines" dlg
Set the mnemonic widget, which e.g. makes the Orca screen
reader announce what the combo box is about ("Line Type")
when it receives focus with the gtk3 or qt6 vcl plugins on Linux.

For qt6 and the use of native Qt widgets
(SAL_VCL_QT_USE_WELDED_WIDGETS=1) this also fixes
that the labels text was previously shown as a literal
"Line &Type".

Change-Id: I2e699a10bdec27663b38a92d4091e647a6b7c49e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208497
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-07-25 10:40:46 +02:00
Michael Weghorn 301180557e chart2: Resave smoothlinesdlg.ui with glade 3.40
The dialog can be triggered like this:

* start Calc
* "Insert" -> "Chart..."
* for "Choose a Chart Type", choose "Line"
* for "Line type", select "Smooth"
* press the "Properties..." button

Change-Id: I4bad77d57fb6f33dea653ad48f6dd0e32a8085c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208495
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-07-25 10:37:14 +02:00
Michael Weghorn dcf718a979 chart2: Resave tp_DataSource.ui with glade 3.40
This is used for the "Data Series" tab page of the
the dialog that can be triggered like this:

* start Calc
* "Insert" -> "Chart"
* confirm with "Finish"
* with chart still selected, press the context menu key
  (or click with right mouse button) to open the context menu
* select the "Data Ranges..." context menu entry

Change-Id: I15ebfe1eac3a83f5e0a2ee03d0548c8bc0e499f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208487
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-07-25 10:35:31 +02:00
Michael Weghorn b7e59e97dc chart2: Resave tp_RangeChooser.ui with glade 3.40
This is used for the "Data Range" tab page of the
the dialog that can be triggered like this:

* start Calc
* "Insert" -> "Chart"
* confirm with "Finish"
* with chart still selected, press the context menu key
  (or click with right mouse button) to open the context menu
* select the "Data Ranges..." context menu entry

Change-Id: Ia5f78fdf141eeb0e35cfe5dab990d73e991fe885
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208486
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-07-25 10:35:21 +02:00
Michael Weghorn bac2361e07 chart2: Resave datarangedialog.ui with glade 3.40
The dialog can be triggered like this:

* start Calc
* "Insert" -> "Chart"
* confirm with "Finish"
* with chart still selected, press the context menu key
  (or click with right mouse button) to open the context menu
* select the "Data Ranges..." context menu entry

Change-Id: I339bbd6d64344eeb33449fc829f06fe9041e0282
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208485
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-07-25 10:34:57 +02:00
Caolán McNamara de69d69e73 add an a11y desc to this bare combobox
Change-Id: Iebb52bab1fdcc01a65aefd737b7f5f19d910917d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199611
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200127
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 7984094dc0c9d62b1382deecb75fd0a52b1c3331)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205818
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-28 20:07:46 +02:00
Michael Weghorn 361a743058 chart: Resave titlerotationtabpage.ui with glade 3.40
This UI file is used for the "Alignment" tab
of the chart dialog for the X/Y Axis title that can be
triggered like this:

* start Writer
* "Insert" -> "Chart"
* right-click underneath the legend to open context menu
* select the "Insert Titles..." context menu entry
* type "TITLE" for the "X axis" field and confirm with OK
* select the new "TITLE" title of the X axis
* right-click on it to open the context menu
* select the "Format Title..." context menu entry
  to trigger the "X Axis Title" dialog

Change-Id: I92826df1c9f2e719ff147a09ae2d3d005e9529ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204218
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-04-24 14:26:28 +02:00
Michael Weghorn 33b3ab558b chart: Resave tp_axisLabel.ui with glade 3.40
This UI file is used for the "Label" tab
of the chart dialog for the X/Y Axis that can be
triggered like this:

* start Writer
* "Insert" -> "Chart"
* double-click on the Y axis to open the "Y Axis" dialog

Change-Id: I7e563c0163d946ebecd059db4ff6b2a0fbc6abb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204216
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-04-24 14:26:12 +02:00
Michael Weghorn 04d182f5b1 chart: Resave tp_Scale.ui with glade 3.40
This UI file is used for the "Scale" tab
of the chart dialog for the X/Y Axis that can be
triggered like this:

* start Writer
* "Insert" -> "Chart"
* double-click on the Y axis to open the "Y Axis" dialog

Change-Id: I2c3f538aea3b3d94e2079952e80a32803cc6e0e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204215
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-04-24 14:26:03 +02:00
Michael Weghorn 9ed4c664c0 chart: Resave tp_AxisPositions.ui with glade 3.40
This UI file is used for the "Positioning" tab
of the chart dialog for the X/Y Axis that can be
triggered like this:

* start Writer
* "Insert" -> "Chart"
* double-click on the Y axis to open the "Y Axis" dialog

Change-Id: I77e466e454d8fe74f04af32723795aa54d44a5cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204214
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-04-24 14:25:56 +02:00
Michael Weghorn 06bf8e0bbb chart: Resave tp_LegendPosition.ui with glade 3.40
This UI file is used for the "Position" tab page
in the chart "Legend" dialog that can be triggered
like this:

* start Writer
* "Insert" -> "Chart"
* double-click on the legend to open the "Legend" dialog

Change-Id: Iba5aa5d09cda6bc318cbb5627a9074dba7ad5729
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204212
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-04-24 14:25:41 +02:00
Michael Weghorn 52a86394b9 tdf#130857 chart: Don't hardcode size for chart color palettes icon view
Instead of hard-coding a size based on the icon size
for the icon views in ChartColorPalettes, rather let
the toolkit allocate a proper size.
Tweak some properties in the .ui file to achieve
proper auto-sizing.

Maybe, hard-coding the size was done because before

    commit 478b712ea1
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Aug 7 09:45:15 2025 +0200

        tdf#167658 vcl: Honor GtkIconView::columns + calc size

, the vcl implementation didn't take the column count
set in the .ui file into account when the original
code was was introduced in

    commit a26c93a630
    Date:   Sun Aug 10 22:33:37 2025 +0200

        chart color palettes: switch from drawingarea to IconView

.

In any case, it seems unnecessary now, and not hard-coding
the size e.g. results in all rows being visible at once
when using the gen vcl plugin for the following dialog,
instead of showing only part of them and using a scrollbar
despite there being plenty of space below the icon view.

Steps to trigger a dialog using this:

* start Writer
* "Insert" -> "Chart"
* double-click on a bar in the chart to open the
  "Data Series" dialog.
* switch to the "Color Palette" tab

Now, all rows are shown at once for both, the gtk3
and the gen vcl plugins.

The code is also used in the chart palette popup
that can be triggered like this (and whose .ui
file is also tweaked in this commit a bit):

* start Writer
* "Insert" -> "Chart"
* click on a bar in the chart
* switch to the "Properties" sidebar deck
* in the "Colors" section, click on the arrow
  of the button to open the popup

This commit also prepares for supporting the
dialog mentioned above with native Qt widgets
in an upcoming commit.

Change-Id: Ibf1cb597bc93f29033ab76432ca08af0b029cc0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204209
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-04-24 14:25:25 +02:00
Bogdan Buzea cb261889fe tdf#154368 Status bar - Inconsistent position for Document modified
in chart2/uiconfig/statusbar

Change-Id: I8c284dd8ecc007a72f360b4d0823505e2b3f7639
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203874
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-04-21 07:44:29 +02:00
Julien Nabet 5562b08935 Fix GtkTreeView <various cases> could use GtkListStore for better performance
Change-Id: If9d6f7d52d86b8398be796bd0c1f0744ff28b1f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203335
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-09 09:20:57 +02:00
Julien Nabet c5e85dba34 Fix GtkTreeView <various> could use GtkListStore for better performance
These fix for this case:
Calc, menu "Insert", then "Chart..."

Change-Id: I68a157587ff0fe63319b101b297d3f54a960a050
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203264
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-06 17:01:35 +02:00
Sahil Gautam dd345d5af0 chore: use unique context labels for the widgets
The below patch added `sidebargradients.ui` and it seems like this
file was based off `sidebarcellappearance.ui` as some widgets had
the exact same contexts as in `sidebarcellappearance.ui`. This broke
the builds due to duplication of `msgctxt` in the `.pot` translation
files.

https://gerrit.libreoffice.org/c/core/+/192043
I90b4f5368a552eb9ba399337a39e79455ea99fe6

Change-Id: I0f8e24aa52a2a77b87b2b685d22d7474736927af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200053
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins
2026-02-25 14:48:50 +01:00
Parth Raiyani 20c4113ff6 Add mnemonic widget property for data labels in DataSource UI
- This changes ensures that the label correctly reference the input element when visible

Signed-off-by: Parth Raiyani <parth.raiyani@collabora.com>
Change-Id: I5e7fdf14d8b8f5982cad7a0a3fb8e7256fc3dbb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190331
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200237
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-24 21:23:37 +01:00
Michael Weghorn 81c5c95885 chart: Resave .ui files for "Data Table" dialog with glade 3.40
However, manually remove automatically inserted

    <property name="can-focus">False</property>

for some GtkToolButton objects, to avoid potentially
unwanted side effects.

The dialog can be triggered like this:

* start Writer
* "Insert" -> "Chart"
* "View" -> "Data Table..."

Change-Id: I141c52522802068657c751ebed0b782a3f2efa4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199132
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-11 18:15:06 +01:00
Michael Weghorn e06ca4c3ab chart: Resave dlg_InsertErrorBars.ui with glade 3.40
The dialog can e.g. be triggered like this:

* start Writer
* "Insert" -> "Chart"
* "Insert" -> "X Error Bars..."

Change-Id: I7b0b857cf7a84d0c9e0a6ae824248be68b2a5d41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199130
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-11 18:14:17 +01:00
Michael Weghorn 81c8909595 tdf#130857 Define widgets in "Data Labels" dialog in order
Switch the order in which the widgets in the .ui file
are defined so that the order better matches the visual appearance
and logical order, which makes sure that tab focus order with the
Qt-based VCL plugins is correct as well when using native Qt
widgets (SAL_VCL_QT_USE_WELDED_WIDGETS=1), where
focus order is (by default) based on widget creation order.

See

    commit 02692566ad
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Oct 24 17:43:35 2024 +0200

        tdf#130857 optnewdictionarydialog.ui: Define focusable widgets in order

for more background.

The dialog can be triggered like this:

* start Writer
* "Insert" -> "Chart"
* "Insert" -> "Data Labels..."

Change-Id: Iebcfd35ed75719831cad445d25c9dbebc1a7fb4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199129
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-11 18:14:11 +01:00
Michael Weghorn f948e36120 chart2: Resave dlg_InsertLegend.ui with glade 3.40
The dialog can be triggered like this:

* start Writer
* "Insert" -> "Chart"
* "Insert" -> "Legend..."

Change-Id: I47eb0d6c5d68628620958062cb0b6aa3889fc9e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199111
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-11 08:57:26 +01:00
Michael Weghorn a79ce1a718 chart2: Resave insertgriddlg.ui with glade 3.40
The dialog can be triggered like this:

* start Writer
* "Insert" -> "Chart"
* "Insert" -> "Grids..."

Change-Id: I3ce0a7b4b8fa6d9d2ce66c74a4aade82c1f88976
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199109
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-11 08:57:13 +01:00
Michael Weghorn 9943a8a771 chart: Resave inserttitledlg.ui with glade 3.40
The dialog can be triggered like this:

* start Writer
* "Insert" -> "Chart"
* right-click on the background of the chart and select
  the "Insert Titles" context menu entry

Change-Id: I58a686bd3cd1de3ba37b82f2ed3db493ee849649
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197463
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-01-17 06:38:59 +01:00
Michael Weghorn 647fabe045 chart: Resave charttypedialog.ui with glade 3.40
The dialog can be triggered as follows:

* start Writer
* "Insert" -> "Chart"
* right-click on one of the bars in the bar chart
  and select the "Chart Type" context entry

Change-Id: I88cf741808cf21a69554bed7652ee135b0e604f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197461
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-01-17 06:38:46 +01:00
Michael Weghorn be04a19fa2 tdf#169318 tdf#127201 extension mgr: Open via new UNO command
Introduce a new UNO command, ".uno:ExtensionManager",
which is used to open the "Extensions" dialog from the
menu, notebookbar and using the keyboard shortcut
(Ctrl+Alt+E) instead of specifying the service name
"service:com.sun.star.deployment.ui.PackageManagerDialog"
in their configuration directly.

In a first step, handle the new UNO command in
SfxApplication::MiscExec_Impl by creating an
instance of the service by its name and executing the dialog
using the css::task::XJobExecutor interface without any
additional changes.
This matches what the previous way of triggering
the dialog would have done, i.e. no user-observable
behavior is intended yet.

This prepares for further changes in upcoming
commits, in particular passing a parent for
the dialog.

As documented in icon-themes/README.md, make sure to
have icons with the expected names, which is e.g.
used in the "Tabbed Compact" UI variant of the Notebookbar.
(Link to the already existing icons.)

Change-Id: I4b381b5f0b7cddd9f0aa9abd9b88c1c4364ab824
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193580
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-11-10 23:10:32 +01:00
Michael Weghorn fef506cb5c Bump minimum GTK version in .ui files to 3.24
... in line with previous commit

    Change-Id: Ib2b0d83b1a40b121660ffe04baf3eeb0bebe0da1
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Nov 5 17:44:57 2025 +0100

        gtk3: Require GTK >= 3.24

that makes it a requirement in code.

Change-Id: Ib2b9e6da2a834b0d9ddddd6b8a64142b8b5de153
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193478
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-11-05 23:31:08 +01:00
Mike Kaganski 0b39b230b8 tdf#139866: mark menu items that don't have icons
Avoids the console noise and the overhead associated with needless
image loading attempts.

There are some menu items added from code, that are not handled by
the patch: e.g., .uno:ToolbarLock.

Change-Id: If94cad97207e46125083c56882c284e0993f43f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192638
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-10-19 11:19:06 +02:00
Michael Weghorn 533e781af8 a11y: Set mnemonic widget instead of a11y relations
... for chart color palette popup.

Set the GtkLabel's "mnemonic-widget" instead of manually
setting the a11y label-for and labelled-by relations.
Setting the mnemonic widget results in the a11y relations
getting set as well, so there is no need to do that
manually, and setting the mnemonic widget also
allows moving the focus to the widget by using the
corresponding keyboard shortcut

Sample steps to trigger this color palette popup:

* start Writer
* click the "Insert Chart" toolbar item to insert
  a chart
* click on a bar in the chart
* open the sidebar and switch to the "Properties" deck
* click the button in the "Colors" section

Change-Id: Ic09da1c203d7e4bbee9cc99675943481723e2394
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190370
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-09-03 22:57:07 +02:00
Michael Weghorn 82ab71bfd8 a11y: Drop manual a11y relations for chart color palettes
commit a26c93a630
    Date:   Sun Aug 10 22:33:37 2025 +0200

        chart color palettes: switch from drawingarea to IconView

had switched to using weld::IconView for the color
palettes and introduced explicitly setting the label-for
and labelled-by accessible relations for the GtkFrame's
internal label child and the GtkIconView.

However, since the text of the GtkFrame's label is already
used as the accessible name for the frame and that one is the
parent "panel" of the IconView, screen readers already announce
the accessible name of the parent when the IconView receives
focus.

For gtk3, this would result in the label text/accessible name
getting announced twice now, e.g. "Colorful Colorful, list with
N items".
Similarly, NVDA on Windows would say "Colorful option pane, Colorful
list".

Stop explicitly setting the a11y relations to have it announced
only once.

An alternative solution could be to stop using a GtkFrame and
using a simple GtkLabel, then setting the GtkIconView as its
mnemonic widget.

Sample steps to see the corresponding dialog page:

* start Writer
* click the "Insert Chart" toolbar item to insert
  a chart
* double-click on a bar in the chart
* switch to the "Color Palette" tab page

Change-Id: If3a2beac193f05e13cc0fb1b30d6d0486c8433e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190369
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-09-03 22:56:57 +02:00
Kurt Nordback 2b4996dc80 tdf#165552 - 'Number of lines' control missing
Fix the chart type dialog and chart sidebar .ui files so that the
'number of lines' entry for columns-and-lines is not overlapping with the
'composite size' entry for of-pie (which doesn't cause a problem with gtk,
but does cause a problem with vcl=gen).

Change-Id: I90db47623b9b5699457e814c914690dc1e7f4bf4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187885
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2025-08-28 13:33:04 +02:00
Marco Cecchetti a26c93a630 chart color palettes: switch from drawingarea to IconView
Change-Id: Ie57acb02473ed5f51c4a2b969786418f6630bfb3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189536
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190037
Tested-by: Jenkins
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2025-08-24 23:21:59 +02:00
Michael Weghorn a614dbcc14 chart2: Resave attributedialog.ui with glade 3.40
The dialog can be triggered from Writer as follows:

* "Insert" -> "Chart"
* Hover over the X Axis until an "X Axis" tooltip appears
* double-click

Change-Id: Iaabca9238dd5009a7134f2561f7f47a099ab2db0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187860
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-07-15 08:45:19 +02:00
Heiko Tietze d2662f5f28 tdf#167316 tdf#167407 - VT style to chart props & char/para format
Change-Id: If103cb3ba1b5d60bce08a237d39e93475a6f16d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187466
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-07-10 09:20:58 +02:00
Mike Kaganski 543b6dc766 Drop "Status Bar" element from Chart's View menu
It does nothing, already in OOo 2.4.3.

Change-Id: I2364426d9bdad6cfe959be79412c4a039757525b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187445
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-07-06 17:20:28 +02:00
Noel Grandin d55084f102 fix some lint-ui warning: adjustment used more than once
Change-Id: I83d8f32489b1602af3a040ec4126ab72af8f87f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186188
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-06-06 21:28:12 +02:00
Marco Cecchetti 8870c3feb8 chart color palette for data series: dialog tab pane
Change-Id: I0877212c715d320e954fcd8089d4f984eae16ac6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184265
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185143
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Jenkins
2025-05-20 11:37:24 +02:00