Show "Default Browser" pref as a gtk.infobar

Bug #904990 reported by Danielle Foré
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Files
Fix Released
High
Mario Guerriero

Bug Description

Instead of having an option in the preferences dialog, maybe it would be better to show the default browser option as a gtk.infobar much like Chrome does it. There are a few pros to this:

1. No more confusing interaction with enabling/disable widgets
2. Not exposing erroneous options to users that only have one browser
3. Much more discoverable

Related branches

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Ooh, I really like this. It makes sense because it will typically only be seen once and then never needs changed. Google actually had a good idea... xD

Revision history for this message
ammonkey (am-monkeyd) wrote :

Show a default application option means some control to hide it, to not harrass the users while they're opening it.
It suppose to have an option too in case people clicked on the control i just described to get rid of the message.

While we're talking about chrome, u should see the Set default option in the Settings.

So any dialog/infobar etc won't allow to remove the default button from the Setting dialog.

Changed in marlin:
status: New → Opinion
Changed in pantheon-files:
status: New → Confirmed
no longer affects: marlin
Changed in pantheon-files:
importance: Undecided → Wishlist
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

It is more than a Wishlist bug if we can get rid of the Preferences dialog

Changed in pantheon-files:
importance: Wishlist → High
assignee: nobody → Mario Guerriero (mefrio-g)
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

*if we want get rid of the Preferences dialog

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

I need some design inputs about the words to use in the info bar

Revision history for this message
Andrea Basso (voluntatefaber) wrote :

Will it appear every time I start Files and it isn't the default browser? Because that could really bother the user....

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

Design inputs are needed also for this

Changed in pantheon-files:
status: Confirmed → In Progress
Revision history for this message
Danielle Foré (danrabbit) wrote :

Chrome shows the message "Chrome isn't your default browser." and the buttons "Set as Default" and "Don't Ask Again"

If we had a "Don't Ask Again" that might be troublesome if you changed your mind and wanted to make it default. I don't really see why someone would have multiple file browsers installed side-by-side tbh. I think it'd be okay to go with an "Ignore" button and ask again later.

Revision history for this message
Andrea Basso (voluntatefaber) wrote :

It could be quite annoying if everytime I start it, it asks me to set it as default. I don't see why I should tell you the same thing over and over again.
Plus, something that never made sense to me is why Default Apps is under System Info and why there are only some apps. For Luna+1 we may think about a unified place for default apps or, if we decide not to have such a place, to make every app handle its "defaultness".

Till then, we could have the infobar, but having it autohide after few secs, so that I'm not forced to hide it every time. And probably hiding it as soon as the user interacts with Files could be a good idea, y'know, if the user start to use it's because it doesn't care about setting it as default.

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

For now I implemented as Dan said. He is right when he says that if the InfoBar will not showed again after Ignoring it for the first time it won't be possible to set Files as the default File Manager. The idea of a Timeout is good!

Changed in pantheon-files:
milestone: none → 0.1
Revision history for this message
Danielle Foré (danrabbit) wrote :

+1 on the timeout idea. We should also hide it on changing directory so that we don't conflict with the infobar in the Trash.

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

I added only the Timeout for now. I didn't find a way to get when a directory is changed

Cody Garver (codygarver)
Changed in pantheon-files:
status: In Progress → Fix Committed
Changed in pantheon-files:
milestone: 0.1 → luna-beta1
Revision history for this message
Arturo Torres Sánchez (r2d2.art2005) wrote :

Why is the timeout a good idea? It would annoy me that every time I open Files it asks me to set it as default even when I already told it I DON'T want that.

Changed in pantheon-files:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Bug attachments

Remote bug watches

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