CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.83k stars 702 forks source link

Overflow icons: Switch from scroll button to dropdown #2005

Open pedropintosilva opened 3 years ago

pedropintosilva commented 3 years ago

Describe the bug

Currently when elements do no fit we use w2ui-scroll-right.

Notebookbar: image

Classic: image

This has a few drawbacks:

Suggested solution

image

What would happen when on mobile?

In this case I would let it as it (visually) is because:

Andreas-Kainz commented 3 years ago

I understood the issue but I'm not 100 % sure if an overflow button is the best solution.

scroll

pro:

con:

overflow button

pro:

con:

other solutions

pedropintosilva commented 3 years ago

I understood the issue but I'm not 100 % sure if an overflow button is the best solution.

scroll

pro:

Yes, please refer to What would happen when on mobile? (that's why on mobile it should remain as scrollable but without the JS part we do not need it now)

con:

there are more drawbacks please refer to This has a few drawbacks

overflow button

pro:

* No UI jumping issues

con:

* hide content
* didn't work for notebookbar

other solutions

* dynamic preview numbers #1587 is more flexible on larger screens

To leverage the flex we have in the styles preview (notebookbar) is a good idea and a good addition to the UX but not really directly related to this issue

Andreas-Kainz commented 3 years ago

Before

Notebookbar: image

After

scrollbar

left/right click commands icon in the tab area of the notebookbar.

small

Andreas-Kainz commented 3 years ago

for usability I would suggest to have an icon to show/hide notebookbar (like MSO any many other tabbed layout apps has)

small

Andreas-Kainz commented 3 years ago

and if the window is smaler than the notebookbar width needed, there will be two buttons for left and right scrolling. scrollbar

pedropintosilva commented 3 years ago

Oh now I understand your suggestion but I see a couple of problems there:

Andreas-Kainz commented 3 years ago

@quikee implement this new search command feature for LibreOffice which should be placed somewhere at the notebookbar tab area.

From Netflix I learn that an search can have very useful default values when nothing was inputted.

What if when command's that didn't have space were available at this search field. Maybe with a changed search label?

Than you have one place where you get command access.

Andreas-Kainz commented 3 years ago

At LibreOffice each tab has on the very right an tab label with commands that are not so offen used. When there is not so much space, commands will be available within the drop-down widget so you have two options for commands, visible at the toolbar or behind the label drop down.

Rash419 commented 3 years ago

Something like this is there in libre office

image

when you click on it , it shows remaining buttons