[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] createbutton isn't showing the formated content
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] createbutton isn't showing the formated content |
Date: |
Mon, 05 Dec 2011 19:37:37 +0000 |
The score props dialog no longer crashes, but setting the measure width
gives error messages ...
(denemo:4309): GLib-GObject-WARNING **: invalid cast from
`GtkComboBoxEntry' to `GtkCombo'
(denemo:4309): GLib-GObject-WARNING **: invalid cast from
`GtkComboBoxEntry' to `GtkEntry'
(denemo:4309): Gtk-CRITICAL **: gtk_entry_get_text: assertion
`GTK_IS_ENTRY (entry)' failed
(denemo:4309): GLib-CRITICAL **: g_string_assign: assertion `rval !=
NULL' failed
etc
Richard
On Mon, 2011-12-05 at 09:21 -0600, Jeremiah Benham wrote:
> I just pushed a change for this. does it fix it for you?
>
> Jeremiah
>
> Sent from my Samsung smartphone on AT&T
>
> Richard Shann <address@hidden> wrote:
>
> >Your latest version of prefdialog.c does not build under gtk2 I think:
> >
> >prefdialog.o: In function `set_gtk_popdown_text':
> >/home/rshann/git-denemo/fluid/src/../../denemo/src/prefdialog.c:279:
> >undefined reference to `GTK_COMBO_BOX_TEXT'
> >
> >Richard
> >
> >
> >On Sun, 2011-12-04 at 08:30 -0600, Jeremiah Benham wrote:
> >> I will work on it tonight.
> >>
> >> Jeremiah
> >>
> >> Sent from my Samsung smartphone on AT&T
> >>
> >> Richard Shann <address@hidden> wrote:
> >>
> >> >On Sat, 2011-12-03 at 12:02 -0600, Jeremiah Benham wrote:
> >> >> I fixed the crash and the widgets are packed.
> >> >I'm not sure which stage you are at, but after git pull right now I see
> >> >these
> >> > * The Score->Score Properties is crashing
> >> > * The Scheme window does not pack properly (you can only get half
> >> > the text area, the rest is assigned to the CLI and Execute
> >> > buttons).
> >> >I haven't been able to check the Audio Input boxes because my
> >> >installation won't open the portaudio default, I am not trying to fix
> >> >this as the GSOC work is not complete.
> >> >
> >> >Richard
> >> >
> >> >
> >> >> I can revert the gtk_containers back to gtk_box_pack if you like. I
> >> >> will probably not have time until monday to do this reversion though.
> >> >> It tested it and it looks fine to me. It can look better but I think I
> >> >> can polish it with some of the other gtk_container functions. The
> >> >> gtk_container_add just uses gtk packing defaults. Any dialog has a
> >> >> space called the content area where widgets can be packed. I am just
> >> >> placing a vbox in the content area and then packing all the other
> >> >> widgets into the vbox.
> >> >>
> >> >> Jeremiah
> >> >>
> >> >> Sent from my Samsung smartphone on AT&T
> >> >>
> >> >> Richard Shann <address@hidden> wrote:
> >> >>
> >> >> >On Fri, 2011-12-02 at 13:24 -0600, Jeremiah Benham wrote:
> >> >> >> I will take of the crash tonight.
> >> >> >I see you have made one commit. Are you fixing all the issues from the
> >> >> >merge? Score Properties dialog and GtkBox->GtkContainer issues...?
> >> >> >Richard
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> Jeremiah
> >> >> >>
> >> >> >> Sent from my Samsung smartphone on AT&T
> >> >> >>
> >> >> >> Richard Shann <address@hidden> wrote:
> >> >> >>
> >> >> >> >On Fri, 2011-12-02 at 10:57 -0600, Jeremiah Benham wrote:
> >> >> >> >> I switched because dialogs no longer have an accessable ->vbox
> >> >> >> >> member anymore. I also thought gtk_container looked cleaner then
> >> >> >> >> gtk_box_pack.
> >> >> >> >OK, that was a mistake. Containers are a much more primitive thing,
> >> >> >> >they
> >> >> >> >don't allow you to control the way the sub-widgets are arranged and
> >> >> >> >how
> >> >> >> >much of the available space they take. In fact, IIRC, you can (or
> >> >> >> >could
> >> >> >> >in gtk2) only have one widget inside a container.
> >> >> >> >Can you look again at how you do the placement of GtkVBox and
> >> >> >> >HBoxes now
> >> >> >> >in gtk3 - some sort of accessor function for the ->vbox member I
> >> >> >> >would
> >> >> >> >imagine?
> >> >> >> >
> >> >> >> >Also, there is an immediate crash on trying Score->Score Properties.
> >> >> >> >Smells of memory corruption again :(
> >> >> >> >
> >> >> >> >The Educational->CreateButton problem is not due to the migration,
> >> >> >> >it is
> >> >> >> >a bug I introduced trying to fix the problem of displaying titles
> >> >> >> >(like
> >> >> >> >Pavana & Galliarda Dolorosa) that include characters that mean
> >> >> >> >something
> >> >> >> >as markup (sorry). I am not sure how to handle this for best - it
> >> >> >> >may be
> >> >> >> >we will need to set a flag to indicate whether the display field
> >> >> >> >contains markup or not... I'll think this over.
> >> >> >> >
> >> >> >> >Richard
> >> >> >> >
> >> >> >> >
> >> >> >> >> Jeremiah
> >> >> >> >>
> >> >> >> >> Sent from my Samsung smartphone on AT&T
> >> >> >> >>
> >> >> >> >> Richard Shann <address@hidden> 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
> >> >> >> >> >> address@hidden
> >> >> >> >> >> https://lists.gnu.org/mailman/listinfo/denemo-devel
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >
- Re: [Denemo-devel] createbutton isn't showing the formated content, (continued)