[REGRESSION] the status of the default panels/docks is not properly saved and restored after the switch to ADS
Requirements
-
I searched through the issues if the issue already exists
Steps to reproduce
- position the default docks (project explorer, properties explorer, worksheet preview) and toggle some of them on/off
- close the application
- start the application again
Expected
The panels for the project and properties explorers and for the worksheet preview have the same status and geometry as when they were set up by the user last time.
Observed
The status of the default panels is not properly restored.
In the past we had two different things that were handled differently:
- status and geometry of the panels (project explorer, etc.) - saved in the application config file together with other properties like the geometry of the main window, status of the toolbars, etc. Restored on program start. With this, every user can have their own preferred placement for the different panels.
- status and geometry of the sub-windows having content (Worksheet, Spreadsheet, etc.) - saved in the project file and restored on project load. With this, the position of every sub-window is the same for all users opening the project file (for example the spreadsheet is positioned in the middle of the main window, etc.)
With the new docking system everything is a "dock" now and we don't differentiate at the moment between the "technical docks" like project explorer and "content docks" like worksheet, etc.
LabPlot Version
Debug build 2.10.0-2384-gbe5840c1b
May 4 2024, 18:48:24
System: openSUSE Leap 15.5
Locale: English,United States (Decimal point '.', Group separator ','
Number settings: Decimal point '.', Group separator ',', Exponential 'e', Zero digit '0', Percent '%', Positive/Negative sign '+'/'-' (Updated on restart)
Architecture: x86_64-little_endian-lp64
Kernel: linux 5.14.21-150500.55.52-default
C++ Compiler: GNU 12.3.0
C++ Compiler Flags: -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code -Wunused -Wdeprecated-declarations -fno-omit-frame-pointer -fstack-protector -fexceptions -std=c++17 -O2 -Wcast-align -Wswitch-enum -fvisibility=default -pedantic -Wzero-as-null-pointer-constant
Edited by Alexander Semke