#1984 closed enhancement (fixed)
[PATCH] add gui.geometry pref to lazily avoid fullscreen window on startup
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
The default behaviour of starting with the main gui maximised does not suit me and
I am too lazy to type in extra args so the attached patch adds a preference
called gui.geometry that specifies the geometry to use on startup.
The pref has to be explicitly set in the Einstein pane or by manually editing
the preferences file.
Specifying --geometry=... on the command line will override the pref value.
Attachments (2)
Change History (7)
by , 16 years ago
Attachment: | josm-geometry-pref.patch added |
---|
follow-up: 2 comment:1 by , 16 years ago
by , 16 years ago
Attachment: | save-geometry.diff added |
---|
comment:2 by , 16 years ago
Replying to anonymous:
Please add an option in preferences to enables that. I think best would be to remember the last used program size as is common for other tools.
See also #178.
Please see new patch that will save the window geometry on exit. It will only do
this if gui.geometry is defined which can be done by either using the --geometry
option or by editing using the Einstein pane.
This new patch supersedes the previous patch.
comment:3 by , 16 years ago
Just discovered that when using MToolkit, the size of the window is
saved correctly but position changes are ignored. Not sure if this is
a compiz thing, or what. When not using MToolkit, the window's position
is detected and saved correctly.
Please add an option in preferences to enables that. I think best would be to remember the last used program size as is common for other tools.
See also #178.