saber icon indicating copy to clipboard operation
saber copied to clipboard

Customization of toolbar

Open Iey4iej3 opened this issue 1 year ago • 3 comments

Motivation

I use different tools with different frequencies. If the toolbar is customizable, I can hide unused tools and rearrange them. Furthermore, I use some sub-tools frequently (such as the shape tool), and it would be better if it is possible to create a button for this subtool in the first level.

Solution

  • [ ] General interface to manage tools;
  • [ ] Rearrange tools;
  • [ ] Create a button for a sub-tool;
  • [ ] Hide/show tools;

Alternatives

No response

Saber version

v0.20.2

Device

  • Device: -
  • OS: -

Anything else?

No response

Iey4iej3 avatar Feb 27 '24 11:02 Iey4iej3

This suggestion can probably solve also my issue #1146. My idea was to have the option of different sizes of icons in the toolbar (now they seem unnecessarily large - when controlled with a pen, but for finger control, they should probably remain as they are).

The ability to edit the toolbar would be great. In terms of code complexity, I see a bit of an implementation problem. But maybe there would be someone willing to program this option.

Can you show a picture of how you would imagine the modified toolbar? It may be useful in terms of estimating the effort that will need to be spent on implementation.

QubaB avatar Feb 27 '24 15:02 QubaB

The ability to edit the toolbar would be great. In terms of code complexity, I see a bit of an implementation problem. But maybe there would be someone willing to program this option.

I imagine that there are existing libraries to do that, similar to how we edit the icons in the drop-list of Android status bar. Coding everything by hand seems to be laborious.

Can you show a picture of how you would imagine the modified toolbar? It may be useful in terms of estimating the effort that will need to be spent on implementation.

What I imagined is very simple. I listed four functionalities. Hiding / showing / rearranging (or sorting) tools are performed on the button level. Currently, it is possible to hide the finger drawing. It is simply a generalization of this.

The button of sub-tool is simply "moving" the button in the sub-tool (e.g. the shape tool) to the main button list, so that I can enable the shape tool in one click instead of potentially two clicks as currently.

Iey4iej3 avatar Feb 27 '24 16:02 Iey4iej3

Also, a related fact is, trying to change the pen tool takes around 1/3rd the entire screen and also shifts the canvas, which feels disturbing. Maybe if we could do sth like a floating horizontal bar for changing tool and size (taking minimal space as a floating window), it would be better.

Example in the SS:

SmartSelect_20240315_150837

abulusky avatar Mar 15 '24 09:03 abulusky