﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19126	WindowGeometry with multi-monitor setup or tiling window manager	simon04	simon04	"I frequently use
- a multi-monitor setup
- the tiling window manager [https://i3wm.org/docs/ i3]

When I start JOSM, it may be 
- on the left monitor
- on the right monitor
- on one monitor vertically split with another application

Since JOSM remembers the position of many dialogs (using `WindowGeometry` class), depending on on which monitor I used JOSM the last time,
- the dialog may appear on the right monitor, when JOSM itself is open on the left monitor
- the dialog may appear on the left half of the monitor, when JOSM is open on the right half

This has been bothering me for months (if not years).

For a fix,
- we may allow users to completely disable restoring window geometries
- we may allow users to disable restoring window positions (but recalling window sizes)
- we may calculate window positions relative to the JOSM window (seldom one moves a modal dialog outside the main window)

{{{
Revision:16369
Is-Local-Build:true
Build-Date:2020-04-20 19:33:40

Identification: JOSM/1.5 (16369 SVN de) Linux Arch Linux
Memory Usage: 507 MB / 3972 MB (263 MB allocated, but free)
Java version: 14+36, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: :0.0 3840x2160
Maximum Screen Size: 3840x2160
}}}"	defect	closed	normal	21.04	Core		fixed	Window Geometry multi-monitor dialog position tiling-wm	
