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

  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 4 years ago.

Download all attachments as: .zip

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

applied in r2003

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.