Bug 158126 - UI: Scalable buttons for Impress navigation bar
Summary: UI: Scalable buttons for Impress navigation bar
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Amin Irgaliev
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Icon-Themes-Code
  Show dependency treegraph
 
Reported: 2023-11-09 09:28 UTC by Amin Irgaliev
Modified: 2023-11-27 08:32 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amin Irgaliev 2023-11-09 09:28:06 UTC
Description:
On some panels, small icons of navigation bar are not convenient to use. Currently there are 4 sizes available for other icons: automatic, small, large and extra large. It is useful to implement support for scalable buttons in the Impress navigation bar. This setting can be located in Tools -> Options -> LibreOffice Impress -> View.


Actual Results:
Currently, only one icon size is available for the navigation bar in presentations.

Expected Results:
There are several sizes of icons available for the navigation bar in presentations.


Reproducible: Always


User Profile Reset: No

Additional Info:
Comment 1 Stéphane Guillou (stragu) 2023-11-09 11:08:06 UTC
Sounds sensible to me.
No idea how the navigation panel icons are tied to existing icon sets and UI scaling, but Heiko and Rizal might want to comment?
Comment 2 Amin Irgaliev 2023-11-09 11:49:53 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> Sounds sensible to me.
> No idea how the navigation panel icons are tied to existing icon sets and UI
> scaling, but Heiko and Rizal might want to comment?

Hello.
Together with @vladislav.tarakanov, I implemented this functionality for Impress and we almost understand what needs to be done. We just wanted to discuss the need to add scalability for icons before moving forward with implementation.
Comment 3 Heiko Tietze 2023-11-09 12:18:27 UTC
The icon size is available under Tools > Options > View and affects the UI. Mixing up these with the navigation bar would be weird. But I have no better idea and maybe a (slightly) different naming would be good.
Comment 4 Amin Irgaliev 2023-11-09 12:51:32 UTC
(In reply to Heiko Tietze from comment #3)
> The icon size is available under Tools > Options > View and affects the UI.
> Mixing up these with the navigation bar would be weird. But I have no better
> idea and maybe a (slightly) different naming would be good.

We want to add a icon size selector for the navigation bar to the LibreOffice Impress -> View settings, as a new setting and it will have a self name(for ex. "Navigation buttons size" and selector). Is this what you meant?
Comment 5 Heiko Tietze 2023-11-09 13:09:37 UTC
(In reply to Amin Irgaliev from comment #4)
> "Navigation buttons size"
Sounds good to me. To make this work you need UNO command and sc*/lc* icons though. To keep it simple I suggest to have icon-themes/*/sd/res/nextslide.svg, nextslide_l.svg, and nextslide_xl.svg, or the like. You could also just scale the SVG up/down (and drop all raster graphics).
Comment 6 Heiko Tietze 2023-11-14 07:16:58 UTC
Patch at https://gerrit.libreoffice.org/c/core/+/159294
Comment 7 Commit Notification 2023-11-22 20:21:04 UTC
Irgaliev Amin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/847001ffbbcaf6d2657a5cce18f6c58151efbd2c

tdf#158126 UI: Scalable buttons for Impress navigation bar

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.