Author Topic: Close button for tabs  (Read 36658 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Close button for tabs
« on: August 01, 2005, 07:28:32 am »
I commited the patch for a button to close the tabs. But after considering it, I don't know if this should be good.

Should I move it into the toolbar (next to "open" and "save" icons) ?

Please share your opinions guys.

[attachment deleted by admin]

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Close button for tabs
« Reply #1 on: August 01, 2005, 07:33:42 am »
It's nice to see you're already working on it but I consider it's better to put it in the toolbar in the meanwhile.

darklordsatan

  • Guest
Re: Close button for tabs
« Reply #2 on: August 01, 2005, 07:48:47 am »
That is really nice rick. I like it where it is, good job.
BTW, *yuk* are you using win98 or the "classic windows" theme in XP?  :D

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Close button for tabs
« Reply #3 on: August 01, 2005, 08:00:59 am »
I'm still looking at it and I cannot really agree, it looks so lonely.

Maybe, just maybe, if it was a vertical toolbar with more things like: Close, Close all, Close all except this, Find, Find next, Find previous, ...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Close button for tabs
« Reply #4 on: August 01, 2005, 08:01:20 am »
the "classic windows" theme

So my question is... doesn't that empty wasted space look ugly?

darklordsatan

  • Guest
Re: Close button for tabs
« Reply #5 on: August 01, 2005, 08:34:24 am »
I dont see it ugly, but its a matter of personal taste, maybe if you could  put it on top of the slidebar (well, probably thats impossible?), but actually its looks perfect, reminds me of firefox.

zieQ

  • Guest
Re: Close button for tabs
« Reply #6 on: August 01, 2005, 08:37:57 am »
Personally, I find it ugly too! As Ceniza said, either you could add a bunch of other buttons, or maybe add this button in right of the dock bar (docked button?)

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Close button for tabs
« Reply #7 on: August 01, 2005, 10:40:52 am »
I think you should either
  • put some more buttons there as mentioned above.
  • put it to the right of the tabs, thus making the tab bar shorter than the width of the editor, as Firefox does. (Is this possible?)
Only as a last resort should you put it in the toolbar, IMHO. I don't think it really belongs there.

Anyway, I'm off to update my checkout and compile this new goodie 8).

[opens Code::Blocks, compiles, realizes this isn't in VERSION_1_0]
Bah :cry:
Any chance this will make it into version 1? This really is a must-have feature, I think. Imagine new users not being able to close a tab efficiently, and that turning them away. Not good.

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: Close button for tabs
« Reply #8 on: August 01, 2005, 12:24:39 pm »
Why not use middle-click like in firefox to close a tab? Nice and quick.
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Close button for tabs
« Reply #9 on: August 01, 2005, 12:28:39 pm »
Why not use middle-click like in firefox to close a tab? Nice and quick.
i second that suggestion: middle-click is the very best !

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Close button for tabs
« Reply #10 on: August 01, 2005, 12:43:40 pm »
Anyway, I'm off to update my checkout and compile this new goodie 8).

[opens Code::Blocks, compiles, realizes this isn't in VERSION_1_0]
Bah :cry:
Any chance this will make it into version 1? This really is a must-have feature, I think. Imagine new users not being able to close a tab efficiently, and that turning them away. Not good.
Actually it's only in VERSION_1_0. Keep in mind that anonymous CVS lags a few hours, so you might get the update if you try a little later ;)

Btw, I added a configuration option for this, as I don't really like it, which is disabled by default. To enable it, go to environment settings.

Yiannis.
Be patient!
This bug will be fixed soon...

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Close button for tabs
« Reply #11 on: August 01, 2005, 01:12:55 pm »
Why not use middle-click like in firefox to close a tab? Nice and quick.
Even better! However, I see no reason this can't be combined with any of the others, so why not do this in addition to an actual button? 8)

zieQ

  • Guest
Re: Close button for tabs
« Reply #12 on: August 01, 2005, 01:20:11 pm »
I think some folks have already said that middle-click or right-click to tabs are not easy to implement with wxWidgets. Bad news...

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Close button for tabs
« Reply #13 on: August 01, 2005, 01:47:21 pm »
Actually it's only in VERSION_1_0. Keep in mind that anonymous CVS lags a few hours, so you might get the update if you try a little later ;)

Btw, I added a configuration option for this, as I don't really like it, which is disabled by default. To enable it, go to environment settings.
After another CVS update (aside: sourceforge cvs is rather slow at the moment. I hate it when it does that) and 12 minutes of compiling I have sdk\resources\images\closebutton.png but no actual button or configuration option for one. Did that file get checked in earlier than the stuff to actually use it by any chance?

I think some folks have already said that middle-click or right-click to tabs are not easy to implement with wxWidgets. Bad news...

Too bad. Well, let's look at the bright side: at least it's not impossible, right? :wink:

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Close button for tabs
« Reply #14 on: August 01, 2005, 02:29:07 pm »
Actually it's only in VERSION_1_0. Keep in mind that anonymous CVS lags a few hours, so you might get the update if you try a little later ;)

Btw, I added a configuration option for this, as I don't really like it, which is disabled by default. To enable it, go to environment settings.
After another CVS update (aside: sourceforge cvs is rather slow at the moment. I hate it when it does that) and 12 minutes of compiling I have sdk\resources\images\closebutton.png but no actual button or configuration option for one. Did that file get checked in earlier than the stuff to actually use it by any chance?

i've just updated VERSION_1_0 from cvs and the closebutton is there and working,
but no checkbox in environment settings - it looks like that in anonymous cvs
actually is the version which was commited by rickg originally.