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 140335 - Save position, width/height of window
Save position, width/height of window
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: 0.12
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2004-04-17 13:36 UTC by Richard Hult
Modified: 2005-10-09 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Could we also get a Edit Preferences or similar ? (19.84 KB, image/jpeg)
2004-04-20 00:14 UTC, Lincoln Phipps
  Details
Fix for Bug #140335 (4.24 KB, patch)
2004-04-23 04:09 UTC, Chris Ladd
none Details | Review

Description Richard Hult 2004-04-17 13:36:11 UTC
This is an easy one. Save the width/height and position, and even other UI state
like selected view, if critical tasks are shown, etc.
Comment 1 Lincoln Phipps 2004-04-20 00:14:54 UTC
Created attachment 26841 [details]
Could we also get a Edit Preferences or similar ?

Can we also have a Edit -> Preferences so options can be viewed, stored and
reset  e.g. especially for the UI stuff like showing critical path.

Attached is my ideas on this.
Comment 2 Mikael Hallendal 2004-04-20 08:48:07 UTC
Hmm .. the preferences dialog discussions would make more sense to track in it's
own bug. I'm not sure that starting the discussion with "we need a preference
dialog" is the correct way to go. Rather we should start the discussion what we
might need to be able to set.

This bug should however be about automatically storing/retreiving window
width/height...
Comment 3 Chris Ladd 2004-04-21 18:40:36 UTC
GConf is the correct way to do this, right? I'll start working on this.
Comment 4 Richard Hult 2004-04-21 18:54:17 UTC
Yep, there should be examples of this in e.g. devhelp in GNOME CVS.
Comment 5 Lincoln Phipps 2004-04-22 11:50:43 UTC
Our own Planner SQL stuff uses gconf too.
Comment 6 Richard Hult 2004-04-22 11:59:02 UTC
I was thinking about the specific code to save window pos/size/state though :)

Comment 7 Chris Ladd 2004-04-23 04:09:37 UTC
Created attachment 26989 [details] [review]
Fix for Bug #140335

Here is a patch to fix the bug. I "borrowed" 99% of the code from devhelp, so
they should get 99% of the credit ;)
Comment 8 Richard Hult 2004-06-22 22:02:02 UTC
Thanks a lot, committed to CVS.
Comment 9 James "Doc" Livingston 2005-10-09 18:16:20 UTC
*** Bug 316376 has been marked as a duplicate of this bug. ***