Allow extensions to activate by trigger

Bug #914481 reported by Cris Dywan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Wishlist
Unassigned

Bug Description

As discussed, it would make the user experience smoother if extensions were more naturally integrated, so you don't have to search for them by hand or even by name.

The advertisement filter (adblock) and cookie manager could show up in the privacy preferences as buttons, which activate the respective extensions. Before that, they don't make for any memory or performance overhead.

The toolbar and hotkey editors could show up in the toolbar right-click menu.

The history list extension could trigger an infobar that appears the first time you hit Ctrl+Tab and offers you to switch tabs in the order you open and close them.

These extensions might be omitted from the extension list, to limit it to specialized extensions, which in turn makes it easier to go through.

API proposal by example (in Vala for brevity):
extension.add_trigger (MIDORI_TRIGGER_PRIVACY_PREFERENCES, _("Configure Advertisement filters"));
extension.add_trigger (MIDORI_TRIGGER_TOOLBAR_CONTEXT_MENU, _("Customize toolbar..."));
extension.resident = false; automatically load extension, omit from the list, unload automatically
extension.connect("triggered",...)

Cris Dywan (kalikiana)
tags: added: trigger
Cris Dywan (kalikiana)
tags: added: extension
Cody Garver (codygarver)
Changed in midori:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Cris Dywan (kalikiana) wrote :
Revision history for this message
gue5t gue5t (gue5t) wrote :

Generally I think improving feature visibility is a good thing, but I think it's important to avoid "first-use nags" like the ctrl-tab example. Users who use hotkeys are probably advanced enough to seek out customizations on their own and expect the keys to Just Work until they do so.

Revision history for this message
Cris Dywan (kalikiana) wrote :

We have triggers in the form of Peas.Activatable interfaces now.

Changed in midori:
status: Triaged → Fix Released
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.