14 | | I guess we need something like that in all dialogs. |
| 14 | ~~I guess we need something like that in all dialogs.~~ |
| 15 | Forget the above, it's a special case with the ToggleDialogs |
| 16 | Hmm, okay, I just tried with this: |
| 17 | - edit preference.xml and use the user value |
| 18 | <tag key='org.openstreetmap.josm.gui.history.HistoryBrowserDialogManager.geometry' value='x=722,y=-625,width=850,height=500'/> |
| 19 | - start JOSM and display history for an object |
| 20 | - the dialog appears at the top |
| 21 | - press ESC, stop JOSM |
| 22 | now preferences show |
| 23 | <tag key='org.openstreetmap.josm.gui.history.HistoryBrowserDialogManager.geometry' value='x=722,y=0,width=850,height=500'/> |
| 24 | So, the code in JOSM already handles the invalid position, at least for a system with only one monitor. |