Menu

#418 GTK Toolbar

future
open
nobody
None
5
2023-05-18
2019-03-22
No

Patch against a fresh clone of 1.5.7 to add a toolbar to the GTK user interface. Somewhat experimental at the moment, it needs a better selection of functions (anything already in the fuse menus should be simple) and maybe better icons (the presented ones are from XFCE and are GPLv2).

1 Attachments

Discussion

  • Derek Fountain

    Derek Fountain - 2019-03-22

    Screenshot attached.

     
  • Sergio Baldoví

    Sergio Baldoví - 2019-03-30

    Thanks for your patch. I haven't (yet) looked deep into the source, but seems a promising start.

    IMO the initial selection should have open, save, pause, reset and mute (at least). And ideally, allow to customize the toolbar (actions, order, icons) according to user preferences, like your dev selection.

    I like compact toolbars (without text) if icons are clearly seen or understood. They are more common IMO.

     
  • Derek Fountain

    Derek Fountain - 2019-05-20

    Here's an updated patch, which applies against 1.5.7.

    I've added the option to remove the labels from the buttons so they render much smaller. The full-size-with-labels option is still there at compile time.

    I've added the open, save snapshot, pause, mute and reset buttons as suggested. Those are the ones set enabled by default by the patch. All the others I started with are still available.

    A customisable toolbar isn't supported by GTK3 and is way beyond my GTK skill level to create. It might be possible for someone to reuse one from a different GTK application (there aren't many options, I don't think - maybe VLC?) but it won't be me who does it. :o} A halfway house might be to have a general toolbar, a gamer's toolbar and a developer's toolbar, etc. That's still quite a lot of work though.

    The code in this patch is looking a bit fussy now, since I've tried to keep all the options open with conditional compilation. It could be streamlined a bit if and when a decision is taken as to what exactly is required

    (I've also just noticed my Eclipse project config files are in there - that's wasn't intentional and although they're harmless I doubt anyone else wants them!)

     
  • Derek Fountain

    Derek Fountain - 2019-05-20

    A couple of screenshots are attached. The small one shows the smallest Fuse window with the toolbar as created by the patch. The second one shows Fuse in a big window with all the buttons I've implement enabled. I'm not suggesting it makes sense to enable all that lot, I'm just demonstrating what's available. :)

     
  • Arki55

    Arki55 - 2023-05-18

    Interesting proof of concept, but I concur that this is not usable without configuration. Buttons preference is a subjective matter.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.