Results 1 to 8 of 8

Thread: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

  1. #1
    Join Date
    Jan 2011
    Location
    Kansas City, KS
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    Hello all.

    This is a bit random and, I guess, not much of a conversation-starter, but I have a question about Gnome 3 for those who are using it and know a bit about the mechanics. I know that the theming is now based on CSS, which will massively simplify theming, and I know that regardless of the shell (Classic, Shell, Unity, or a-la-carte implementations of third-party panels like Elementary's Docky and eventually Wingpanel) or window manager (Mutter or Compiz) used, future Gnome distros will be able to take advantage of the new features of GTK 3.0. That bit I get.

    Here's where I'm curious: does GTK 3.0 finally support rounded corners for menus and tooltips? For all the talk about Shell and running apps through a browser and so on, this is the one thing I'd have actually expected to see in the next major revision of GTK. KDE has had rounded menus for some time now, and they've been just over the horizon in Gnome for years (even appeared in a mockup for Ubuntu Hardy along with RGBA support.) Will they finally be possible in GTK3?

    That's all.
    I know I shouldn't use tildes for decoration, but they always make me feel at home~

  2. #2
    Join Date
    Jun 2007
    Location
    NYC
    Beans
    2,179
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    Given all the rounded corners in these images, I'd say yes
    If the only reason you think your software is better is because it's FOSS, you need to write better software

  3. #3
    Join Date
    Jan 2011
    Location
    Kansas City, KS
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    Sweet. = ) I'm officially excited about Gnome 3 now.
    Last edited by Copper Bezel; April 2nd, 2011 at 02:34 PM.
    I know I shouldn't use tildes for decoration, but they always make me feel at home~

  4. #4
    Join Date
    Jul 2006
    Location
    /earth/europe
    Beans
    1,450
    Distro
    Ubuntu Development Release

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    Quote Originally Posted by Merk42 View Post
    Given all the rounded corners in these images, I'd say yes
    Those "menu" aren't drawn with GTK+ but with Clutter.

    @Copper Bezel: I know that round tooltips appeared in Lucid or thereabout.

    I've also seen round menu corners in GTK+ apps here: http://lucidfox.org/p/2010/08/19/and_stay_out
    WARNING: "sudo rm -rf /" = BAD Read this for more information.
    Q6600-Abit IP35-2 GB RAM-250GTS 1GB

    *Docky FTW!*

  5. #5
    Join Date
    Jan 2011
    Location
    Kansas City, KS
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    Those "menu" aren't drawn with GTK+ but with Clutter.
    Well, I'm dumb. I don't use the user menu, so I didn't recognize that one. My calendar looks exactly the same as the one in Shell right now (because AWN uses a similar overlay). And yes, not only are rounded tooltips supported, but I already have them. I promise that there was a reason for my confusion and that I wasn't drunk-posting.

    The link you provided links to a theme that doesn't exist, but apparently it's possible in the Murrine engines if RGBA is enabled. Thanks!

    Edit: So those two elements of the Hardy mockup I mentioned were more closely linked than I thought. In any case, what I'm seeing on this issue from every time it's been proposed is that to do this properly, rather than hacking with the theme, it supposedly "would require a complete rewrite of the GTK+ libraries", which is going on now. I do hope the Gnome devs made themselves a sticky note for this.

    In the short term, though, I'm presented with the thrilling possibility of getting them now with some tweaks to my gtkrc. = )
    Last edited by Copper Bezel; April 2nd, 2011 at 04:00 PM.
    I know I shouldn't use tildes for decoration, but they always make me feel at home~

  6. #6
    Join Date
    Nov 2008
    Beans
    381
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    You do realize that the Oxygen-GTK guys have already found a way around this, right? Even with a GTK 2 theme, although they're in the process of porting the theme to GTK 3 to support animation (the fading glows/menu items and stuff), among other things.

    I don't see why it hasn't been done a million times before. It's one of the main reasons I feel sick using Gnome- every theme that looks nice has those blocky rectangular menus that screw up the mood entirely. Also, it'd be nice to grab the background in any GTK theme, not just Oxygen-gtk.

    Hopefully there will be derivatives or something similar from the core Gnome team soon. I really hate feeling like we're living in the 90s even with Gnome 3 having come out today. OS X had these since 2005 or so. We've had them since 2008 on KDE. It should be a standard capability, and used when appropriate.

    P.S. Apparently you don't need compositing with Oxygen-gtk to have the rounded corners, either. So either RGBA has nothing to do with compositing, or they've used something clever to enable this feature. I suggest looking it up.

  7. #7
    Join Date
    Jan 2011
    Location
    Kansas City, KS
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    I'm not really concerned with what is and isn't possible in KDE. I already said it's terribly embarrassing if GTK3 doesn't have the capability.
    I know I shouldn't use tildes for decoration, but they always make me feel at home~

  8. #8
    Join Date
    Nov 2008
    Beans
    381
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Menu corners in GTK3 - a Gnome 3.0 thread that isn't about Shell

    Whoah whoah now, Oxygen-gtk doesn't use anything from KDE aside from the color settings. It's very much an independent gnome theme- it doesn't use Qt to run or display its menus.

    What I'm saying is that we should look into how they did it, since it's using pure GTK and can produce the menus even in applications where RGBA is blacklisted (albeit a bit rougher than those that do support RGBA). Even if Murrine can hypothetically do it, no one's really trying, and Oxygen-gtk already has it, so it may be a good place to start.

    I hope that it's okay for KDE folks to keep making integrated themes for Gnome, like QGtkStyle and Oxygen-Gtk, both for themselves and for Gnome users. I find it odd how little cooperation there is on user-facing issues like this, even when people are throwing hours into projects like this.

    Soon we'll all have pretty borders and antialiasing on everything, where available. I hope Gnome 3's theme comes with antialiased corners and round menus some time in the near future- I think it's inevitable. And these KDE guys like Hugo have proven that even on Gnome 2 it's totally possible.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •