Jeremiah Benham | 1 Dec 2011 05:48

Re: gtk-3 branch

On 11/30/2011 04:06 PM, Richard Shann wrote:
> Jeremiah,
>
> I have just noticed that the quick shortcut setting was broken by
> adopting the gtk_menu_get_active() accessor. This is in both master and
> gtk-3 branch.
> I have fixed it in master, and it can be fixed in gtk-3 branch, but I
> suspect that it will not be working under gtk3.
> To test, pull down the Notes/Rests menu until you get to the Comment
> item, and before releasing the mouse press a key to try and set a
I put if GTK_MAJOR_VERSION==3 around this:
   action = 
gtk_activatable_get_related_action(gtk_menu_get_active(GTK_MENU(menu)));

It seems to be working how you described. I clicked on Notes/Rests 
released on Comments after hitting the c key. It gave me a pop warning 
saying that that key is already assigned. I applied it anyway to test 
it. sure enough, I hit the c key and the comment dialog appeared.

> shortcut. It was failing until I reverted the use of
> gtk_menu_get_active() just now, and I suspect it will fail under gtk3,
> unless they have fixed the accessor function.
I seems to work for me.

> The problem though is that the gtk documentation says that
> gtk_menu_get_active() returns something fairly useless "unless a menu
> item has been selected" which AFAICS is only after release of the mouse
> button, which is too late for us.
The dialog pops up to change keybinding as soon as I hit the key and 
before the release of the key.
(Continue reading)

Richard Shann | 1 Dec 2011 15:53
Favicon

Re: gtk-3 branch

Keyboard shortcut code is good now in gtk3.
I have fixed the crash I was getting with keysig change (a lurking bug,
rather than something you had done I think).
There are still error messages on the keysig dialog, but apart from that
I think we are ready for a merge into master.
Richard

On Wed, 2011-11-30 at 22:48 -0600, Jeremiah Benham wrote:
> On 11/30/2011 04:06 PM, Richard Shann wrote:
> > Jeremiah,
> >
> > I have just noticed that the quick shortcut setting was broken by
> > adopting the gtk_menu_get_active() accessor. This is in both master and
> > gtk-3 branch.
> > I have fixed it in master, and it can be fixed in gtk-3 branch, but I
> > suspect that it will not be working under gtk3.
> > To test, pull down the Notes/Rests menu until you get to the Comment
> > item, and before releasing the mouse press a key to try and set a
> I put if GTK_MAJOR_VERSION==3 around this:
>    action = 
> gtk_activatable_get_related_action(gtk_menu_get_active(GTK_MENU(menu)));
> 
> It seems to be working how you described. I clicked on Notes/Rests 
> released on Comments after hitting the c key. It gave me a pop warning 
> saying that that key is already assigned. I applied it anyway to test 
> it. sure enough, I hit the c key and the comment dialog appeared.
> 
> > shortcut. It was failing until I reverted the use of
> > gtk_menu_get_active() just now, and I suspect it will fail under gtk3,
> > unless they have fixed the accessor function.
(Continue reading)

Jeremiah Benham | 1 Dec 2011 17:02

Re: gtk-3 branch

I have just merged gtk-3 into master. ./autogen.sh before building.

Jeremiah

Sent from my Samsung smartphone on AT&T

Richard Shann <richard.shann@...> wrote:

>Keyboard shortcut code is good now in gtk3.
>I have fixed the crash I was getting with keysig change (a lurking bug,
>rather than something you had done I think).
>There are still error messages on the keysig dialog, but apart from that
>I think we are ready for a merge into master.
>Richard
>
>On Wed, 2011-11-30 at 22:48 -0600, Jeremiah Benham wrote:
>> On 11/30/2011 04:06 PM, Richard Shann wrote:
>> > Jeremiah,
>> >
>> > I have just noticed that the quick shortcut setting was broken by
>> > adopting the gtk_menu_get_active() accessor. This is in both master and
>> > gtk-3 branch.
>> > I have fixed it in master, and it can be fixed in gtk-3 branch, but I
>> > suspect that it will not be working under gtk3.
>> > To test, pull down the Notes/Rests menu until you get to the Comment
>> > item, and before releasing the mouse press a key to try and set a
>> I put if GTK_MAJOR_VERSION==3 around this:
>>    action = 
>> gtk_activatable_get_related_action(gtk_menu_get_active(GTK_MENU(menu)));
>> 
(Continue reading)

Jeremiah Benham | 1 Dec 2011 18:07

denemo crash with multiple keysignatures

In master I am now getting a crash when I:
place an initial keysig
place notes
place a keysig change

bt gives me this:
#19 0x0805fef2 in scorearea_configure_event (widget=0x85a1078, 
event=0x8587ad8)
     at draw.c:77
         gui = 0x895b5b8

I can recompile with --enable-debug if you need more.

Jeremiah
Richard Shann | 1 Dec 2011 20:05
Favicon

Re: denemo crash with multiple keysignatures

I have just
git checkout master
git pull
./autogen.sh
and the made. Everything seems to be working fine.
(gtk2 of course)
I guess you have some configuration thing messed up?

Richard

On Thu, 2011-12-01 at 11:07 -0600, Jeremiah Benham wrote:
> In master I am now getting a crash when I:
> place an initial keysig
> place notes
> place a keysig change
> 
> bt gives me this:
> #19 0x0805fef2 in scorearea_configure_event (widget=0x85a1078, 
> event=0x8587ad8)
>      at draw.c:77
>          gui = 0x895b5b8
> 
> I can recompile with --enable-debug if you need more.
> 
> Jeremiah
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> Denemo-devel@...
(Continue reading)

Richard Shann | 1 Dec 2011 21:36
Favicon

Re: denemo crash with multiple keysignatures

hmm, I spoke to soon. I did make clean and then make
and now keysig change is doing some corruption all right.
Richard

On Thu, 2011-12-01 at 11:07 -0600, Jeremiah Benham wrote:
> In master I am now getting a crash when I:
> place an initial keysig
> place notes
> place a keysig change
> 
> bt gives me this:
> #19 0x0805fef2 in scorearea_configure_event (widget=0x85a1078, 
> event=0x8587ad8)
>      at draw.c:77
>          gui = 0x895b5b8
> 
> I can recompile with --enable-debug if you need more.
> 
> Jeremiah
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> Denemo-devel@...
> https://lists.gnu.org/mailman/listinfo/denemo-devel
Jeremiah Benham | 1 Dec 2011 21:05

Re: denemo crash with multiple keysignatures

I pushed a change that fixes this.

Jeremiah

Sent from my Samsung smartphone on AT&T

Richard Shann <richard.shann@...> wrote:

>hmm, I spoke to soon. I did make clean and then make
>and now keysig change is doing some corruption all right.
>Richard
>
>On Thu, 2011-12-01 at 11:07 -0600, Jeremiah Benham wrote:
>> In master I am now getting a crash when I:
>> place an initial keysig
>> place notes
>> place a keysig change
>> 
>> bt gives me this:
>> #19 0x0805fef2 in scorearea_configure_event (widget=0x85a1078, 
>> event=0x8587ad8)
>>      at draw.c:77
>>          gui = 0x895b5b8
>> 
>> I can recompile with --enable-debug if you need more.
>> 
>> Jeremiah
>> 
>> 
>> _______________________________________________
(Continue reading)

Jeremiah Benham | 2 Dec 2011 15:31

createbutton isn't showing the formated content

When testing educational-Note Reading-Line and space recognition, I get 
unformatted buttons. So the buttons looks something like:
<b>help</b>
instead of having a bold help.

Jeremiah
Richard Shann | 2 Dec 2011 18:35
Favicon

Re: createbutton isn't showing the formated content

I see this bug. Another one (introduced by you packing of boxes changes
to container) is that the scheme script window does not expand properly
- the buttons expand as well. What forced you to change from vbox,hbox
to GtkContainer?

Richard

On Fri, 2011-12-02 at 08:31 -0600, Jeremiah Benham wrote:
> When testing educational-Note Reading-Line and space recognition, I get 
> unformatted buttons. So the buttons looks something like:
> <b>help</b>
> instead of having a bold help.
> 
> Jeremiah
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> Denemo-devel@...
> https://lists.gnu.org/mailman/listinfo/denemo-devel
Jeremiah Benham | 2 Dec 2011 17:57

Re: createbutton isn't showing the formated content

I switched because dialogs no longer have an accessable ->vbox member anymore. I also thought
gtk_container looked cleaner then gtk_box_pack. 

Jeremiah

Sent from my Samsung smartphone on AT&T

Richard Shann <richard.shann@...> wrote:

>I see this bug. Another one (introduced by you packing of boxes changes
>to container) is that the scheme script window does not expand properly
>- the buttons expand as well. What forced you to change from vbox,hbox
>to GtkContainer?
>
>Richard
>
>On Fri, 2011-12-02 at 08:31 -0600, Jeremiah Benham wrote:
>> When testing educational-Note Reading-Line and space recognition, I get 
>> unformatted buttons. So the buttons looks something like:
>> <b>help</b>
>> instead of having a bold help.
>> 
>> Jeremiah
>> 
>> 
>> _______________________________________________
>> Denemo-devel mailing list
>> Denemo-devel@...
>> https://lists.gnu.org/mailman/listinfo/denemo-devel
>
(Continue reading)


Gmane