After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 713478 - Make the top bar (toolbar) as titlebar and add close button
Make the top bar (toolbar) as titlebar and add close button
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: ux
master
Other All
: Normal normal
: 0.8.0
Assigned To: Geary Maintainers
Geary Maintainers
review, gtk-3.10
: 713587 730683 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-08-27 12:34 UTC by Geary Maintainers
Modified: 2014-05-27 22:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make the top bar (toolbar) as titlebar and add close button (2.60 KB, patch)
2013-08-27 12:34 UTC, Geary Maintainers
none Details | Review
Geary-Close-button.png (100.75 KB, image/png)
2013-08-27 12:34 UTC, Geary Maintainers
  Details
Make the top bar as titlebar and add close button (11.73 KB, patch)
2013-10-14 11:16 UTC, Geary Maintainers
none Details | Review
Screenshot (239.04 KB, image/png)
2013-10-14 11:16 UTC, Geary Maintainers
  Details
Set the title of the headerbar as the current folder and numbers of unread emails (1.39 KB, patch)
2013-10-14 21:41 UTC, Geary Maintainers
none Details | Review
More a option for the title of the headerbar (1.68 KB, patch)
2013-10-14 22:40 UTC, Geary Maintainers
none Details | Review
Screenshot of this option (239.24 KB, image/png)
2013-10-14 22:40 UTC, Geary Maintainers
  Details
Port the toolbar to Gtk.HeaderBar (13.30 KB, patch)
2013-11-26 01:59 UTC, Yosef Or Boczko
none Details | Review
Port the toolbar to Gtk.HeaderBar (13.44 KB, patch)
2013-12-15 06:23 UTC, Yosef Or Boczko
none Details | Review
Port the toolbar to Gtk.HeaderBar (13.39 KB, patch)
2013-12-24 11:13 UTC, Yosef Or Boczko
none Details | Review
Port the toolbar to Gtk.HeaderBar (13.78 KB, patch)
2014-01-08 00:03 UTC, Yosef Or Boczko
none Details | Review
Port the toolbar to Gtk.HeaderBar (13.78 KB, patch)
2014-01-08 00:05 UTC, Yosef Or Boczko
none Details | Review
Port the toolbar to Gtk.HeaderBar (13.79 KB, patch)
2014-01-18 19:44 UTC, Yosef Or Boczko
none Details | Review
Port the toolbar to Gtk.HeaderBar (13.81 KB, patch)
2014-01-18 19:46 UTC, Yosef Or Boczko
none Details | Review

Description Charles Lindsay 2013-11-21 20:21:19 UTC


---- Reported by geary-maint@gnome.bugs 2013-08-27 05:34:00 -0700 ----

Original Redmine bug id: 7399
Original URL: http://redmine.yorba.org/issues/7399
Searchable id: yorba-bug-7399
Original author: Yosef Or Boczko
Original description:

This make the window to be consistent with the new design of GNOME 3 (GNOME
3.10).

See: https://wiki.gnome.org/Design/HIG/HeaderBars

See also the last post in the blog of Matthias:
http://blogs.gnome.org/mclasen/2013/08/23/gnome-3-10-sightings/

See also the image.



---- Additional Comments From geary-maint@gnome.bugs 2013-10-14 15:40:00 -0700 ----

### History

####

#1

Updated by Yosef Or Boczko 3 months ago

btw, now I see the date of the message (sent a few minutes ago) is "(null)".
the bug...

####

#2

Updated by Charles Lindsay 3 months ago

  * **Status** changed from _Open_ to _Review_

####

#3

Updated by Jim Nelson 3 months ago

  * **Category** set to _ux_
  * **Target version** set to _0.5.0_

Unfortunately, Geary has a minimum requirement of GTK 3.6 for the 0.4 release.
Since this uses a 3.10 symbol, we can't take it for this release.

It's possible we could work this into 0.5, so we'll take a look at this then.

####

#4

Updated by Yosef Or Boczko 3 months ago

Maybe to add #ifdef for this?

Just if have GTK+ 3.10 - make the top bar (toolbar) as titlebar and add close
button.

?

####

#5

Updated by Jim Nelson 3 months ago

We've gone down the #ifdef route before with less than satisfying results.
It's too easy for things to break over time, and leads to bit-rot.

####

#6

Updated by Yosef Or Boczko 3 months ago

OK.

Thanks.

####

#7

Updated by Alexander Wilms about 1 month ago

Why didn't you use an actual Gtk.HeaderBar in the patch?
http://valadoc.org/#!api=gtk+-3.0/Gtk.HeaderBar

This way you wouldn't need to add the close button and the sperator manually.

####

#8

Updated by Yosef Or Boczko about 1 month ago

OK, I can to port to GtkHeaderBar, it realy better,

but now I can't, because I can't build Geary - I have

WebKitGTK+ 2.2.0 (see 7023).

####

#9

Updated by Yosef Or Boczko about 1 month ago

  * **File** 0001-Make-the-top-bar-as-titlebar-and-add-close-button.patch added
  * **File** geary-start-dev-0.5-headerbar.png added

I attached a patch which port PillToolbar to Gtk.HeaderBar.

I need also to set a title to the headerbar, but it need design.

It can to be good idea if the title of the headerbar is will the

name of the current folder, and the subtitle of the headerbar

will the title of the current message.

####

#10

Updated by Yosef Or Boczko about 1 month ago

  * **File** 0002-Set-the-title-of-the-headerbar-as-the-current-folder.patch added

####

#11

Updated by Yosef Or Boczko about 1 month ago

  * **File** 0003-WIP-title-headerbar.patch added
  * **File** geary-headerbar-wip-title.png added

This patch is after the two patches above.

This patch make the title of the header as

the nickname of the current account, and

the subtitle as the name of the current

folder with number of unread mails.



--- Bug imported by chaz@yorba.org 2013-11-21 20:21 UTC  ---

This bug was previously known as _bug_ 7399 at http://redmine.yorba.org/show_bug.cgi?id=7399
Imported an attachment (id=260710)
Imported an attachment (id=260711)
Imported an attachment (id=260712)
Imported an attachment (id=260713)
Imported an attachment (id=260714)
Imported an attachment (id=260715)
Imported an attachment (id=260716)

Unknown milestone "unknown in product geary. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Yosef Or Boczko 2013-11-25 21:23:31 UTC
*** Bug 713587 has been marked as a duplicate of this bug. ***
Comment 2 Yosef Or Boczko 2013-11-26 01:59:43 UTC
Created attachment 262805 [details] [review]
Port the toolbar to Gtk.HeaderBar

- Set the title of the headerbar as the
nickname of the current selected account.
- Set the subtitle of the headerbar as the
current selected folder and numbers of unread
emails in this folder.
Comment 3 Jim Nelson 2013-12-05 23:54:27 UTC
I'm targeting this for the next release (0.6) if and only if we decide to make GTK 3.10 the minimum required version (TBD).
Comment 4 Yosef Or Boczko 2013-12-15 06:23:53 UTC
Created attachment 264213 [details] [review]
Port the toolbar to Gtk.HeaderBar

Updated to git master.
Comment 5 Yosef Or Boczko 2013-12-24 11:13:14 UTC
Created attachment 264838 [details] [review]
Port the toolbar to Gtk.HeaderBar

Updated to git master, again.
Comment 6 Yosef Or Boczko 2014-01-08 00:03:22 UTC
Created attachment 265619 [details] [review]
Port the toolbar to Gtk.HeaderBar

Updated to git master, again.
Comment 7 Yosef Or Boczko 2014-01-08 00:05:04 UTC
Created attachment 265620 [details] [review]
Port the toolbar to Gtk.HeaderBar

Updated to git master, again.
Comment 8 Yosef Or Boczko 2014-01-18 19:44:14 UTC
Created attachment 266628 [details] [review]
Port the toolbar to Gtk.HeaderBar

Updated to git master, again.
Comment 9 Yosef Or Boczko 2014-01-18 19:46:52 UTC
Created attachment 266629 [details] [review]
Port the toolbar to Gtk.HeaderBar

Fixes a type when rebase.
Comment 10 Jim Nelson 2014-01-30 01:33:47 UTC
Pushed to branch gtk-3.10, commit 6539a7

Geary 0.6 won't support GTK 3.10, so I've pushed this to a new branch, "gtk-3.10".  We'll merge this into master early in the next cycle.
Comment 11 Yosef Or Boczko 2014-05-23 00:41:22 UTC
We already in the 3.7/3.8 cycle, and also the unity's problems is solved (bug #727624).
You can to merge branch gtk-3.10 to master?
Comment 12 Jim Nelson 2014-05-27 22:25:42 UTC
*** Bug 730683 has been marked as a duplicate of this bug. ***