Bug 1430748 - glade destroys file just by loading and saving it
Summary: glade destroys file just by loading and saving it
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: glade
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-09 13:48 UTC by Mike FABIAN
Modified: 2017-12-12 10:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:50:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Original setup.glade file (36.06 KB, application/xml)
2017-03-09 13:48 UTC, Mike FABIAN
no flags Details
New setup.glade file after loading the original one into glade and saving it. (34.65 KB, application/xml)
2017-03-09 13:49 UTC, Mike FABIAN
no flags Details
Test program glade_problem.py (327 bytes, text/plain)
2017-03-09 13:50 UTC, Mike FABIAN
no flags Details
display-ui-with-glade_problem.py.png (64.96 KB, image/png)
2017-03-09 13:58 UTC, Mike FABIAN
no flags Details

Description Mike FABIAN 2017-03-09 13:48:21 UTC
Created attachment 1261575 [details]
Original setup.glade file

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

Comment 1 Mike FABIAN 2017-03-09 13:49:40 UTC
Created attachment 1261576 [details]
New setup.glade file after loading the original one into glade and saving it.

Comment 2 Mike FABIAN 2017-03-09 13:50:38 UTC
Created attachment 1261577 [details]
Test program glade_problem.py

Use it like “python3 glade_problem.py” with “setup.glade” in the same directory.

Comment 3 Mike FABIAN 2017-03-09 13:58:41 UTC
Created attachment 1261579 [details]
display-ui-with-glade_problem.py.png

Left:  python3 glade_problem.py
       using the original setup.glade file

Right: python3 glade_problem.py
       using the setup.glade file which was once loaded into glade
       and then saved.

Comment 4 Mike FABIAN 2017-03-09 14:03:56 UTC
I opened an upstream bug here:

https://bugzilla.gnome.org/show_bug.cgi?id=779806

Comment 5 Kalev Lember 2017-03-09 14:03:57 UTC
Can you file it upstream at https://bugzilla.gnome.org/enter_bug.cgi?product=glade please? I don't think we have anyone downstream looking at glade issues currently.

Comment 6 Mike FABIAN 2017-03-09 14:04:19 UTC
I opened an upstream bug here:

https://bugzilla.gnome.org/show_bug.cgi?id=779806

Comment 7 Fedora End Of Life 2017-11-16 18:49:26 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:50:16 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.