Bug 158394 - Automatic scaling of icons for navigation bar
Summary: Automatic scaling of icons for navigation bar
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Vladislav Tarakanov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Icon-Themes-Code
  Show dependency treegraph
 
Reported: 2023-11-27 08:31 UTC by Amin Irgaliev
Modified: 2023-12-07 08:36 UTC (History)
4 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-27 08:31:20 UTC
Description:
Currently, 3 icon sizes have been added for the navigation bar in Impress. Automatic icon scaling was discussed as part of the https://gerrit.libreoffice.org/c/core/+/159294 patch.

So far we see only two ways to implement autoscaling:
1) Based on the size of the LO window at the time the demo starts. The button sizes will be determined only once, but will not scale when the window size is changed (for example, when running a demo in the window).
2) Based on the dimensions of the LO window and dynamically redefine the button sizes each time the dimensions are changed. This option looks better than the previous one, but there are doubts that the current implementation of the navigation bar will support this feature.

Steps to Reproduce:
1) Open Impress
2) Enable the use of the navigation bar (Show navigation bar). Path: Slide Show -> Slide Show Settings
3) Select: "Button size: Automatic", "Presentation Mode: In a window"
4) Run demo
5) Resize the window

Actual Results:
Icons are always "Small" size

Expected Results:
Icons are scaled depending on the window size.


Reproducible: Always


User Profile Reset: No

Additional Info:
Comment 1 Heiko Tietze 2023-11-27 15:00:51 UTC Comment hidden (off-topic)
Comment 2 Roman Kuznetsov 2023-12-01 18:40:35 UTC
Amin, how often do your customers use slide show in window mode for interactive board?

Change status to ASSIGNED -> Vladislav already took it
Comment 3 Amin Irgaliev 2023-12-01 19:57:34 UTC
(In reply to Roman Kuznetsov from comment #2)
> Amin, how often do your customers use slide show in window mode for
> interactive board?
> 
> Change status to ASSIGNED -> Vladislav already took it

A minimal number of people (our customers) use windowed mode only because they don't know about it. But we can notify them about this opportunity and collect statistics within a month.
Comment 4 Heiko Tietze 2023-12-07 08:36:41 UTC
We discussed the topic in the design meeting.

A potential workflow is that users start a windowed presentation and maximize this window later, which requires an adaptive icon size. So option 2) is the best.