Opened 5 years ago
Closed 4 years 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 by , 5 years ago
Milestone: | 20.05 → 20.05old |
---|
comment:2 by , 5 years ago
Milestone: | 20.05old → 20.05 |
---|
comment:3 by , 5 years ago
This would also mitigate https://josm.openstreetmap.de/ticket/16530#comment:9
comment:4 by , 4 years ago
Milestone: | 20.05 → 20.06 |
---|
comment:5 by , 4 years ago
Milestone: | 20.06 → Longterm |
---|
comment:6 by , 4 years ago
Milestone: | Longterm → 21.04 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
https://github.com/openstreetmap/josm/compare/master...simon04:19126-WindowGeometry – Add display preference "Remember dialog geometries"
Milestone renamed