After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746055 - Support narrow and/or responsive layout when screen-width constrained
Support narrow and/or responsive layout when screen-width constrained
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: ux
master
Other Linux
: Normal enhancement
: ---
Assigned To: Geary Maintainers
Geary Maintainers
: 747112 (view as bug list)
Depends on: 764812 792389
Blocks:
 
 
Reported: 2015-03-11 22:29 UTC by Robert Schroll
Modified: 2019-03-31 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
WIP patch for combo box folder list (14.89 KB, patch)
2015-03-11 22:30 UTC, Robert Schroll
none Details | Review
Early WIP to replace FolderMenu with FolderPopover (6.52 KB, patch)
2016-06-08 19:43 UTC, Niels De Graef
none Details | Review

Description Robert Schroll 2015-03-11 22:29:10 UTC
As discussed in bug 714793, we could replace the folder list with another widget when in the vertical orientation and the user decreases the amount of space allotted to it.  There, we played with using a combobox to select the current folder.  This took advantage of the fact that a combobox uses the same model as a tree view in GTK, so we could reuse the existing model.

The user experience wasn't perfect though, with a lot of nested menus reflecting the nested folders.  Another idea would be to use a popover to display the existing folder list after a regular button is pressed.  This would require moving to GTK 3.12.
Comment 1 Robert Schroll 2015-03-11 22:30:42 UTC
Created attachment 299138 [details] [review]
WIP patch for combo box folder list

Here's the work in progress for replacing the folder list by a combo box.  It's here for historical purposes, since it didn't quite work correctly and won't apply cleanly to the current HEAD.  But it may be useful for reference.
Comment 2 Yosef Or Boczko 2015-03-12 13:54:38 UTC
It would be great to put this in a popover (GtkPopover from GTK+ 3.12).
Comment 3 Michael Gratton 2016-04-21 04:05:04 UTC
*** Bug 747112 has been marked as a duplicate of this bug. ***
Comment 4 Michael Gratton 2016-04-21 04:07:31 UTC
Per Bug 747112, another way to handle a lack of space would be to update the layout to some more pixel-conservative alternative.

I kind of like the idea of just making the layout dependant on the available width, since it would support half-maximised windows and low-res devices automatically, without the need for the pref.
Comment 5 Niels De Graef 2016-06-08 19:43:08 UTC
Created attachment 329422 [details] [review]
Early WIP to replace FolderMenu with FolderPopover

I made a very quick implementation using a popover. In the end, I would like to make it similar to the popover used in gnome-characters (see https://blogs.gnome.org/aday/files/2014/02/filter-menu.png). That would also make it a bit the same as in GMail.

Some things that still need to be done:
* Style the labels. I've added the css classes, but I have no idea in what file to put the css itself.
* For some unknown reason, the popover is automatically opened.
* Add a filter on top.

Any thoughts?
Comment 6 Michael Gratton 2016-06-09 07:07:18 UTC
Thanks for the patch! I think it probably wants to be attached to a different bug however - this is about moving the whole folder list (i.e. the folder sidebar) into a popover, not just the move/copy toolbar dropdown menus.

I'd be happy to go with this approach, especially if they also solved treating hierarchical folders in a nice way (maybe like GEdit style nested popover menus?), but let's have that discussion on that other bug. Want to file it?
Comment 7 Niels De Graef 2016-06-09 07:46:27 UTC
Ah, whoops, my bad! Will start a different bug in a few seconds.
Comment 8 Niels De Graef 2016-06-09 09:06:04 UTC
Filed bug 767431 (almost done there as well :) ).
Comment 9 Federico Bruni 2018-01-08 13:08:19 UTC
A sidebar popover would be pretty cool, better than current 2-pane mode (which I find useful but don't like the look).

Anyway, bug 730712 should always be taken into account...
Comment 10 Michael Gratton 2019-03-31 13:30:38 UTC
This is being taken care of over at: https://gitlab.gnome.org/GNOME/geary/issues/141