Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 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 4 years ago.
save-geometry.diff (3.4 KB) - added by anonymous 4 years ago.

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by anonymous

comment:1 follow-up: Changed 4 years ago by 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.

Changed 4 years ago by anonymous

comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous

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 Changed 4 years ago by anonymous

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 Changed 4 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Applied in r1286.

comment:5 Changed 4 years ago by xeen

Probably introduces #2083

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.