Modify

Opened 15 years ago

Closed 15 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".

  1. Start JOSM
  2. Make window small but usable
  3. move window outside of center of screen
  4. create new datalayer
  5. add a point
  6. 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)

parent-of-extended-dialog.patch (821 bytes ) - added by plaicy 15 years ago.

Download all attachments as: .zip

Change History (3)

by plaicy, 15 years ago

comment:1 by bastiK, 15 years ago

Summary: Set this.parent of ExtendedDialog[PATCH] Set this.parent of ExtendedDialog

comment:2 by Gubaer, 15 years ago

Resolution: fixed
Status: newclosed

applied in r2003

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.