Page 1 of 2

New tab control

Posted: Thu Mar 18, 2010 8:07 pm
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 :(

Re: New tab control

Posted: Thu Mar 18, 2010 9:41 pm
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

Re: New tab control

Posted: Fri Mar 19, 2010 5:23 am
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:

Re: New tab control

Posted: Fri Mar 19, 2010 9:05 am
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

Re: New tab control

Posted: Fri Mar 19, 2010 10:58 am
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

Re: New tab control

Posted: Fri Mar 19, 2010 2:17 pm
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

Re: New tab control

Posted: Fri Mar 19, 2010 2:30 pm
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

Re: New tab control

Posted: Sun Mar 21, 2010 12:27 am
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

Re: New tab control

Posted: Sun Mar 21, 2010 9:13 am
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

Re: New tab control

Posted: Sun Mar 21, 2010 3:30 pm
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.