glade destroys file just by loading and saving it
@mfabian
Submitted by Mike FABIAN Link to original bug (#779806)
Description
See: https://bugzilla.redhat.com/show_bug.cgi?id=1430748
I have a file setup.glade which works when I load it with a small python program "glade_problem.py” like this:
python3 glade_problem.py
It shows the dialog correctly.
Now I load the file into glade:
glade setup.glade
and do no changes whatsoever, I immediately click on the "save to disk" icon and quit glade.
Now I try to load the new file with the same test program:
python3 glade_problem.py
and the layout is completely messed up.
When using maindialog.show() instead of maindialog.show_all() in the test program, the dialog doesn’t show up at all, I can only see the windowmanager title bar then with a small gray area below.
With the original setup.glade file, it worked even with maindialog.show().
Why does glade destroy this working file by just saving it again???
glade version: glade-3.20.0-1.fc25.x86_64