Modify

Opened 2 years ago

Closed 14 months ago

#19126 closed defect (fixed)

WindowGeometry with multi-monitor setup or tiling window manager

Reported by: simon04 Owned by: simon04
Priority: normal Milestone: 21.04
Component: Core Version:
Keywords: Window Geometry multi-monitor dialog position tiling-wm Cc:

Description

I frequently use

  • a multi-monitor setup
  • the tiling window manager 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

Attachments (0)

Change History (9)

comment:1 Changed 2 years ago by Klumbumbus

Milestone: 20.0520.05old

Milestone renamed

comment:2 Changed 2 years ago by Klumbumbus

Milestone: 20.05old20.05

comment:3 Changed 2 years ago by johsin18

comment:4 Changed 2 years ago by simon04

Milestone: 20.0520.06

comment:5 Changed 2 years ago by simon04

Milestone: 20.06Longterm

comment:6 Changed 14 months ago by simon04

Milestone: Longterm21.04
Owner: changed from team to simon04
Status: newassigned

https://github.com/openstreetmap/josm/compare/master...simon04:19126-WindowGeometry – Add display preference "Remember dialog geometries"

comment:7 Changed 14 months ago by simon04

In 17704/josm:

see #19126 - Extract WindowGeometry.PREF_KEY_GUI_GEOMETRY

comment:8 Changed 14 months ago by simon04

In 17705/josm:

see #19126 - Simplify WindowGeometry code

comment:9 Changed 14 months ago by simon04

Resolution: fixed
Status: assignedclosed

In 17706/josm:

fix #19126 - Add display preference "Remember dialog geometries"

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.