Modify ↓

Opened 22 hours ago

#24948 new defect

fix(gui): use Window.getWindows() and fix lifecycle in fullscreen mode

Reported by: DanProgs <Abenteurer.2901@…> Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

  • Replace the outdated Frame.getWindows() API with Window.getWindows() to correctly track and restore all active dialogs and windows.
  • Add a defensive null-check for the main application frame to prevent NullPointerExceptions.
  • Fix the window restoration order: ensure the main frame is fully initialized and made visible before secondary windows are restored, preserving the correct Z-order.

see: https://josm.openstreetmap.de/sonar/issues?issueStatuses=OPEN%2CCONFIRMED&open=AYtXfQtCQ0Q6PFw6n2dD

Attachments (1)

24948.patch​ (3.3 KB ) - added by DanProgs <Abenteurer.2901@…> 22 hours ago.

Download all attachments as: .zip

Change History (1)

by DanProgs <Abenteurer.2901@…>, 22 hours ago

Attachment: 24948.patch​ added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to DanProgs <Abenteurer.2901@…>.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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