Re: [Geary] Geary title bar on Ubuntu

On Thu, Oct 6, 2016 at 3:05 AM, Adam Dingle <adam medovina org> wrote:
As an example, gedit also uses a GtkHeaderBar.  If I build gedit from GNOME master on Ubuntu 16.10, then I see the same issues as in Geary: (a) there is a single bar with gedit's own menus/icons rather than a separate title bar as in all other apps on the Ubuntu desktop; (b) gedit's menus aren't accessible if I enable menus in title bars.

Ubuntu 16.10 ships with gedit 3.22.0, which is reasonably close to master.  The shipping gedit looks and works fine because Ubuntu patches it.

Okay. Well do you know what the process is for getting similar patches applied for Geary? I guess it starts with a LP bug report? Do you have much contact with the people there?

On Thu, Oct 6, 2016 at 3:05 AM, Adam Dingle <adam medovina org> wrote:
I'd expect Unity to do the right thing and set GSettings' gtk-shell-shows-app-menu prop to false, in which case GTK should then show the app menu, but that also depends on what you have set for the gtk-decoration-layout prop.

What values does Geary have set for those two props for you? (The GTK Inspector is the easiest way to find out).

I fired up the GTK Inspector, but was unable to find these properties on any of these objects:

Oh, they're on the GSettings object, it's at the very top when showing all objects.

As I mentioned Ubuntu is patching other GTK applications (like gedit) that use a HeaderBar.  So should I file a Bugzilla bug as you suggested ("the former"), or will you?

Finally, it would be very nice for me (and many other Ubuntu users) if I could build Geary from master and have it just work on Ubuntu, as has always been the case in the past.  So I'd like to put in a vote for whatever makes that possible, even if it means having Unity-specific workarounds in Geary master.  

I'm in two minds about this - on the one hand it would be nice if Ubuntu/Unity/Compiz made their desktop not break so badly when people use modern GTK apps with it, and so feel like letting them deal with it. But on the other, Geary already works around bugs in other software, so making users pay for for this particular set of bugs would make for rather poor form.

I'd like to approach the issue from both ends - talk to Ubuntu to work out what they can do, and look at what Geary can do upstream to help out. Are you happy to open the LP bug?

-- ⊨ Michael Gratton, Percept Wrangler. ⚙ <>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]