Implement a way to go back to the collection view

Bug #1367245 reported by Fabio Zaramella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Foto
Triaged
Medium
Unassigned

Bug Description

as above

Changed in foto:
milestone: none → foto-1.0
importance: Undecided → Medium
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

I did it this way because I tried to add a back Button first with the class "back-button" that elementary Theme provides (you need a back button or something because if you have the item selected in the sidebar, the only way to go back is double clicking the photo), but it looks very ugly, because the dark Theme. Maybe we can add our own class, it's not something hard to do. And this remember me to report the problem to egtk.

Revision history for this message
Fabio Zaramella (fabiozaramella) wrote :

Do you think it will look good to have a back button in the header bar? I think it will look crowded.

I'm not much convinced :/ even in pantheon-photos it's not present and thats ok, i thought we should give the user two possibilities, double clicking again on the photo and add the possibility to click on the current item even if it is selected to bring him back to the album or "photos" or whatever (so "refresh the view").

What do you think about that? Maybe you are right but i want to hear your opinion on that. :)

Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

I also think that a back Button will look bad, too cluttered.

The problem is that sourcelist items are not widgets, so you can't add a button press event.

Revision history for this message
Fabio Zaramella (fabiozaramella) wrote :

Good so we can keep the sidebar selection and you are right, the problem are source list items, but what does pantheon-files use?

Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

not sure, but here is the documentation for SourceList.Item

http://valadoc.elementaryos.org/granite/Granite.Widgets.SourceList.Item.html

It has activated () and action_activated () signals, not sure of the difference, but activated () is on double click, not simple click.

Revision history for this message
Fabio Zaramella (fabiozaramella) wrote :

And action_activated () using activatable ? i'm not sure it's possible

Changed in foto:
status: New → Confirmed
summary: - Don't loose sidebar selection when double click on a photo
+ Implement a way to go back to the collection view
Changed in foto:
status: Confirmed → Triaged
Revision history for this message
Fabio Zaramella (fabiozaramella) wrote :

 doubleclicking the photo return to collection so do we really need a back button? i don't think so, we should try to not deselect the entry from the sidebar and make it clickable to go back instead

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.