Bug 126593 - gallery sidebar 3 columns
Summary: gallery sidebar 3 columns
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Gallery_7.0
  Show dependency treegraph
 
Reported: 2019-07-29 10:56 UTC by andreas_k
Modified: 2020-09-08 13:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
top 3 columns (proposal) bottom 2 columns (now default width) (106.57 KB, image/png)
2019-07-29 10:57 UTC, andreas_k
Details
Screenshot sidebar (24.10 KB, image/png)
2020-05-07 11:33 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2019-07-29 10:56:02 UTC
if you open the gallery sidebar after an fresh installation the sidebar show two shapes per row and an big space cause a view pixels are needed to show 3 columns.

I would recommend to show 3 columns per default in the sidebar. This issue is needed cause when I draw new gallery items I have to know if there are 2 or 3 columns and as we have around 50 shapes per gallery item, I recommend 3 columns.
Comment 1 andreas_k 2019-07-29 10:57:48 UTC
Created attachment 153030 [details]
top 3 columns (proposal) bottom 2 columns (now default width)
Comment 2 Heiko Tietze 2019-07-29 11:18:11 UTC
How about reducing the size of the thumbnails instead? Touching the sidebar width may have negative bearings on the other decks.
Comment 3 andreas_k 2019-07-29 11:20:09 UTC
e.g. for bullets and shape galleries, the size could be reduced and it would be an benefit for the gallery.
Comment 4 andreas_k 2019-07-29 11:20:37 UTC
can you give me an code point where the previews were renderd.
Comment 5 V Stuart Foote 2019-07-29 12:15:18 UTC
Gallery graphics/images are not fixed size, comment 0 would not be the way we add additional gallery art. Don't design for the appearance in gallery, rather their function on canvas.

Otherwise, reducing size of the example tiles to display three across in the default Sidebar width would be good--but also might want to size the tile width to fit in the Deck to hold 5 tiles (default now is 3 with white space at maximum Sidebar width).

And if tweaking this behavior, the algorithm for dragging the Gallery deck size and reducing tile size into one narrower column resizes the horizontal dimension of the tile but not the vertical dimension. So the graphic is shrunk, but the tile height remains unchanged. 

Tile becomes rectangular--increasing the space between graphics. 

Would be better if height is proportional and tile is kept square.

So, for the graphics (which IIUC are all SVG rendered onto thumbnail frame tiles):

1.) tile resize (smaller/larger) should scale proportionally horizontal *and* vertical
2.) default size to fit 3 tiles across
3.) maximum size to fit 5 tiles across (with deck dragged wider)
4.) two, and one column size (with deck dragged narrower) shrink tiles proportionally in vertical & horizontal dimension.
5.) adjust the minimum deck width allowed before deck collapse that retains legibility of the graphic in the shrunken tiles.
Comment 6 andreas_k 2019-07-29 12:29:18 UTC
It's general NOT possible to "design" gallery items without the knowledge where it was shown. e.g. for color paletts we have an 12x10 grid so you can define colors for that grid.

if you draw graphics you have to know also where they should be shown. If there are 3 columns it mean I can draw
  - 3 colored circles
  - 6 rectangular elments
  - 3 ...
it's fast to recognize for the eye if everything is not defined and there are 2 circles, 7 rectangular, ... it look like it's not designed it's only shapes from somewhere shown there.
Comment 7 andreas_k 2019-08-05 07:25:57 UTC
when you have gallery items in an drop down list (like bullets), than the mouse wheel up/down jump always 3 items, so if you prepare gallery elements for 3 columns they fit's also for list view.
Comment 8 Heiko Tietze 2020-05-07 11:33:43 UTC
Created attachment 160494 [details]
Screenshot sidebar

Cannot confirm the issue. Sidebar decks have all the same size to avoid visual noise (opposite request in bug 128180). Latest master in my configuration has a sidebar width that is more than enough to fit three items. It depends of course on the desktop environment and the theme. But also VCL=gen works for me well.

So neither I see it as an issue nor is there any way to fix it despite with bug 128180.
Comment 9 andreas_k 2020-09-08 13:58:44 UTC
If all decks has the same width, than I'm fine and can close this bug report.