Modify ↓
Opened 16 years ago
Closed 16 years ago
#3312 closed defect (fixed)
[PATCH] Set this.parent of ExtendedDialog
| Reported by: | plaicy | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| 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)
by , 16 years ago
| Attachment: | parent-of-extended-dialog.patch added |
|---|
comment:1 by , 16 years ago
| Summary: | Set this.parent of ExtendedDialog → [PATCH] Set this.parent of ExtendedDialog |
|---|
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



applied in r2003