Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: penn3 on June 22, 2007, 11:28:30 pm

Title: FIle Tab drag moving -- doesn't happen
Post by: penn3 on June 22, 2007, 11:28:30 pm

Are the file tabs supposed to move (so as to rearrange the tab order) when they're dragged? Mine don't move. Is there a setting I need to turn on somewhere that I've missed?

-Penn
Title: Re: FIle Tab drag moving -- doesn't happen
Post by: raph on June 22, 2007, 11:51:27 pm
Works perfect, here.
What version of codeblocks and os are you using?
Title: Re: FIle Tab drag moving -- doesn't happen
Post by: penn3 on June 23, 2007, 12:01:11 am
I'm using

C::B svn 4105
wx 2.8.4-GTK
on Fedora Core 7 under Compiz window manager
Title: Re: FIle Tab drag moving -- doesn't happen
Post by: raph on June 23, 2007, 10:18:38 am
I just tested it with
C::B svn 4107
wxGTK 2.8.4
OpenSuse 10.2 without Compiz

and it also works.
You have to drag and drop the tab on another tab, so they will swap.

Regards
raph
Title: Re: FIle Tab drag moving -- doesn't happen
Post by: penn3 on June 25, 2007, 03:34:04 pm
Thanks Raph. The problem was that I hadn't tried tried dropping one tab on top of another -- I was instead trying to drop a tab in the free space at the end of the tab row. I'll assume this unituitive behavior is a product of wx's AUI, and not a C::B oversight.

-Penn
Title: Re: FIle Tab drag moving -- doesn't happen
Post by: raph on June 25, 2007, 09:29:43 pm
I'll assume this unituitive behavior is a product of wx's AUI, and not a C::B oversight.
You are right, that behavior is the fault of the wxFlatNotebook  (http://sourceforge.net/projects/wxflatnotebook/)component.
This  (http://forums.codeblocks.org/index.php/topic,6273.0.html)may also be interesting.

Regards
raph