Modify

Opened 9 months ago

Closed 2 weeks ago

Last modified 2 weeks ago

#23851 closed defect (fixed)

Right hand panel view has reduced width after each hide-show sequence.

Reported by: SekeRob Owned by: team
Priority: minor Milestone: 25.04
Component: Core Version: tested
Keywords: panel Cc: SekeRob

Description

Read about the tab function not returning/re-showing the right hand panel view after a hide, which I did experience too with the previous/previous stable version (restarting JOSM would have the problem go away for a while) not needing the view menu to get the "dialogs panel" back.

Additionally, always have had this strange reduction of the panel bar width before that and never realized that if one repeats the tab hits the reappearance shows the panel with further reduced width and repeating this many times makes the panel gradually sliding off the screen. Most pronounced it's very well observable by undocking one of the panel and position that up against the dialogs panel bar. The gap grows and grows on each re-show tabbing.

Attachments (0)

Change History (3)

comment:1 by GerdP, 2 weeks ago

Seems this is caused by the changes for #18769 esp. the changes in r16132
I am reviewing this code block:

    public void rememberToggleDialogWidth() {
        if (dialogsPanel.isVisible()) {
            TOGGLE_DIALOGS_WIDTH.put(splitPane.getWidth() - splitPane.getDividerLocation() - splitPane.getDividerSize() - 1);
        }
    }

comment:2 by GerdP, 2 weeks ago

Resolution: fixed
Status: newclosed

In 19384/josm:

fix #23851

  • move code to handle the width of the divider line

This seems to be the better solution as it also seems to work well after restart.

comment:3 by GerdP, 2 weeks ago

Milestone: 25.04

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.