New tab control

Discussion about CodeLite development process and patches
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

New tab control

Post by jfouche »

Hello Eran

i would like to know why did you decide to move your perfect Notebook control to the OS one ?
We can't move tabs anymore :(
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

There were few reasons for this change, the main one:
the notebook control code was broken under wx29 code. And most of the functionality can be achieved using the native notebook control - this will be the 4th time I will be re-writing the notebook control and I decided that it will be easier to simply use the native control.

The drag-n-drop will be re-implemented for the native control as well.

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by evstevemd »

Do you mean wxFlatNotebook?
I though it was perfect. Anyway snce I'm downloading the latest SVN codelite, I will see!
Hope those beautiful tabs in Fancy mode arent gone :cry:

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

evstevemd wrote:Do you mean wxFlatNotebook?
codelite was not using wxFlatNotebook, it was using another notebook control which was not released separately
evstevemd wrote:Hope those beautiful tabs in Fancy mode arent gone
They are no longer in the repository - you can get them if you check out the previous version of codelite (e.g. revision 3833)

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

jfouche wrote:Hello Eran

i would like to know why did you decide to move your perfect Notebook control to the OS one ?
We can't move tabs anymore :(
Tabs re-ordering is enabled again using the native notebook control

Eran
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: New tab control

Post by frank_frl »

Hi Eran,

I understand the reasons you changed the notebook and I find it quiet OK for MSW, but for OSX this solution is ugly and unhandy.
You can't close an editor tab anymore without using the context menu. :(
If you have opened a lot of files in the editor, the tabs are not reachable anymore.
The output pane buttons are without text and therefor very small in the left corner.

BTW tabs re-ordering is not working for OSX. (CL 3926)

Don't know how it is for LINUX

Why did you actually moved to wxWidgets 2.9, I remember that you once preferred to use only official releases of wxWidgets?

Frank
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

frank_frl wrote:Why did you actually moved to wxWidgets 2.9, I remember that you once preferred to use only official releases of wxWidgets?
I did not move to wx29 yet, but those problem will exist in 3.0 (which will be in few months.

- I know about the OSX problem (small toolbar at the bottom - this will be fixed)
- I am planning of adding another drop-down button for opened files
frank_frl wrote:You can't close an editor tab anymore without using the context menu.
Middle click works for me (OSX 10.5.6)
frank_frl wrote:if you have opened a lot of files in the editor, the tabs are not reachable anymore.
Ctrl-TAB will switch to them. (although you wont be able to see the tab itself)
frank_frl wrote:The output pane buttons are without text and therefor very small in the left corner.
I am replacing it for OSX only (I already noticed this)

Eran
Make sure you have read the HOW TO POST thread
zuzu
CodeLite Enthusiast
Posts: 11
Joined: Tue Jan 12, 2010 9:27 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by zuzu »

frank_frl wrote:BTW tabs re-ordering is not working for OSX. (CL 3926)
Don't know how it is for LINUX
Ubuntu 9.10 / CL (svn: 3940, complied few minutes ago)
Tabs re-ordering not working
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by eranif »

zuzu wrote:Ubuntu 9.10 / CL (svn: 3940, complied few minutes ago)
Tabs re-ordering not working
The tabs re-ordering for the editors is not enabled (and probably wont be enabled in the near future)

The tabs re-ordering for the side panes (Workspace or Debugger) is working with a little annoyance: the dragged tab is not made active after dropping it (this is the reason why the main editor's tab re-ordering is not active)

Enabling GTK native tab-reodrdering has a nice visual affects HOWEVER it can not be used with wxWidgets internal implementation of wxNotebook

Eran
Make sure you have read the HOW TO POST thread
zuzu
CodeLite Enthusiast
Posts: 11
Joined: Tue Jan 12, 2010 9:27 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: New tab control

Post by zuzu »

Why you not using wxAuiNotebook?
It's can to open multiple tabs in one window.
That it could have been great in CodeLite
See screenshot (my old app, js editor).

Thanks.
You do not have the required permissions to view the files attached to this post.
Post Reply