Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1984 closed enhancement (fixed)

[PATCH] add gui.geometry pref to lazily avoid fullscreen window on startup

Reported by: markb@… 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)

josm-geometry-pref.patch (1.7 KB ) - added by anonymous 16 years ago.
save-geometry.diff (3.4 KB ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (7)

by anonymous, 16 years ago

Attachment: josm-geometry-pref.patch added

comment:1 by anonymous, 16 years ago

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.

by anonymous, 16 years ago

Attachment: save-geometry.diff added

in reply to:  1 comment:2 by anonymous, 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 anonymous, 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.

comment:4 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Applied in r1286.

comment:5 by xeen, 16 years ago

Probably introduces #2083

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.