User forums > Using Code::Blocks

[SOLVED]Multiple instances, ver 16.0.1. Is this feature operative?

<< < (3/6) > >>

BlueHazzard:
i can't reproduce this on win7 with latest trunk

can you give me a step by step guide?


--- Quote from: tilmannreh on October 27, 2016, 08:33:28 am --- and completely messes everything up.

--- End quote ---
what does this mean? Can you give a detailed description, or a screenshot (as noted above i can't reproduce this)


--- Quote from: tilmannreh on October 27, 2016, 08:33:28 am ---(BTW, it was a *very* bad idea to put the files of all open projects in a single tab row.)

--- End quote ---
Your opinion, i hate it if there are multiple tab rows ;) ... I use the Open file list view, it is  the most clear view than any other form of control...

tilmannreh:
Hello, first of all thanks for your help!

It's interesting that you can't reproduce this - it's perfectly reproducible for me (and I also just confirmed that with the W8.1 machine).

Step by step guide:
- Take care both of these checkboxes are unchecked. Close CB.
- Open the first project by double-clicking the .cbp project file from whatever shell (I use Total Commander).
   The project and all its open files show up in CB.
   (BTW, it doesn't make a difference if you open the first instance directly or indirectly.)
- Open the second project by double-clicking its .cbp project file.
   The second project and all its open files come up in the same instance of CB.
   It should however open a second instance of CB.

With "messing it up" I mean: when the second project is opened in the same instance, all of its open files are also opened. However, in the tab row there is no way to distinguish between the files of either project. Say, I am working on two independent projects simultaneously (since they communicate with each other, for example), and both of them have files of the same name (say, main.h, main.c, pindef.h etc. pp.). Now all these equally named, but completely different files of two projects (that reside in completely different paths as well) appear side by side in the tabs as if they'd belong to one single project. That truly is a mess.

I don't speak for multiple tab rows. I wanted to emphasize "all files of all projects". If more than one project is opened in a single CB instance, it should always show only the files belonging to the currently selected project. Never all files of all projects, several of them equally named.

Tilmann

BlueHazzard:
Now we are getting somewhere. Funnily i have unchecked this option all the time, and funnily i never noticed  that it opens the project in the same instance... Here you can say i never saw the wood because of the trees :D

i will try to look into it...


--- Quote from: tilmannreh on October 27, 2016, 10:03:32 pm ---I don't speak for multiple tab rows. I wanted to emphasize "all files of all projects". If more than one project is opened in a single CB instance, it should always show only the files belonging to the currently selected project. Never all files of all projects, several of them equally named.

--- End quote ---
This would be a interesting feature... Can you post it on SF so it wont get lost?

jens:

--- Quote from: BlueHazzard on October 27, 2016, 11:31:03 pm ---Now we are getting somewhere. Funnily i have unchecked this option all the time, and funnily i never noticed  that it opens the project in the same instance... Here you can say i never saw the wood because of the trees :D

i will try to look into it...


--- End quote ---
I just tested it here on Fedora with the actual trunk and it works as expected (two instances of C::B).


--- Quote from: BlueHazzard on October 27, 2016, 11:31:03 pm ---
--- Quote from: tilmannreh on October 27, 2016, 10:03:32 pm ---I don't speak for multiple tab rows. I wanted to emphasize "all files of all projects". If more than one project is opened in a single CB instance, it should always show only the files belonging to the currently selected project. Never all files of all projects, several of them equally named.

--- End quote ---
This would be a interesting feature... Can you post it on SF so it wont get lost?

--- End quote ---

I like to have files from different projects in one workspace open side by side.
Such an option should be configurable and off as default, so the current behaviour does not change.

BlueHazzard:
The only culprit line i can think of is this:
src\app.cpp:629

--- Code: ---if (m_DDE && !m_Batch && Manager::Get()->GetConfigManager(_T("app"))->ReadBool(_T("/environment/use_ipc"), true))

--- End code ---
but why should this fail in msw?

has someone an idea how to debug this?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version