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 774994 - in treeview columns editor contextual menu does nothing
in treeview columns editor contextual menu does nothing
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
: 780710 791252 794011 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-11-24 10:14 UTC by Andrea Zagli
Modified: 2018-03-03 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glade crash log (25.30 KB, text/plain)
2017-01-22 14:06 UTC, requist1
Details

Description Andrea Zagli 2016-11-24 10:14:24 UTC
if i click on "add child ..." in the contextual menu in treevie columns editor (on the treeview on the left), it does nothing

i can only add columns (not children) with the plus button at the bottom


Debian gnu/linux SID updated every day
Comment 1 requist1 2017-01-22 14:06:47 UTC
Created attachment 343979 [details]
glade crash log
Comment 2 requist1 2017-01-22 14:11:49 UTC
I have the same here. I used this before but now (since last update?) it does not work anymore. I tried also with glade file which I made before, in these files I do see the childs but if I trow them away I am not able to put them back. When I then click on the treeview in the main window Glade crashes (consistent behavior).
I included the log file of this crash, maybe it helps..
Comment 3 ward 2017-05-03 20:02:21 UTC
I have the same problem with glade 3.20.0. This is on Fedora 25 with the most recent glade package. It also happens when I switch glade to the Fedora rawhide stream.
Comment 4 Michael Heyns 2017-12-24 06:40:17 UTC
I can confirm this is still present in Glade 3.20.2. Also, trying to delete columns removes them from the Glade canvas but not the list. The following error is produced:

(glade:12567): GladeUI-CRITICAL **: glade_project_get_template: assertion 'GLADE_IS_PROJECT (project)' failed

(glade:12567): GladeUI-CRITICAL **: glade_project_remove_object: assertion 'GLADE_IS_PROJECT (project)' failed

(glade:12567): GladeUI-CRITICAL **: glade_project_push_undo: assertion 'GLADE_IS_PROJECT (project)' failed
Comment 5 Luis Matos 2017-12-26 23:17:58 UTC
Same problem as the original reporter.
Cant add nothing to a treeview in the treeview editor besides treeviewcolumns.
in debian 8 with glade 3.18.3 it works as expected.
in debian 9 glade 3.20.0 it does not.
Comment 6 Luis Matos 2017-12-27 00:00:01 UTC
using flatpack 3.20.2 from flathub does not have this problem.
Comment 7 Luis Matos 2017-12-27 00:02:57 UTC
i suspect this is the commit that makes the treeview editor work again.
https://git.gnome.org/browse/glade/commit/?h=glade-3-20&id=f53fade6d12ece7b64142977c3a6d781fd37cc8e

did not test tough.
Comment 8 Alberto Fanjul 2017-12-27 09:50:10 UTC
I have created to flatpak versions to triage this:

- https://github.com/albfan/glade/tree/GLADE_3_18_3_flatpak:
   Works as expected, uses Gtk 3.20. In debian 8 it uses Gtk 3.14 https://packages.debian.org/jessie/glade
- https://github.com/albfan/glade/tree/flatpak
   Do not work. It shows some invalid cast and app hangs on last one, but as code is compilable and runnable I prefer to just link the branches

There's a glade-3-18 branch (ahead from 3.18.3 tag) but I didn't try it

I will try to detect the exact problem from those flatpaked branches
Comment 9 Juan Pablo Ugarte 2017-12-31 14:22:33 UTC
Thanks for the report guys

Fixed in master and glade-3-20 branches

I will make a new point release next week
Comment 10 Juan Pablo Ugarte 2018-01-02 13:09:33 UTC
*** Bug 791252 has been marked as a duplicate of this bug. ***
Comment 11 Juan Pablo Ugarte 2018-01-02 13:15:05 UTC
*** Bug 780710 has been marked as a duplicate of this bug. ***
Comment 12 Stephen 2018-02-02 20:01:14 UTC
Any chance of that point release? It's a month later ;)
Comment 13 Juan Pablo Ugarte 2018-03-03 14:56:30 UTC
*** Bug 794011 has been marked as a duplicate of this bug. ***