Opened 4 years ago

Last modified 11 months ago

#4890 assigned Bug

Populate the application menu in GNOME 3

Reported by: aday Owned by: jordan
Priority: Normal Milestone: None Set
Component: GTK+ Client Version: 2.51
Severity: Normal Keywords:
Cc: fmuellner@…, mike@…

Description

With GNOME 3 it is now possible to specify entries for an application menu, similar to under OS X. The GNOME project is making a concerted effort to adopt this consistently. See - https://live.gnome.org/GnomeGoals/PortToGMenu

It would be fantastic if Transmission could be consistent with other GNOME apps and provide an populated application menu.

I've got a couple of suggestions here for potential app menu formats. In the first, the entire menu bar is replaced by the app menu:

New... Open URL... --- Start All Pause All --- View > Sort By > --- Preferences --- Help About Transmission Quit

(This requires that the entries under Torrent are accessible via the context menu.)

An alternative would be to take a more conservative approach:

Start All Pause All --- Preferences --- Help About Transmission Quit

Attachments (6)

0001-gtk-Drop-support-for-GTK-2.patch (12.1 KB) - added by fmuellner 4 years ago.
gtk: Drop support for GTK+-2
0002-main-Use-GtkApplication-GtkApplicationWindow.patch (6.3 KB) - added by fmuellner 4 years ago.
main: Use GtkApplication/GtkApplicationWindow?
0003-ui-Load-from-resource-instead-of-string.patch (14.3 KB) - added by fmuellner 4 years ago.
ui: Load from resource instead of string
0004-Port-to-the-new-GMenu-API.patch (54.9 KB) - added by fmuellner 4 years ago.
Port to the new GMenu API
0001-Consolidate-the-menubar-into-a-single-application-me.patch (21.6 KB) - added by fmuellner 4 years ago.
Consolidate the menubar into a single application menu
0001-Add-an-application-menu.patch (10.7 KB) - added by fmuellner 4 years ago.
Add an application menu

Download all attachments as: .zip

Change History (12)

comment:1 Changed 4 years ago by jordan

  • Status changed from new to assigned

GMenu is awesome, yes we should do this :)

Changed 4 years ago by fmuellner

gtk: Drop support for GTK+-2

Changed 4 years ago by fmuellner

ui: Load from resource instead of string

Changed 4 years ago by fmuellner

Port to the new GMenu API

Changed 4 years ago by fmuellner

Consolidate the menubar into a single application menu

Changed 4 years ago by fmuellner

Add an application menu

comment:2 in reply to: ↑ description ; follow-up: Changed 4 years ago by fmuellner

I have uploaded screenshots of various options for an application menu.

Replying to aday:

I've got a couple of suggestions here for potential app menu formats. In the first, the entire menu bar is replaced by the app menu:

[...]

(This requires that the entries under Torrent are accessible via the context menu.)

While I like the single-menu approach, the "Sort By" entry looks extremely crowded to me (even as a submenu) - see the first screenshot. Fortunately "Sort By" is already available as context menu (as well as the entries under "Torrent"), so I guess we can drop it as well - see the second screenshot (and the "Consolidate the menubar into a single application menu" patch).

An alternative would be to take a more conservative approach:

Start All Pause All --- Preferences --- Help About Transmission Quit

Personally I'd prefer the first approach (or a variation thereof), but I've attached an alternative patch ("Add an application menu") / screenshot for this approach as well (though I moved a couple more items into the application menu).

Comments?

comment:3 in reply to: ↑ 2 Changed 4 years ago by aday

Replying to fmuellner:

I have uploaded screenshots of various options for an application menu.

Replying to aday:

I've got a couple of suggestions here for potential app menu formats. In the first, the entire menu bar is replaced by the app menu:

[...]

(This requires that the entries under Torrent are accessible via the context menu.)

While I like the single-menu approach, the "Sort By" entry looks extremely crowded to me (even as a submenu) - see the first screenshot. Fortunately "Sort By" is already available as context menu (as well as the entries under "Torrent"), so I guess we can drop it as well - see the second screenshot (and the "Consolidate the menubar into a single application menu" patch).

It would certainly be cool if we could replace the menubar here. However, I'm not sure that exposing Sort By just as a context menu is appropriate (since it does not just apply to single items in the list).

You could easily expose Sort By through a combobox of course. Transmission crew - are you open to that?

An alternative would be to take a more conservative approach:

Start All Pause All --- Preferences --- Help About Transmission Quit

Personally I'd prefer the first approach (or a variation thereof), but I've attached an alternative patch ("Add an application menu") / screenshot for this approach as well (though I moved a couple more items into the application menu).

Yes, I'd prefer the first approach if possible.

comment:4 Changed 4 years ago by fmuellner

  • Cc fmuellner@… added

comment:5 Changed 3 years ago by moimael

Any update on this ? :)

comment:6 Changed 11 months ago by _mjog_

  • Cc mike@… added
Note: See TracTickets for help on using tickets.