Modify

Opened 6 years ago

Last modified 20 months ago

#7561 new enhancement

Height adjustable panels (allow saving/locking of panel height persistently)

Reported by: dimazcor@… Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: Cc: smarties, pegeka, smaprs, Klumbumbus

Description

Hi!
Every run in JOSM have to adjust the height of panel plugins, which is inconvenient.
It would be great if it was possible to save user preferences.
http://s.qip.ru/2049IHX.jpg

Attachments (0)

Change History (8)

comment:1 Changed 5 years ago by Don-vip

Ticket #8555 has been marked as a duplicate of this ticket.

comment:2 Changed 5 years ago by Don-vip

Cc: smarties added

comment:3 Changed 4 years ago by aceman

In ticket #8555 stoecker had this comment:
The problem is that these windows are permanently added and removed which makes saving height impossible. When you find a way how to keep the height even under such conditions, improvements are welcome.

comment:4 Changed 4 years ago by aceman

Summary: Height adjustable panelsHeight adjustable panels (allow saving/locking of panel height persistently)

In my use case, I only need some panels to have a fixed size (e.g. history) and I want all the others to be maxed out (fill in the height). I think that could work. Most panels would be automatically resized as today and only some would be locked.
The algorithm would look if some panels have fixed height, then lay them out and then add those that are not locked and adjust them automatically (as today). Yes, there is still the case of what happens if by accident all panels are fixed.
I propose in that case to resize all panels automatically to fill the vertical height (determined the surplus height (or missing height) and distribute to all panels proportionally). But still keep the wished height of all panels and obey them the next time any resizable panel becomes enabled.

As not all panels would be saved automatically, it would need new UI to allow the user to select which panels to lock. But there already is a toolbar of icons per panel where such a new action could be added.

comment:5 Changed 2 years ago by Don-vip

Ticket #12174 has been marked as a duplicate of this ticket.

comment:6 Changed 20 months ago by simon04

Ticket #13829 has been marked as a duplicate of this ticket.

comment:7 Changed 20 months ago by simon04

Cc: pegeka smaprs Klumbumbus added

comment:8 in reply to:  3 Changed 20 months ago by Klumbumbus

Replying to aceman:

In ticket #8555 stoecker had this comment:
The problem is that these windows are permanently added and removed which makes saving height impossible. When you find a way how to keep the height even under such conditions, improvements are welcome.

I could imagine the implementation this way: When JOSM closes the height of all the panels is saved and at next launch the heights are restored. In case that a panel is missing after the restart (due to a plugin uninstallation) the available space could be allocated to the other panels.

edit: In case the screen resolution changed before the restart then the heights must be changed accordingly.

Last edited 20 months ago by Klumbumbus (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to dimazcor@gmail.com
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.