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 552662 - Properties pane never remembers it's position
Properties pane never remembers it's position
Status: RESOLVED DUPLICATE of bug 569160
Product: anjuta
Classification: Applications
Component: plugins: glade
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-17 16:18 UTC by Thomas Wood
Modified: 2010-02-28 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Wood 2008-09-17 16:18:29 UTC
The glade properties pane never remembers it's position between sessions.
Comment 1 Jonas Karlsson 2008-09-25 11:21:17 UTC
I have the same behaviour using Anjuta 2.4.1 under Ubuntu 8.04 (Hardy Heron) but it affects all glade plugin panes, also including widgets and palette.
Also the positions are forgotten if I close the glade document, even if I keep the Anjuta session open.
Comment 2 Pavel Kostyuchenko 2008-09-27 21:17:23 UTC
Probably glade plugin should be user-activated, so the panes will not disappear after closing all glade documents.
All positions are saved normally after restarting anjuta for me and you shouldn't try to reopen the session in any other way because that part of glade plugin is broken (at least for the current version of glade plugin). My working version doesn't have this problem but it still forgets positions when deactivated.
Comment 3 Naba Kumar 2008-11-30 22:23:32 UTC
Okay, as part of a session, Anjuta only remembers what was there *just* before it was exited. If a plugin goes away before anjuta exits, it doesn't know about it. It's just a design issue and there is no straight forward way to fix it. For example, consider this example (keep aside the fact that anjuta currently does not have per plugin layout saving for the time being):

1. At this point in time, you have an uber cool layout.
2. You close the glade file/plugin and anjuta remembers glade widgets.
3. Two months later, you are now in another uber cool layout -- a very different from what you had 2 months ago.
4. You open a glade file.
5. You current layout is so different, Anjuta doesn't know how to restore/map the previously saved layout for glade plugin -- that's the problem.

Anjuta doesn't even know if the saved layout information is even compatible with your current layout (so that it could consciously discard the saved layout and use defaults).

This is a non-trivial problem to solve and would require good dose of computer science. Anyone is welcome for the challenge :). Just a little bit of information. The layout is stored in a tree structure (means for the same visually looking layouts, you could have multiple tree structures). We could try to come up with some heuristic algorithm to merge them that relies on structure's 'visual impact' and some magic. But I have other things to do ;).
Comment 4 Johannes Schmid 2010-02-28 18:52:44 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 569160 ***