Method Editor window behavior

When I resize the Method Editor window, all the different panes jump to a default position.

I resize them to my liking…

Then when I close the method editor, it’s back to it’s default size and when I resize (to maximum screen), all the panes are in there default position.

Would it be possible that the method editor remembers it’s size and positions of the different panes?

Paul

i can’t reproduce this.
Every size and position is remembered fine

also with a resize the panes don’t go to the default positions but are trying to keep the same distances in % (so if pane x had 60% and y 40% then it tries to keep that that way)

Johan,

it’s two separate things: If you Open, resize, Close and open the Method Editor, whiel not shutting down Developer in between, yes, the settings are remembered. I’m talking more about remembering the settings when shutting down Developer.

Currently, once you (re)start Developer, the method editor goes to it’s default size and pane settings (at least on mu compu… :( )

The second thing you say, about the %-wise resizing: To me it doesn’t work neatly. If I make the method editor full screen and put the vertical panesplitter on about 1/3 of the screen, then bring back the entire method editor to it’s default size, the vertical splitter is not on 1/3 of the method editor window anymore…

Paul

works fine on my system

i have restarted developer now about 4 times. Everytime different method editor layout and sizes. After every restart it restored it exactly the way i left it..

Johan,

I’ve now got fresh installations of Servoy 2.03 and 2.1Beta3 on my machine (Win XP).

I start Developer, open the Servoy Editor, resize the different panes, close the Editor with the X-button in the top right corner, close Servoy Developer, Restart Developer, open the Servoy Editor again and all panes are back to it’s default settings… So, it seems there is still a problem.

Also, when you enlarge the entire Editor window (make it full screen if it wasn’t full screen before), the different panes do not stay in the same position relatively. If the vertical split was at 20% from the left, after resizing, it might be 40 or more percent.

Is there no-one else experiencing this?

Paul

I have the same problem.

I open Developer, open crm solution, maximize the window, open the method editor with shorcut control-shift-m, resize the editor, close it, save solution, close developer.

Then when I restart the defaults are back. It never happened otherwise.

Version R2 2.0.3-build 276
j2sdk1.4.2_03
W2K

stephan:
I have the same problem.

I open Developer, open crm solution, maximize the window, open the method editor with shorcut control-shift-m, resize the editor, close it, save solution, close developer.

Then when I restart the defaults are back. It never happened otherwise.

Version R2 2.0.3-build 276
j2sdk1.4.2_03
W2K

Me too (OSX.3.4, Servoy 2.0.3)

i can’t reproduce this It always works in my setup (winxp with jdk1.4.2_04) and servoy 2.0.3

first can you guys test it if you first close the solution and then quite the app?

second can you look at the servoy.properties file and do these values change (and change right if you sort of look at the sizes)

debug.hor.split=208
debug.ver.split=237
rect_debugwindow_bounds=363,299,1097,778

no problems here!
works like a charm (always!)

Windows XP 2.1beta2 java 1.4.2_03

I tried to close the solution before closing Developer but it did nothing.
Looking at the variables I’ve seen that the first 2 change but not the last one.

Before:
debug.hor.split=703
debug.ver.split=196
rect_debugwindow_bounds=340,266,800,600

After maximizing the size of the debug window to 1280*1024:
debug.hor.split=684
debug.ver.split=207
rect_debugwindow_bounds=340,266,800,600

I guess it’s because rect_debugwindow_bounds is not updated that the debug window never opens full screen but at 800*600.

ahh you maximize the debugger window. That wasn’t mentioned.
I never do that so didn’t see that.

I fixed it now that the state (maximized or minimized) is remembered.

Good news, tnx Johan!

Paul

qrgen.zip (526 KB)