@elextr To your tests mentioned in https://github.com/geany/geany/issues/3070#issuecomment-1001285590
I do point 1.
Then I do point 2. "maximise geany, close" After closing Geany, that is the content of session.conf that is located in /tmp/something: [geany] fullscreen=false treeview_position=165 msgwindow_position=398 geometry=-1;-1;-1;-1;1;
Then I do point 3. "change sidebar width, close" After closing Geany, that is the content of session.conf that is located in /tmp/something: [geany] fullscreen=false treeview_position=165 msgwindow_position=398 geometry=-1;-1;-1;-1;1; "and reopen, sidebar retains new width": NOT IN MY CASE!! The width is exactly like point 2.
Then I do point 4. "but sidebar is the same width in pixels not percent": That is the case. So, the size is like point 2.
Then I do point 5. "close" After closing Geany, that is the content of session.conf that is located in /tmp/something: [geany] fullscreen=false treeview_position=165 msgwindow_position=644 geometry=0;0;1366;846;0; "sidebar retains the same width": That is the case. So, the size is like point 2.