Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Notebook layout configuration (patch to test)

<< < (4/5) > >>

LETARTARE:
@jens
1-I deleted all the configuration files(after backup).
2-I opened 'C::B' svn9778 with patch 'save_tab_layout_viii.patch'
3-I selected   'Settings->Environment->Open default workspace'
4-I loaded 'CodeBlocks.cbp' svn9778
5-I opened two windows files
6-I closed 'C::B'
7-I re-opened'C::B' -> one window!

I attach the 'config.7z' obtained.

Jenna:
I never used the default-workspace to save real projects.
I can confirm, that it does not work as you do it.
Can you try it with  "Settings->Environment->Open blank workspace" and open the project directly or use a "real" workspace ?

At the moment I do not have the power to work on the default workspace stuff.

I'm even not sure if I will be able to build a new nightly this weekend, too much work the last weeks, too much private stuff that takes precedence, sorry.

LETARTARE:
Thank you very much Jens.

1-I've renamed the workspace by another name and open more windows, then closed and reopened, it looks ok, except that you select a file in the handler for either correct (multiple windows)

2-By the way you explain it works fine.

Instead, make your work and when you have time ...

This does not prevent me from using 'C::B'.

MortenMacFly:
Just for the record: While I really like the idea it also somehow screws the start_here page. The effect is, when I start C::B I see only one editor tab with the title "start_here" (not the start here page!) and when I close this tab all the other tabs left opened last time "come back". At that point the layout is OK.

MortenMacFly:
...to visualise what I mean I've attached an image:
This is what happens if I start C::B:
- the start here page is shown
- I open a project that had two open editor windows when closing
- environment settings are "open last open files" (on project load)
- I cannot click the "x" symbol
- the layout looks screwed (notice the left border of the start here page)
- if I close the window (via CTRL+F4) I see the actual 2 editor tabs just fine.

I guess that the start here page is being drawn after the editor layout has been restored on top of these - or the other way round the editor position does not account for the start here page and just draws above it... the latter is more likely.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version