[Glade-devel] Building Glade / error-message "attempting to create schema 'org.gtk.Settings.FileChooser' without a path"

Roland Koebler rk-list at simple-is-better.org
Tue Jun 10 19:37:37 UTC 2014


Hi,

since Glade 3.18.3 now works here, here's an update about the issues I
found on Glade 3.16.0:

> Usability:
> 
> - It uses some weird theme, and looks completely different than all
>   other GTK+-applications here (btw. I'm not using GNOME but plain fvwm).
>   Maybe the message "GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications."
>   has something to do with this. Can this be changed, so that some
>   default theme is used?
Solved: The self-compiled Glade looks much more familiar; I don't know
if it's still using a different theme, but I'm much happier with the used
theme now.

> - The layout of the items in the properties-editor became *much* worse.
>   In older versions, most properties used entries or toggle-buttons,
>   and were all positioned vertially below each other.
>   Now, many properties use switches (which I like) and checkboxes.
>   This would be ok, but the layout got very messy: Some properties
>   are positioned below each other, others horizonatlly next to each
>   other, sometimes in 2 columns, sometimes in 3 columns.
>   This makes the layout very messy, confusing and hard to use.
>   In addition, this causes the properties-editor to require more
>   space on the screen, sometimes nearly half (!) of the screen,
>   to show the properties without a horziontal scrollbar (e.g.
>   for GtkScrolledWindow).
> 
>   So, I would suggest to improve the layout, make it more clear and
>   use a clear structure, e.g.: Put all properties vertically below
>   each other instead of horizontally next to each other. This would
>   improve usability a lot.
> 
>   (The Signals-tab requires even more space (mostly because the Detail-
>   and Handler-column use much space although they are empty), but this
>   is less problematic than with the other tabs.)
No change. (Still bad layout.)

> - In earlier versions, I could shift-click (or ctrl-click?) an item on
>   the palette, an then place this widget multiple times. This was very
>   useful if I had to place e.g. many buttons or labels, but it doesn't
>   work anymore. Could this be added again?
No change. (Still doesn't work.)

> - In addition to the above: If I click on a wiget on the palette, is
>   there any way to abort this without placing the widget? I would
>   suggest to make this possible by e.g. pressing ESC or the
>   mouse-pointer-button on the toolbar.
No change (Still doesn't work.)
I'll create a bugreport for this, since e.g. the mouse-pointer changes to
a normal arrow after clicking on "Select widgets" on the toolbar, but
still a widget is added.

> Bugs:
> 
> - Glade hangs:
>   Glade often hangs, when dragging a created GtkPaned/GtkScrolledWindow/etc.
>   Glade then only shows a modal window (on all virtual desktops, see
>   attachment), doesn't react anymore, and causes 100% CPU load.
>   In these cases, I have to kill glade (or more exactly: kill
>   /tmp/.mount_Jq1Ok0/home/tristan/Glade/Install/bin/glade).
Maybe this has been resolved; but I have to test this more.

> - Properties editor becomes extremely slow:
>   The properties-editor becomes extremely slow after working with it for
>   some time: When I want to edit the ID of a widget the contents
>   of a label, I sometimes have to type blindly and wait for several
>   seconds (e.g. 8s!), or wait for 1 second (with 100% CPU-load!) after
>   every chacter until the characters appear in the properties-entry!
>   Closing and reopening the Glade-file or restarting Glade usually
>   "solves" this for a while.
I currently don't know if this was solved; if this happens again with
Glade 3.18.3, I'll create a bugreport.

> - Add Parent is broken:
>   "Add Parent" does not work anymore e.g. on GtkFrame, GtkAlignment,
>   GtkGrid, GtkBox etc. For example, if I create a GtkFrame, add a
>   GtkLabel, and then want to add a GtkBox as parent, this doesn't work
>   but shows the error "Widgets of type Alignment need placeholders
>   to add children." The same error occurs e.g. when trying to add a
>   GtkBox as Parent of a GtkGrid, or a Viewport as Parent to a GtkGrid etc.
>   This worked in Glade 3.12.
"Add Parent" now doesn't create an error-message, but after saving and
reloading the file, the contents of the added GtkScrolledWindow is
completely gone and it's not possible to add anything to the
ScrolledWindow again. So, I'll create a bugreport for this.

> - Missing "GtkImage" in Palette -> Miscellaneous:
>   In the Palette under "Miscellaneous", "GtkImage" is missing.
No change. I'll create a bugreport for this.

> - Missing "label"-property in GtkLinkButton Properties:
>   There is no way to modify the displayed contents of the linkbutton!
>   The only show "button", and this cannot be changed in Glade.
>   Workaround: Edit the GtkBuilder-XML-file directly.
No change. I'll create a bugreport for this.

> - Wrong widget in GtkButton Properties -> General -> Add custom content:
>   I think "[ ] Add custom content" should be a radio-button instead of
>   a checkbutton, since it completely behaves like a radiobutton.
No change. I'll create a bugreport for this.

> - GtkButton Images are not shown in Glade:
>   If I create a button including an image, the image is hidden in
>   Glade, unless I click "Always show image". But this property was
>   introduced in GTK+3.6, and I'm creating a GUI for GTK+3.2, so
>   I cannot use this property.
>   Later, in the application (with GTK+ 3.4), the image is shown
>   correctly, only Glade doesn't show them.
No change. I'll create a bugreport for this.

> - "Select Named Icon" in GtkImage Properties does not find any icons:
>   Selecting the image by "Icon Name" is broken: The "Select Named
>   Icon" does not find any standard-icons. This worked fine in
>   Glade 3.12.
>   (Maybe the folling message has to do with this:
>   "GladeUI-Message: Glade needs artwork; a default icon will be used for the following classes:
>    GtkApplicationWindow needs an icon named 'widget-gtk-applicationwindow'")
Solved: Does not occur on self-compiled Glade 3.18.3.

> - Duplicate widgets in Properties -> Common -> Widget Spacing -> Expand:
>   "Horizontal" and "Vertical" here have both a checkbutton and a switch.
>   One should be enough, and I would recommend to keep the switch but
>   remove the checkbox.
No change. I'll create a bugreport for this.

> - Preview snapshot sometimes doesn't work:
>   When clicking "Preview snapshot", I sometimes get an empty window
>   and the assertion:
>   (glade-previewer:8587): Gtk-CRITICAL **: gtk_box_pack: assertion 'gtk_widget_get_parent (child) == NULL' failed
No change. I'll create a bugreport for this.

> - Assertions:
>   I got several assertions. In my understanding, assertions should only
>   be used for coding errors, and not for unexpected input.
>   Here's a list of some assertions, I got:
> 
>   (glade:8214): GladeUI-CRITICAL **: glade_project_selection_clear: assertion 'GLADE_IS_PROJECT (project)' failed
>   (glade:13717): Gtk-CRITICAL **: gtk_status_icon_set_from_file: assertion 'filename != NULL' failed
>   (glade:13717): Gtk-CRITICAL **: gtk_status_icon_set_from_stock: assertion 'stock_id != NULL' failed
>   (glade:13717): Gtk-CRITICAL **: gtk_status_icon_set_from_icon_name: assertion 'icon_name != NULL' failed
I did not get such assertions yet; I'll create bugreports if I do again.


regards
Roland


More information about the Glade-devel mailing list