GNU bug report logs - #9451
GTK3 toolbar style

Previous Next

Package: emacs;

Reported by: Stefano Facchini <stefano.facchini <at> gmail.com>

Date: Tue, 6 Sep 2011 16:17:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9451 in the body.
You can then email your comments to 9451 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9451; Package emacs. (Tue, 06 Sep 2011 16:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Facchini <stefano.facchini <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Sep 2011 16:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefano Facchini <stefano.facchini <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: GTK3 toolbar style
Date: Tue, 06 Sep 2011 18:11:06 +0200
[Message part 1 (text/plain, inline)]
When compiling with GTK3 the toolbar style should be set to
"primary-toolbar" to match the new theme. However, simply setting the
style in this way makes the toolbar looks bad because of the GtkEventBox
wrapped around every GtkButton.

It seems that the GtkEventBox is only used in connecting signals which
can be connected directly to the GtkButton itself. In the attached patch
the event box is removed and the toolbar style set to "primary-toolbar".

Feedback/comments welcome


-- 
Stefano Facchini <stefano.facchini <at> gmail.com>
[gtk3toolbar.patch (text/x-patch, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9451; Package emacs. (Tue, 06 Sep 2011 20:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 9451 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Stefano Facchini <stefano.facchini <at> gmail.com>
Cc: 9451 <at> debbugs.gnu.org
Subject: Re: bug#9451: GTK3 toolbar style
Date: Tue, 06 Sep 2011 22:12:37 +0200

Stefano Facchini skrev 2011-09-06 18:11:
> When compiling with GTK3 the toolbar style should be set to
> "primary-toolbar" to match the new theme. However, simply setting the
> style in this way makes the toolbar looks bad because of the GtkEventBox
> wrapped around every GtkButton.
>
> It seems that the GtkEventBox is only used in connecting signals which
> can be connected directly to the GtkButton itself. In the attached patch
> the event box is removed and the toolbar style set to "primary-toolbar".
>

The GtkEventBox is there to make tooltips work on disabled buttons.  Any patch 
made must preserve that.

	Jan D.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9451; Package emacs. (Tue, 20 Dec 2011 11:00:01 GMT) Full text and rfc822 format available.

Message #11 received at 9451 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Facchini <stefano.facchini <at> gmail.com>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 9451 <at> debbugs.gnu.org
Subject: Re: bug#9451: GTK3 toolbar style
Date: Tue, 20 Dec 2011 12:01:51 +0100
[Message part 1 (text/plain, inline)]
Il giorno mar, 06/09/2011 alle 22.12 +0200, Jan Djärv ha scritto:
> 
> Stefano Facchini skrev 2011-09-06 18:11:
> > When compiling with GTK3 the toolbar style should be set to
> > "primary-toolbar" to match the new theme. However, simply setting the
> > style in this way makes the toolbar looks bad because of the GtkEventBox
> > wrapped around every GtkButton.
> >
> > It seems that the GtkEventBox is only used in connecting signals which
> > can be connected directly to the GtkButton itself. In the attached patch
> > the event box is removed and the toolbar style set to "primary-toolbar".
> >
> 
> The GtkEventBox is there to make tooltips work on disabled buttons.  Any patch 
> made must preserve that.
> 
> 	Jan D.
> 

Since Gtk+ 3.3.6 it is possible to make transparent the background of a
widget. This allows to solve the GtkEventBox issue when using a primary
toolbar style. A patch is attached.
[gtk3primarytoolbar.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9451; Package emacs. (Sun, 15 Jul 2012 14:29:02 GMT) Full text and rfc822 format available.

Message #14 received at 9451 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Stefano Facchini <stefano.facchini <at> gmail.com>
Cc: Jan Djärv <jan.h.d <at> swipnet.se>, 9451 <at> debbugs.gnu.org
Subject: Re: bug#9451: GTK3 toolbar style
Date: Sun, 15 Jul 2012 22:22:04 +0800
Stefano Facchini <stefano.facchini <at> gmail.com> writes:

> Since Gtk+ 3.3.6 it is possible to make transparent the background of a
> widget. This allows to solve the GtkEventBox issue when using a primary
> toolbar style. A patch is attached.

Thanks, committed to trunk.




bug closed, send any further explanations to 9451 <at> debbugs.gnu.org and Stefano Facchini <stefano.facchini <at> gmail.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 15 Jul 2012 14:30:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Aug 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.