- What steps will reproduce the problem?
1. Exit ganttproject while window is unmaximized (that is, in a non-fullscreen
window)
2. Open ganttproject. Window will be the same size as when it closed.
3. Maximize window and exit ganttproject.
4. Reopen ganttproject. Window will take up entire screen but be in
unmaximized state. The window borders are beyond the edges of the screen. In
order to resize the window, the window must be dragged so that the window
borders become visible.
- What is the expected output? What do you see instead?
If ganttproject is closed while maximized, it should reopen maximized and allow
for unmaximizing to its previous size and position. This will also prevent the
problem of the window borders being drawn outside of the screen.
- What version of the product are you using? On what operating system?
2.6.1 build 1499 on Windows 7
- Please provide any additional information below.
Suggestion for .ganttproject file: include a boolean "maximized" value
in the geometry section:
<geometry x="412" y="159" width="1075" height="643" maximized="false"/>
<geometry x="412" y="159" width="1075" height="643" maximized="true"/>
If ganttproject is closed while maximized, it will record the window size and
position from its last unmaximized state and set "maximized" to "true". If it
is closed while not maximized, it records its current window size and position
and sets "maximized" to "false". Upon restart, if "maximized" is "true",
ganttproject is started in a maximized window and loads the previous size and
position into an internal state for when the window is unmaximized. Otherwise,
it opens in a window as specified by x, y, width, and height.
Original issue reported on code.google.com by Mark.Z.H...@gmail.com on 31 May 2013 at 3:34
Original issue reported on code.google.com by
Mark.Z.H...@gmail.com
on 31 May 2013 at 3:34