Modify ↓
Opened 4 years ago
Closed 4 years ago
#3312 closed defect (fixed)
[PATCH] Set this.parent of ExtendedDialog
| Reported by: | plaicy | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | Keywords: | ||
| Cc: |
Description
ExtendedDialog has many contructors and not all constructors set "parent".
- Start JOSM
- Make window small but usable
- move window outside of center of screen
- create new datalayer
- add a point
- select an option in the preset menu which open a dialog (example highway=trunk)
This way setLocationRelativeTo in ExtendedDialog is called with "null" argument. This way the dialog is centered according to screen instead relative to JOSM-Windows. In enviroment having several screens it is even worse: The is might be display not on the current screen.
Patch attached.
Attachments (1)
Change History (3)
Changed 4 years ago by plaicy
comment:1 Changed 4 years ago by bastiK
- Summary changed from Set this.parent of ExtendedDialog to [PATCH] Set this.parent of ExtendedDialog
comment:2 Changed 4 years ago by Gubaer
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



applied in r2003